Home
last modified time | relevance | path

Searched refs:adapterIndex (Results 1 – 6 of 6) sorted by relevance

/third_party/glfw/src/
Dwin32_monitor.c152 DWORD adapterIndex, displayIndex, primaryIndex = 0; in _glfwPlatformGetMonitors() local
162 for (adapterIndex = 0; ; adapterIndex++) in _glfwPlatformGetMonitors()
167 if (!EnumDisplayDevicesW(NULL, adapterIndex, &adapter, 0)) in _glfwPlatformGetMonitors()
183 for (adapterIndex = 0; ; adapterIndex++) in _glfwPlatformGetMonitors()
188 if (!EnumDisplayDevicesW(NULL, adapterIndex, &adapter, 0)) in _glfwPlatformGetMonitors()
/third_party/skia/tools/gpu/d3d/
DD3DTestUtils.cpp19 for (UINT adapterIndex = 0; ; ++adapterIndex) { in get_hardware_adapter() local
21 if (DXGI_ERROR_NOT_FOUND == pFactory->EnumAdapters1(adapterIndex, &pAdapter)) { in get_hardware_adapter()
/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/
DGPU.cpp136 size_t adapterIndex = 0; in requestAdapter() local
141 adapterIndex = i; in requestAdapter()
146 auto adapter = GPUAdapter::Create<GPUAdapter>(env, adapters[adapterIndex], flags_); in requestAdapter()
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DBackendD3D12.cpp179 for (uint32_t adapterIndex = 0;; ++adapterIndex) { in DiscoverAdapters() local
181 if (mFactory->EnumAdapters1(adapterIndex, &dxgiAdapter) == DXGI_ERROR_NOT_FOUND) { in DiscoverAdapters()
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DAdapterDiscoveryTests.cpp111 for (uint32_t adapterIndex = 0;; ++adapterIndex) { in TEST() local
113 if (dxgiFactory->EnumAdapters1(adapterIndex, &dxgiAdapter) == DXGI_ERROR_NOT_FOUND) { in TEST()
/third_party/skia/third_party/externals/d3d12allocator/src/
DD3D12Sample.cpp378 …int adapterIndex = 0; // we'll start looking for directx 12 compatible graphics devices starting … in InitD3D() local
383 while (dxgiFactory->EnumAdapters1(adapterIndex, &adapter) != DXGI_ERROR_NOT_FOUND) in InitD3D()
398 adapterIndex++; in InitD3D()