Edit

kc3-lang/angle/src/gpu_info_util/SystemInfo_vulkan.h

Branch :

  • Show log

    Commit

  • Author : Michael Spang
    Date : 2020-01-24 17:27:01
    Hash : b630bf9e
    Message : Fuchsia: Implement SystemInfo on Fuchsia The Android vulkan code is reusable, so move that to a new file SystemInfo_vulkan.cpp and call it in the Android & Fuchsia implementations. This is necessary to skip tests based on GPU. Bug: angleproject:4349, angleproject:4352 Change-Id: I8330cfcdbd41f4d51391bd5ed7f0820c55e02801 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2023909 Commit-Queue: Michael Spang <spang@chromium.org> Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org> Reviewed-by: Jamie Madill <jmadill@chromium.org>

  • src/gpu_info_util/SystemInfo_vulkan.h
  • //
    // Copyright 2020 The ANGLE Project Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style license that can be
    // found in the LICENSE file.
    //
    
    // SystemInfo_vulkan.h: Reusable Vulkan implementation for SystemInfo.h
    
    #ifndef GPU_INFO_UTIL_SYSTEM_INFO_VULKAN_H_
    #define GPU_INFO_UTIL_SYSTEM_INFO_VULKAN_H_
    
    namespace angle
    {
    
    struct SystemInfo;
    
    // Reusable vulkan implementation of GetSystemInfo(). See SystemInfo.h.
    bool GetSystemInfoVulkan(SystemInfo *info);
    
    }  // namespace angle
    
    #endif  // GPU_INFO_UTIL_SYSTEM_INFO_VULKAN_H_