/third_party/flutter/skia/third_party/externals/sdl/src/video/windows/ |
D | SDL_windowsvideo.c | 286 int adapterIndex = D3DADAPTER_DEFAULT; in SDL_Direct3D9GetAdapterIndex() local 290 adapterIndex = -1; /* make sure we return something invalid */ in SDL_Direct3D9GetAdapterIndex() 300 adapterIndex = i; in SDL_Direct3D9GetAdapterIndex() 311 return adapterIndex; in SDL_Direct3D9GetAdapterIndex() 352 SDL_DXGIGetOutputInfo(int displayIndex, int *adapterIndex, int *outputIndex) in SDL_DXGIGetOutputInfo() argument 355 if (adapterIndex) *adapterIndex = -1; in SDL_DXGIGetOutputInfo() 368 if (!adapterIndex) { in SDL_DXGIGetOutputInfo() 378 *adapterIndex = -1; in SDL_DXGIGetOutputInfo() 393 …while (*adapterIndex == -1 && SUCCEEDED(IDXGIFactory_EnumAdapters(pDXGIFactory, nAdapter, &pDXGIAd… in SDL_DXGIGetOutputInfo() 395 …while (*adapterIndex == -1 && SUCCEEDED(IDXGIAdapter_EnumOutputs(pDXGIAdapter, nOutput, &pDXGIOutp… in SDL_DXGIGetOutputInfo() [all …]
|
/third_party/flutter/glfw/src/ |
D | win32_monitor.c | 152 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/ |
D | D3DTestUtils.cpp | 19 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/flutter/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
D | BackendD3D12.cpp | 100 for (uint32_t adapterIndex = 0;; ++adapterIndex) { in DiscoverDefaultAdapters() local 102 if (mFactory->EnumAdapters1(adapterIndex, &dxgiAdapter) == DXGI_ERROR_NOT_FOUND) { in DiscoverDefaultAdapters()
|
/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/ |
D | GPU.cpp | 136 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/ |
D | BackendD3D12.cpp | 179 for (uint32_t adapterIndex = 0;; ++adapterIndex) { in DiscoverAdapters() local 181 if (mFactory->EnumAdapters1(adapterIndex, &dxgiAdapter) == DXGI_ERROR_NOT_FOUND) { in DiscoverAdapters()
|
/third_party/flutter/skia/third_party/externals/sdl/src/video/winrt/ |
D | SDL_winrtvideo.cpp | 322 WINRT_AddDisplaysForAdapter (_THIS, IDXGIFactory2 * dxgiFactory2, int adapterIndex) in WINRT_AddDisplaysForAdapter() argument 327 hr = dxgiFactory2->EnumAdapters1(adapterIndex, &dxgiAdapter1); in WINRT_AddDisplaysForAdapter() 352 if (adapterIndex == 0 && outputIndex == 0) { in WINRT_AddDisplaysForAdapter() 418 for (int adapterIndex = 0; ; ++adapterIndex) { in WINRT_InitModes() local 419 if (WINRT_AddDisplaysForAdapter(_this, dxgiFactory2, adapterIndex) < 0) { in WINRT_InitModes()
|
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
D | AdapterDiscoveryTests.cpp | 111 for (uint32_t adapterIndex = 0;; ++adapterIndex) { in TEST() local 113 if (dxgiFactory->EnumAdapters1(adapterIndex, &dxgiAdapter) == DXGI_ERROR_NOT_FOUND) { in TEST()
|
/third_party/flutter/skia/third_party/externals/sdl/include/ |
D | SDL_system.h | 74 extern DECLSPEC SDL_bool SDLCALL SDL_DXGIGetOutputInfo( int displayIndex, int *adapterIndex, int *o…
|
/third_party/flutter/skia/third_party/externals/sdl/src/test/ |
D | SDL_test_common.c | 714 int adapterIndex = 0; in SDLTest_CommonInit() local 772 adapterIndex = SDL_Direct3D9GetAdapterIndex( i ); in SDLTest_CommonInit() 773 fprintf( stderr, "D3D9 Adapter Index: %d", adapterIndex ); in SDLTest_CommonInit() 776 SDL_DXGIGetOutputInfo(i, &adapterIndex, &outputIndex); in SDLTest_CommonInit() 777 fprintf( stderr, "DXGI Adapter Index: %d Output Index: %d", adapterIndex, outputIndex ); in SDLTest_CommonInit()
|
/third_party/skia/third_party/externals/d3d12allocator/src/ |
D | D3D12Sample.cpp | 378 …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()
|