#include "gpu_info_util/SystemInfo_internal.h"
#include <cstring>
#include <fstream>
#include "common/angleutils.h"
#include "common/debug.h"
namespace angle
{
namespace
{
bool ReadWholeFile(const char *filename, std::string *content)
{ … }
bool GetAMDBrahmaDriverVersion(std::string *version)
{ … }
bool GetAMDCatalystDriverVersion(std::string *version)
{ … }
}
#if !defined(GPU_INFO_USE_X11)
bool GetNvidiaDriverVersionWithXNVCtrl(std::string *version)
{
return false;
}
#endif
#if !defined(GPU_INFO_USE_LIBPCI)
bool GetPCIDevicesWithLibPCI(std::vector<GPUDeviceInfo> *devices)
{
return false;
}
#endif
bool GetSystemInfo(SystemInfo *info)
{ … }
}