Home
last modified time | relevance | path

Searched refs:desktop_mode (Results 1 – 2 of 2) sorted by relevance

/external/qemu/distrib/sdl-1.2.12/src/video/photon/
DSDL_ph_video.c256 if (desktop_mode.width>w) in ph_SetupWindow()
258 pos.x = (desktop_mode.width - w)/2; in ph_SetupWindow()
260 if (desktop_mode.height>h) in ph_SetupWindow()
262 pos.y = (desktop_mode.height - h)/2; in ph_SetupWindow()
275 if ((x<desktop_mode.width) && (y<desktop_mode.height)) in ph_SetupWindow()
396 if (PgGetVideoModeInfo(hwcaps.current_video_mode, &desktop_mode) < 0) in ph_VideoInit()
404 this->info.current_w = desktop_mode.width; in ph_VideoInit()
405 this->info.current_h = desktop_mode.height; in ph_VideoInit()
408 vformat->BitsPerPixel = desktop_mode.bits_per_pixel; in ph_VideoInit()
409 vformat->BytesPerPixel = desktop_mode.bytes_per_scanline/desktop_mode.width; in ph_VideoInit()
[all …]
DSDL_ph_video.h108 PgVideoModeInfo_t desktop_mode; /* Current desktop video mode information */ member
145 #define desktop_mode (this->hidden->desktop_mode) macro