Home
last modified time | relevance | path

Searched refs:displayIndex (Results 1 – 8 of 8) sorted by relevance

/AliOS-Things-master/components/SDL2/src/video/
A DSDL_video.c143 SDL_assert(displayIndex >= 0 && displayIndex < _this->num_displays); \
144 if (displayIndex < 0 || displayIndex >= _this->num_displays) { \
650 int displayIndex; in SDL_GetIndexOfDisplay() local
652 for (displayIndex = 0; displayIndex < _this->num_displays; ++displayIndex) { in SDL_GetIndexOfDisplay()
1055 int displayIndex; in SDL_GetWindowDisplayIndex() local
1071 return displayIndex; in SDL_GetWindowDisplayIndex()
1079 return displayIndex; in SDL_GetWindowDisplayIndex()
1116 if (displayIndex >= 0) { in SDL_GetDisplayForWindow()
1534 int displayIndex; in SDL_CreateWindow() local
1553 int displayIndex; in SDL_CreateWindow() local
[all …]
A DSDL_sysvideo.h447 extern SDL_VideoDisplay *SDL_GetDisplay(int displayIndex);
449 extern void *SDL_GetDisplayDriverData( int displayIndex );
/AliOS-Things-master/components/SDL2/include/
A DSDL_video.h325 extern DECLSPEC const char * SDLCALL SDL_GetDisplayName(int displayIndex);
335 extern DECLSPEC int SDLCALL SDL_GetDisplayBounds(int displayIndex, SDL_Rect * rect);
354 extern DECLSPEC int SDLCALL SDL_GetDisplayUsableBounds(int displayIndex, SDL_Rect * rect);
366 extern DECLSPEC int SDLCALL SDL_GetDisplayDPI(int displayIndex, float * ddpi, float * hdpi, float *…
375 extern DECLSPEC SDL_DisplayOrientation SDLCALL SDL_GetDisplayOrientation(int displayIndex);
382 extern DECLSPEC int SDLCALL SDL_GetNumDisplayModes(int displayIndex);
395 extern DECLSPEC int SDLCALL SDL_GetDisplayMode(int displayIndex, int modeIndex,
401 extern DECLSPEC int SDLCALL SDL_GetDesktopDisplayMode(int displayIndex, SDL_DisplayMode * mode);
406 extern DECLSPEC int SDLCALL SDL_GetCurrentDisplayMode(int displayIndex, SDL_DisplayMode * mode);
430 extern DECLSPEC SDL_DisplayMode * SDLCALL SDL_GetClosestDisplayMode(int displayIndex, const SDL_Dis…
A DSDL_system.h58 extern DECLSPEC int SDLCALL SDL_Direct3D9GetAdapterIndex( int displayIndex );
74 extern DECLSPEC SDL_bool SDLCALL SDL_DXGIGetOutputInfo( int displayIndex, int *adapterIndex, int *o…
/AliOS-Things-master/components/SDL2/src/video/windows/
A DSDL_windowsvideo.c302 SDL_Direct3D9GetAdapterIndex(int displayIndex) in SDL_Direct3D9GetAdapterIndex() argument
310 SDL_DisplayData *pData = (SDL_DisplayData *)SDL_GetDisplayDriverData(displayIndex); in SDL_Direct3D9GetAdapterIndex()
377 SDL_DXGIGetOutputInfo(int displayIndex, int *adapterIndex, int *outputIndex) in SDL_DXGIGetOutputInfo() argument
385 SDL_DisplayData *pData = (SDL_DisplayData *)SDL_GetDisplayDriverData(displayIndex); in SDL_DXGIGetOutputInfo()
/AliOS-Things-master/components/SDL2/test/
A Dtestautomation_video.c387 int displayIndex; in video_getNumDisplayModesNegative() local
394 displayIndex = SDLTest_RandomSint32BoundaryValue(0, displayNum, SDL_FALSE); in video_getNumDisplayModesNegative()
395 result = SDL_GetNumDisplayModes(displayIndex); in video_getNumDisplayModesNegative()
396 SDLTest_AssertPass("Call to SDL_GetNumDisplayModes(%d=out-of-bounds/boundary)", displayIndex); in video_getNumDisplayModesNegative()
400 displayIndex = SDLTest_RandomIntegerInRange(-2000, -1000); in video_getNumDisplayModesNegative()
401 result = SDL_GetNumDisplayModes(displayIndex); in video_getNumDisplayModesNegative()
402 …DLTest_AssertPass("Call to SDL_GetNumDisplayModes(%d=out-of-bounds/large negative)", displayIndex); in video_getNumDisplayModesNegative()
405 displayIndex = SDLTest_RandomIntegerInRange(1000, 2000); in video_getNumDisplayModesNegative()
406 result = SDL_GetNumDisplayModes(displayIndex); in video_getNumDisplayModesNegative()
407 …DLTest_AssertPass("Call to SDL_GetNumDisplayModes(%d=out-of-bounds/large positive)", displayIndex); in video_getNumDisplayModesNegative()
/AliOS-Things-master/components/SDL2/src/video/uikit/
A DSDL_uikitmodes.m441 int displayIndex = (int) (display - _this->displays);
447 if (SDL_GetDisplayBounds(displayIndex, rect) < 0) {
/AliOS-Things-master/components/SDL2/src/render/direct3d/
A DSDL_render_d3d.c1688 int displayIndex; in D3D_CreateRenderer() local
1765 displayIndex = SDL_GetWindowDisplayIndex(window); in D3D_CreateRenderer()
1766 data->adapter = SDL_Direct3D9GetAdapterIndex(displayIndex); in D3D_CreateRenderer()

Completed in 21 milliseconds