• 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_ios.cpp: implementation of the iOS-specific parts of SystemInfo.h
8 
9 #include "gpu_info_util/SystemInfo_internal.h"
10 
11 namespace angle
12 {
13 
GetSystemInfo_ios(SystemInfo * info)14 bool GetSystemInfo_ios(SystemInfo *info)
15 {
16     {
17         // TODO(anglebug.com/4275): Get the actual system version and GPU info.
18         info->machineModelVersion = "0.0";
19         GPUDeviceInfo deviceInfo;
20         deviceInfo.vendorId = kVendorID_Apple;
21         info->gpus.push_back(deviceInfo);
22     }
23 
24     return true;
25 }
26 
27 }  // namespace angle
28