• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //
2 // Copyright 2020 The ANGLE Project Authors. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file.
5 //
6 
7 // SystemInfo_vulkan.h: Reusable Vulkan implementation for SystemInfo.h
8 
9 #ifndef GPU_INFO_UTIL_SYSTEM_INFO_VULKAN_H_
10 #define GPU_INFO_UTIL_SYSTEM_INFO_VULKAN_H_
11 
12 #include "common/vulkan/vulkan_icd.h"
13 
14 namespace angle
15 {
16 struct SystemInfo;
17 
18 // Reusable vulkan implementation of GetSystemInfo(). See SystemInfo.h.
19 bool GetSystemInfoVulkan(SystemInfo *info);
20 bool GetSystemInfoVulkanWithICD(SystemInfo *info, vk::ICD preferredICD);
21 }  // namespace angle
22 
23 #endif  // GPU_INFO_UTIL_SYSTEM_INFO_VULKAN_H_
24