Home
last modified time | relevance | path

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

/AliOS-Things-master/components/SDL2/src/video/windows/
A DSDL_windowsvideo.c311 int adapterIndex = D3DADAPTER_DEFAULT; in SDL_Direct3D9GetAdapterIndex() local
315 adapterIndex = -1; /* make sure we return something invalid */ in SDL_Direct3D9GetAdapterIndex()
325 adapterIndex = i; in SDL_Direct3D9GetAdapterIndex()
336 return adapterIndex; in SDL_Direct3D9GetAdapterIndex()
377 SDL_DXGIGetOutputInfo(int displayIndex, int *adapterIndex, int *outputIndex) in SDL_DXGIGetOutputInfo() argument
380 if (adapterIndex) *adapterIndex = -1; in SDL_DXGIGetOutputInfo()
393 if (!adapterIndex) { in SDL_DXGIGetOutputInfo()
403 *adapterIndex = -1; in SDL_DXGIGetOutputInfo()
418 …while (*adapterIndex == -1 && SUCCEEDED(IDXGIFactory_EnumAdapters(pDXGIFactory, nAdapter, &pDXGIAd… in SDL_DXGIGetOutputInfo()
425 *adapterIndex = nAdapter; in SDL_DXGIGetOutputInfo()
[all …]
/AliOS-Things-master/components/SDL2/src/video/winrt/
A DSDL_winrtvideo.cpp321 WINRT_AddDisplaysForAdapter (_THIS, IDXGIFactory2 * dxgiFactory2, int adapterIndex) in WINRT_AddDisplaysForAdapter() argument
326 hr = dxgiFactory2->EnumAdapters1(adapterIndex, &dxgiAdapter1); in WINRT_AddDisplaysForAdapter()
351 if (adapterIndex == 0 && outputIndex == 0) { in WINRT_AddDisplaysForAdapter()
417 for (int adapterIndex = 0; ; ++adapterIndex) { in WINRT_InitModes() local
418 if (WINRT_AddDisplaysForAdapter(_this, dxgiFactory2, adapterIndex) < 0) { in WINRT_InitModes()
/AliOS-Things-master/components/SDL2/include/
A DSDL_system.h74 extern DECLSPEC SDL_bool SDLCALL SDL_DXGIGetOutputInfo( int displayIndex, int *adapterIndex, int *o…
/AliOS-Things-master/components/SDL2/src/test/
A DSDL_test_common.c907 int adapterIndex = 0; in SDLTest_CommonInit() local
970 adapterIndex = SDL_Direct3D9GetAdapterIndex( i ); in SDLTest_CommonInit()
971 SDL_Log("D3D9 Adapter Index: %d", adapterIndex); in SDLTest_CommonInit()
974 SDL_DXGIGetOutputInfo(i, &adapterIndex, &outputIndex); in SDLTest_CommonInit()
975 SDL_Log("DXGI Adapter Index: %d Output Index: %d", adapterIndex, outputIndex); in SDLTest_CommonInit()

Completed in 7 milliseconds