1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
gpu / ipc / common / vulkan_info.mojom [blame]
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// gpu/config/vulkan_info.h
module gpu.mojom;
import "gpu/ipc/common/vulkan_types.mojom";
struct VulkanPhysicalDeviceInfo {
VkPhysicalDeviceProperties properties;
array<VkExtensionProperties> extensions;
VkPhysicalDeviceFeatures features;
bool feature_sampler_ycbcr_conversion;
bool feature_protected_memory;
array<VkQueueFamilyProperties> queue_families;
};
struct VulkanInfo {
uint32 api_version;
uint32 used_api_version;
array<VkExtensionProperties> instance_extensions;
array<string> enabled_instance_extensions;
array<VkLayerProperties> instance_layers;
array<VulkanPhysicalDeviceInfo> physical_devices;
};