Home | History | Annotate | Download | only in photon

Lines Matching refs:desktop_mode

256                 if (desktop_mode.width>w)
258 pos.x = (desktop_mode.width - w)/2;
260 if (desktop_mode.height>h)
262 pos.y = (desktop_mode.height - h)/2;
275 if ((x<desktop_mode.width) && (y<desktop_mode.height))
396 if (PgGetVideoModeInfo(hwcaps.current_video_mode, &desktop_mode) < 0)
404 this->info.current_w = desktop_mode.width;
405 this->info.current_h = desktop_mode.height;
408 vformat->BitsPerPixel = desktop_mode.bits_per_pixel;
409 vformat->BytesPerPixel = desktop_mode.bytes_per_scanline/desktop_mode.width;
410 desktopbpp = desktop_mode.bits_per_pixel;