// // Copyright 2022 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. // // system_info_util.h: // Implementation of common test utilities for operating with SystemInfo. // #include "system_info_util.h" #include "common/debug.h" #include "common/string_utils.h" #include "gpu_info_util/SystemInfo.h" #include "util/util_gl.h" usingnamespaceangle; namespace { size_t findGPU(const SystemInfo &systemInfo, bool lowPower) { … } } // namespace size_t FindLowPowerGPU(const SystemInfo &systemInfo) { … } size_t FindHighPowerGPU(const SystemInfo &systemInfo) { … } size_t FindActiveOpenGLGPU(const SystemInfo &systemInfo) { … }