/external/qemu/distrib/sdl-1.2.12/src/video/x11/ |
D | SDL_x11modes.c | 147 if ( use_xme && SDL_modelist ) { in set_best_resolution() 154 for ( i=0; SDL_modelist[i]; ++i ) { in set_best_resolution() 155 if ( (SDL_modelist[i]->w >= width) && in set_best_resolution() 156 (SDL_modelist[i]->h >= height) ) { in set_best_resolution() 161 if ( SDL_modelist[i] ) { /* found one, lets try it */ in set_best_resolution() 167 if ( (SDL_modelist[i]->w != w) || (SDL_modelist[i]->h != h) ) { in set_best_resolution() 171 SDL_modelist[i]->w, SDL_modelist[i]->h); in set_best_resolution() 176 SDL_modelist[i]->w, in set_best_resolution() 177 SDL_modelist[i]->h, in set_best_resolution() 186 if ( use_xrandr && SDL_modelist ) { in set_best_resolution() [all …]
|
/external/qemu/distrib/sdl-1.2.12/src/video/cybergfx/ |
D | SDL_cgxmodes.c | 106 SDL_modelist=NULL; in CGX_GetVideoModes() 126 if( SDL_modelist[i]->w == (info.Nominal.MaxX+1) && in CGX_GetVideoModes() 127 SDL_modelist[i]->h == (info.Nominal.MaxY+1) ) in CGX_GetVideoModes() 135 SDL_modelist = (SDL_Rect **)SDL_realloc(SDL_modelist,(nmodes+1)*sizeof(SDL_Rect *)); in CGX_GetVideoModes() 136 SDL_modelist[nmodes]=NULL; in CGX_GetVideoModes() 138 if ( SDL_modelist ) in CGX_GetVideoModes() 140 SDL_modelist[nmodes-1] = (SDL_Rect *)SDL_malloc(sizeof(SDL_Rect)); in CGX_GetVideoModes() 142 if ( SDL_modelist[nmodes-1] == NULL ) in CGX_GetVideoModes() 145 SDL_modelist[nmodes-1]->x = 0; in CGX_GetVideoModes() 146 SDL_modelist[nmodes-1]->y = 0; in CGX_GetVideoModes() [all …]
|
/external/qemu/distrib/sdl-1.2.12/src/video/svga/ |
D | SDL_svgavideo.c | 180 while ( (SDL_modelist[i][j]->w > modeinfo->width) || in SVGA_AddMode() 181 (SDL_modelist[i][j]->h > modeinfo->height) ) { in SVGA_AddMode() 185 if ( (SDL_modelist[i][j]->w == modeinfo->width) && in SVGA_AddMode() 186 (SDL_modelist[i][j]->h == modeinfo->height) ) { in SVGA_AddMode() 190 saved_rect[b] = *SDL_modelist[i][j]; in SVGA_AddMode() 192 SDL_modelist[i][j]->w = modeinfo->width; in SVGA_AddMode() 193 SDL_modelist[i][j]->h = modeinfo->height; in SVGA_AddMode() 197 for ( ++j; SDL_modelist[i][j]->w; ++j ) { in SVGA_AddMode() 198 saved_rect[!b] = *SDL_modelist[i][j]; in SVGA_AddMode() 200 *SDL_modelist[i][j] = saved_rect[b]; in SVGA_AddMode() [all …]
|
D | SDL_svgavideo.h | 37 SDL_Rect **SDL_modelist[NUM_MODELISTS]; member 50 #define SDL_modelist (this->hidden->SDL_modelist) macro
|
/external/qemu/distrib/sdl-1.2.12/src/video/aalib/ |
D | SDL_aavideo.c | 137 SDL_modelist[i] = SDL_malloc(sizeof(SDL_Rect)); in AA_VideoInit() 138 SDL_modelist[i]->x = SDL_modelist[i]->y = 0; in AA_VideoInit() 141 SDL_modelist[0]->w = 1024; SDL_modelist[0]->h = 768; in AA_VideoInit() 142 SDL_modelist[1]->w = 800; SDL_modelist[1]->h = 600; in AA_VideoInit() 143 SDL_modelist[2]->w = 640; SDL_modelist[2]->h = 480; in AA_VideoInit() 144 SDL_modelist[3]->w = 320; SDL_modelist[3]->h = 400; in AA_VideoInit() 145 SDL_modelist[4]->w = 320; SDL_modelist[4]->h = 240; in AA_VideoInit() 146 SDL_modelist[5]->w = 320; SDL_modelist[5]->h = 200; in AA_VideoInit() 147 SDL_modelist[6] = NULL; in AA_VideoInit() 193 return SDL_modelist; in AA_ListModes() [all …]
|
D | SDL_aavideo.h | 40 SDL_Rect *SDL_modelist[SDL_NUMMODES+1]; member 52 #define SDL_modelist (this->hidden->SDL_modelist) macro
|
/external/qemu/distrib/sdl-1.2.12/src/video/nanox/ |
D | SDL_nxmodes.c | 34 return SDL_modelist ; in NX_ListModes() 47 if (SDL_modelist) { in NX_FreeVideoModes() 48 for (i = 0; SDL_modelist [i]; ++ i) { in NX_FreeVideoModes() 49 SDL_free (SDL_modelist [i]) ; in NX_FreeVideoModes() 51 SDL_free (SDL_modelist) ; in NX_FreeVideoModes() 52 SDL_modelist = NULL; in NX_FreeVideoModes()
|
D | SDL_nxvideo.c | 217 SDL_modelist = (SDL_Rect **) SDL_malloc (sizeof (SDL_Rect *) * 2) ; in NX_VideoInit() 218 if (SDL_modelist) { in NX_VideoInit() 219 SDL_modelist [0] = (SDL_Rect *) SDL_malloc (sizeof(SDL_Rect)) ; in NX_VideoInit() 220 if (SDL_modelist [0]) { in NX_VideoInit() 221 SDL_modelist [0] -> x = 0 ; in NX_VideoInit() 222 SDL_modelist [0] -> y = 0 ; in NX_VideoInit() 223 SDL_modelist [0] -> w = si.cols ; in NX_VideoInit() 224 SDL_modelist [0] -> h = si.rows ; in NX_VideoInit() 226 SDL_modelist [1] = NULL ; in NX_VideoInit()
|
/external/qemu/distrib/sdl-1.2.12/src/video/xbios/ |
D | SDL_xbios.c | 260 memset (SDL_modelist, 0, sizeof(SDL_modelist)); in XBIOS_VideoInit() 433 SDL_modelist[0][j8] = SDL_malloc(sizeof(SDL_Rect)); in XBIOS_VideoInit() 434 SDL_modelist[0][j8]->x = SDL_modelist[0][j8]->y = 0; in XBIOS_VideoInit() 435 SDL_modelist[0][j8]->w = current_mode->width; in XBIOS_VideoInit() 436 SDL_modelist[0][j8]->h = current_mode->height; in XBIOS_VideoInit() 441 SDL_modelist[1][j16] = SDL_malloc(sizeof(SDL_Rect)); in XBIOS_VideoInit() 442 SDL_modelist[1][j16]->x = SDL_modelist[1][j16]->y = 0; in XBIOS_VideoInit() 443 SDL_modelist[1][j16]->w = current_mode->width; in XBIOS_VideoInit() 444 SDL_modelist[1][j16]->h = current_mode->height; in XBIOS_VideoInit() 450 SDL_modelist[0][j8] = NULL; in XBIOS_VideoInit() [all …]
|
D | SDL_xbios.h | 71 SDL_Rect *SDL_modelist[NUM_MODELISTS][SDL_NUMMODES+1]; member 106 #define SDL_modelist (this->hidden->SDL_modelist) macro
|
/external/qemu/distrib/sdl-1.2.12/src/video/macrom/ |
D | SDL_romvideo.c | 240 SDL_modelist = (SDL_Rect **)SDL_malloc((1+1)*sizeof(SDL_Rect *)); in ROM_VideoInit() 241 if ( SDL_modelist ) { in ROM_VideoInit() 242 SDL_modelist[0] = (SDL_Rect *)SDL_malloc(sizeof(SDL_Rect)); in ROM_VideoInit() 243 if ( SDL_modelist[0] ) { in ROM_VideoInit() 244 SDL_modelist[0]->x = 0; in ROM_VideoInit() 245 SDL_modelist[0]->y = 0; in ROM_VideoInit() 246 SDL_modelist[0]->w = (**SDL_Display).gdRect.right; in ROM_VideoInit() 247 SDL_modelist[0]->h = (**SDL_Display).gdRect.bottom; in ROM_VideoInit() 249 SDL_modelist[1] = NULL; in ROM_VideoInit() 263 return(SDL_modelist); in ROM_ListModes() [all …]
|
/external/qemu/distrib/sdl-1.2.12/src/video/riscos/ |
D | SDL_riscosvideo.h | 55 SDL_Rect **SDL_modelist[NUM_MODELISTS]; member 60 #define SDL_modelist (this->hidden->SDL_modelist) macro
|
/external/qemu/distrib/sdl-1.2.12/src/video/bwindow/ |
D | SDL_lowvideo.h | 43 SDL_Rect **SDL_modelist[NUM_MODELISTS]; member 54 #define SDL_modelist (_this->hidden->SDL_modelist) macro
|
D | SDL_sysvideo.cc | 220 mode = SDL_modelist[index][i]; in BE_AddMode() 246 SDL_modelist[index] = (SDL_Rect **) in BE_AddMode() 247 SDL_realloc(SDL_modelist[index], (1+next_mode+1)*sizeof(SDL_Rect *)); in BE_AddMode() 248 if ( SDL_modelist[index] == NULL ) { in BE_AddMode() 254 SDL_modelist[index][next_mode] = mode; in BE_AddMode() 255 SDL_modelist[index][next_mode+1] = NULL; in BE_AddMode() 332 modes = SDL_modelist[((format->BitsPerPixel+7)/8)-1]; in BE_ListModes() 360 modes = SDL_modelist[((bpp+7)/8)-1]; in BE_FindClosestFSMode() 804 if ( SDL_modelist[i] ) { in BE_VideoQuit() 805 for ( j=0; SDL_modelist[i][j]; ++j ) { in BE_VideoQuit() [all …]
|
/external/qemu/distrib/sdl-1.2.12/src/video/vgl/ |
D | SDL_vglvideo.h | 51 SDL_Rect **SDL_modelist[NUM_MODELISTS]; member 59 #define SDL_modelist (this->hidden->SDL_modelist) macro
|
D | SDL_vglvideo.c | 181 mode = SDL_modelist[index][i]; in VGL_AddMode() 200 SDL_modelist[index] = (SDL_Rect **) in VGL_AddMode() 201 SDL_realloc(SDL_modelist[index], (1+next_mode+1)*sizeof(SDL_Rect *)); in VGL_AddMode() 202 if (SDL_modelist[index] == NULL) { in VGL_AddMode() 208 SDL_modelist[index][next_mode] = mode; in VGL_AddMode() 209 SDL_modelist[index][next_mode+1] = NULL; in VGL_AddMode() 239 SDL_modelist[i] = NULL; in VGL_VideoInit() 305 return SDL_modelist[((format->BitsPerPixel+7)/8)-1]; in VGL_ListModes() 484 if (SDL_modelist[i] != NULL) { in VGL_VideoQuit() 485 for (j = 0; SDL_modelist[i][j] != NULL; ++j) { in VGL_VideoQuit() [all …]
|
/external/qemu/distrib/sdl-1.2.12/src/video/qtopia/ |
D | SDL_lowvideo.h | 41 SDL_Rect **SDL_modelist[NUM_MODELISTS]; member 58 #define SDL_modelist (_this->hidden->SDL_modelist) macro
|
D | SDL_sysvideo.cc | 176 mode = SDL_modelist[index][i]; in QT_AddMode() 199 SDL_modelist[index] = (SDL_Rect **) in QT_AddMode() 200 SDL_realloc(SDL_modelist[index], (1+next_mode+1)*sizeof(SDL_Rect *)); in QT_AddMode() 201 if ( SDL_modelist[index] == NULL ) { in QT_AddMode() 207 SDL_modelist[index][next_mode] = mode; in QT_AddMode() 208 SDL_modelist[index][next_mode+1] = NULL; in QT_AddMode() 250 modes = SDL_modelist[((format->BitsPerPixel+7)/8)-1]; in QT_ListModes()
|
/external/qemu/distrib/sdl-1.2.12/src/video/windib/ |
D | SDL_dibvideo.h | 50 SDL_Rect **SDL_modelist[NUM_MODELISTS]; member 66 #define SDL_modelist (this->hidden->SDL_modelist) macro
|
/external/qemu/distrib/sdl-1.2.12/src/video/epoc/ |
D | SDL_epocvideo.cpp | 237 Private->SDL_modelist[i] = (SDL_Rect *)SDL_malloc(sizeof(SDL_Rect)); in EPOC_VideoInit() 238 Private->SDL_modelist[i]->x = Private->SDL_modelist[i]->y = 0; in EPOC_VideoInit() 241 Private->SDL_modelist[0]->w = 640; Private->SDL_modelist[0]->h = 200; in EPOC_VideoInit() 242 Private->SDL_modelist[1]->w = 320; Private->SDL_modelist[1]->h = 200; in EPOC_VideoInit() 243 Private->SDL_modelist[2]->w = 640; Private->SDL_modelist[2]->h = 400; in EPOC_VideoInit() 244 Private->SDL_modelist[3]->w = 640; Private->SDL_modelist[3]->h = 480; in EPOC_VideoInit() 245 Private->SDL_modelist[4] = NULL; in EPOC_VideoInit() 322 return Private->SDL_modelist; in EPOC_ListModes() 621 if ( Private->SDL_modelist[i] != NULL ) { in EPOC_VideoQuit() 622 SDL_free(Private->SDL_modelist[i]); in EPOC_VideoQuit() [all …]
|
/external/qemu/distrib/sdl-1.2.12/src/video/windx5/ |
D | SDL_dx5video.h | 40 SDL_Rect **SDL_modelist[NUM_MODELISTS]; member 51 #define SDL_modelist (this->hidden->SDL_modelist) macro
|
/external/qemu/distrib/sdl-1.2.12/src/video/maccommon/ |
D | SDL_lowvideo.h | 57 SDL_Rect **SDL_modelist; member 91 #define SDL_modelist (this->hidden->SDL_modelist) macro
|
/external/qemu/distrib/sdl-1.2.12/src/video/wscons/ |
D | SDL_wsconsvideo.c | 319 private->SDL_modelist[0] = (SDL_Rect *)SDL_malloc(sizeof(SDL_Rect)); in WSCONS_VideoInit() 320 private->SDL_modelist[0]->w = width; in WSCONS_VideoInit() 321 private->SDL_modelist[0]->h = height; in WSCONS_VideoInit() 336 return private->SDL_modelist; in WSCONS_ListModes() 345 if (width != private->SDL_modelist[0]->w || in WSCONS_SetVideoMode() 346 height != private->SDL_modelist[0]->h) { in WSCONS_SetVideoMode() 462 int width = private->SDL_modelist[0]->w; in WSCONS_UpdateRects() 463 int height = private->SDL_modelist[0]->h; in WSCONS_UpdateRects() 594 if (private->SDL_modelist[0] != NULL) { in WSCONS_VideoQuit() 595 SDL_free(private->SDL_modelist[0]); in WSCONS_VideoQuit() [all …]
|
/external/qemu/distrib/sdl-1.2.12/src/video/photon/ |
D | SDL_ph_modes.c | 30 SDL_Rect SDL_modelist[PH_MAX_VIDEOMODES]; variable 66 SDL_modearray[i]=&SDL_modelist[i]; in ph_ListModes() 98 SDL_modelist[i].w = Amodelist[j - i - 1].w; in ph_ListModes() 99 SDL_modelist[i].h = Amodelist[j - i - 1].h; in ph_ListModes() 100 SDL_modelist[i].x = Amodelist[j - i - 1].x; in ph_ListModes() 101 SDL_modelist[i].y = Amodelist[j - i - 1].y; in ph_ListModes()
|
/external/qemu/distrib/sdl-1.2.12/src/video/dga/ |
D | SDL_dgavideo.h | 71 SDL_Rect **SDL_modelist[NUM_MODELISTS]; member 113 #define SDL_modelist (this->hidden->SDL_modelist) macro
|