Path: blob/main_old/src/gpu_info_util/SystemInfo_ios.cpp
1693 views
//1// Copyright 2020 The ANGLE Project Authors. All rights reserved.2// Use of this source code is governed by a BSD-style license that can be3// found in the LICENSE file.4//56// SystemInfo_ios.cpp: implementation of the iOS-specific parts of SystemInfo.h78#include "common/platform.h"910#if defined(ANGLE_PLATFORM_IOS) || (defined(ANGLE_PLATFORM_MACCATALYST) && defined(ANGLE_CPU_ARM64))1112# include "gpu_info_util/SystemInfo_internal.h"1314namespace angle15{1617bool GetSystemInfo_ios(SystemInfo *info)18{19{20// TODO(anglebug.com/4275): Get the actual system version and GPU info.21info->machineModelVersion = "0.0";22GPUDeviceInfo deviceInfo;23deviceInfo.vendorId = kVendorID_Apple;24info->gpus.push_back(deviceInfo);25}2627return true;28}2930} // namespace angle3132#endif // defined(ANGLE_PLATFORM_IOS) || (defined(ANGLE_PLATFORM_MACCATALYST) &&33// defined(ANGLE_CPU_ARM64))343536