Home
last modified time | relevance | path

Searched refs:gpulist (Results 1 – 9 of 9) sorted by relevance

/hardware/google/gfxstream/host/gl/gl-host-common/opengl/
Dgpuinfo_unittest.cpp395 GpuInfoList gpulist; in TEST() local
396 parse_gpu_info_list_windows(contents, &gpulist); in TEST()
398 EXPECT_EQ(2, (int)gpulist.infos.size()); in TEST()
404 GpuInfoList gpulist; in TEST() local
405 parse_gpu_info_list_windows(contents, &gpulist); in TEST()
407 EXPECT_TRUE(gpulist.infos.size() == 1); in TEST()
409 GpuInfo& nvidia_info = gpulist.infos[0]; in TEST()
433 GpuInfoList gpulist; in TEST() local
434 parse_gpu_info_list_windows(contents, &gpulist); in TEST()
436 EXPECT_TRUE(gpulist.infos.size() == 2); in TEST()
[all …]
Demugl_config_unittest.cpp468 GpuInfoList* gpulist = const_cast<GpuInfoList*>(&globalGpuInfoList()); in TEST() local
469 gpulist->clear(); in TEST()
470 EXPECT_TRUE(gpulist->infos.size() == 0); in TEST()
471 gpulist->addGpu(); in TEST()
472 gpulist->currGpu().make = "TEST GPU0 MAKE"; in TEST()
473 gpulist->currGpu().model = "TEST GPU0 MODEL"; in TEST()
474 gpulist->currGpu().device_id = "TEST GPU0 DEVICEID"; in TEST()
475 gpulist->currGpu().revision_id = "TEST GPU0 REVISIONID"; in TEST()
476 gpulist->currGpu().version = "TEST GPU0 VERSION"; in TEST()
477 gpulist->currGpu().renderer = "TEST GPU0 RENDERER"; in TEST()
[all …]
DNativeGpuInfo_linux.cpp43 GpuInfoList* gpulist) { in parse_gpu_info_list_linux() argument
65 gpulist->addGpu(); in parse_gpu_info_list_linux()
66 gpulist->currGpu().os = "L"; in parse_gpu_info_list_linux()
68 gpulist->currGpu().make = parse_last_hexbrackets(key); in parse_gpu_info_list_linux()
70 gpulist->currGpu().device_id = parse_last_hexbrackets(key); in parse_gpu_info_list_linux()
73 gpulist->currGpu().renderer = key; in parse_gpu_info_list_linux()
87 void getGpuInfoListNative(GpuInfoList* gpulist) { in getGpuInfoListNative() argument
88 (void)gpulist; in getGpuInfoListNative()
DNativeGpuInfo_windows.cpp44 GpuInfoList* gpulist) { in parse_windows_gpu_ids() argument
58 gpulist->currGpu().make = std::move(toLower(result)); in parse_windows_gpu_ids()
69 gpulist->currGpu().device_id = std::move(toLower(result)); in parse_windows_gpu_ids()
92 GpuInfoList* gpulist) { in parse_windows_gpu_dlls() argument
102 gpulist->currGpu().addDll(dll_str.substr(vp, dll_end - vp)); in parse_windows_gpu_dlls()
109 gpulist->currGpu().addDll(dll_str.substr(vp, dll_end - vp)); in parse_windows_gpu_dlls()
113 add_predefined_gpu_dlls(&gpulist->currGpu()); in parse_windows_gpu_dlls()
212 GpuInfoList* gpulist) { in parse_gpu_info_list_windows() argument
235 gpulist->addGpu(); in parse_gpu_info_list_windows()
236 gpulist->currGpu().os = "W"; in parse_gpu_info_list_windows()
[all …]
DNativeGpuInfo_qnx.cpp17 void getGpuInfoListNative(GpuInfoList* gpulist) { in getGpuInfoListNative() argument
18 (void)gpulist; in getGpuInfoListNative()
Dgpuinfo.cpp102 static bool gpuinfo_query_list(GpuInfoList* gpulist, in gpuinfo_query_list() argument
105 for (auto gpuinfo : gpulist->infos) { in gpuinfo_query_list()
284 bool gpuinfo_query_blacklist(GpuInfoList* gpulist, in gpuinfo_query_blacklist() argument
287 return gpuinfo_query_list(gpulist, list, size); in gpuinfo_query_blacklist()
303 static bool gpuinfo_query_whitelist(GpuInfoList *gpulist, in gpuinfo_query_whitelist() argument
306 return gpuinfo_query_list(gpulist, list, size); in gpuinfo_query_whitelist()
DNativeGpuInfo_darwin.cpp96 auto gpulist = GetGPUInfoMac(); in getGpuInfoListNative() local
101 for (const auto& elt : gpulist) { in getGpuInfoListNative()
Demugl_config.cpp72 const GpuInfoList& gpulist = globalGpuInfoList(); in emuglConfig_get_host_gpu_props() local
74 res.num_gpus = gpulist.infos.size(); in emuglConfig_get_host_gpu_props()
77 const std::vector<GpuInfo>& infos = gpulist.infos; in emuglConfig_get_host_gpu_props()
/hardware/google/gfxstream/host/gl/gl-host-common/include/host-common/opengl/
Dgpuinfo.h123 bool gpuinfo_query_blacklist(GpuInfoList* gpulist,
128 void parse_gpu_info_list_linux(const std::string& contents, GpuInfoList* gpulist);
129 void parse_gpu_info_list_windows(const std::string& contents, GpuInfoList* gpulist);