Lines Matching refs:current_mode
603 display.current_mode = display.desktop_mode; in SDL_AddBasicVideoDisplay()
706 rect->w = display->current_mode.w; in SDL_GetDisplayBounds()
707 rect->h = display->current_mode.h; in SDL_GetDisplayBounds()
870 *mode = display->current_mode; in SDL_GetCurrentDisplayMode()
999 SDL_DisplayMode current_mode; in SDL_SetDisplayModeForDisplay() local
1006 display_mode.format = display->current_mode.format; in SDL_SetDisplayModeForDisplay()
1009 display_mode.w = display->current_mode.w; in SDL_SetDisplayModeForDisplay()
1012 display_mode.h = display->current_mode.h; in SDL_SetDisplayModeForDisplay()
1015 display_mode.refresh_rate = display->current_mode.refresh_rate; in SDL_SetDisplayModeForDisplay()
1028 current_mode = display->current_mode; in SDL_SetDisplayModeForDisplay()
1029 if (SDL_memcmp(&display_mode, ¤t_mode, sizeof(display_mode)) == 0) { in SDL_SetDisplayModeForDisplay()
1040 display->current_mode = display_mode; in SDL_SetDisplayModeForDisplay()
1188 return display->current_mode.format; in SDL_GetWindowPixelFormat()