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_apple.cpp: implementation of the Apple-specific parts of SystemInfo.h 8 9#import "gpu_info_util/SystemInfo.h" 10 11#import "common/platform.h" 12#import "gpu_info_util/SystemInfo_internal.h" 13 14namespace angle 15{ 16 17bool GetSystemInfo(SystemInfo *info) 18{ 19#if defined(ANGLE_PLATFORM_MACOS) || defined(ANGLE_PLATFORM_MACCATALYST) 20 return GetSystemInfo_mac(info); 21#else 22 return GetSystemInfo_ios(info); 23#endif 24} 25 26} // namespace angle 27