/external/qemu/distrib/sdl-1.2.15/src/video/x11/ |
D | SDL_x11modes.c | 164 if ( use_xme && SDL_modelist ) { in set_best_resolution() 171 for ( i=0; SDL_modelist[i]; ++i ) { in set_best_resolution() 172 if ( (SDL_modelist[i]->w >= width) && in set_best_resolution() 173 (SDL_modelist[i]->h >= height) ) { in set_best_resolution() 178 if ( SDL_modelist[i] ) { /* found one, lets try it */ in set_best_resolution() 184 if ( (SDL_modelist[i]->w != w) || (SDL_modelist[i]->h != h) ) { in set_best_resolution() 188 SDL_modelist[i]->w, SDL_modelist[i]->h); in set_best_resolution() 193 SDL_modelist[i]->w, in set_best_resolution() 194 SDL_modelist[i]->h, in set_best_resolution() 203 if ( use_xrandr && SDL_modelist ) { in set_best_resolution() [all …]
|
/external/qemu/distrib/sdl-1.2.15/src/video/caca/ |
D | SDL_cacavideo.c | 143 SDL_modelist[i] = malloc(sizeof(SDL_Rect)); in Caca_VideoInit() 144 SDL_modelist[i]->x = SDL_modelist[i]->y = 0; in Caca_VideoInit() 147 SDL_modelist[0]->w = 1024; SDL_modelist[0]->h = 768; in Caca_VideoInit() 148 SDL_modelist[1]->w = 800; SDL_modelist[1]->h = 600; in Caca_VideoInit() 149 SDL_modelist[2]->w = 640; SDL_modelist[2]->h = 480; in Caca_VideoInit() 150 SDL_modelist[3]->w = 320; SDL_modelist[3]->h = 400; in Caca_VideoInit() 151 SDL_modelist[4]->w = 320; SDL_modelist[4]->h = 240; in Caca_VideoInit() 152 SDL_modelist[5]->w = 320; SDL_modelist[5]->h = 200; in Caca_VideoInit() 153 SDL_modelist[6] = NULL; in Caca_VideoInit() 184 return SDL_modelist; in Caca_ListModes() [all …]
|
D | SDL_cacavideo.h | 50 SDL_Rect *SDL_modelist[SDL_NUMMODES+1]; member 62 #define SDL_modelist (this->hidden->SDL_modelist) macro
|
/external/qemu/distrib/sdl-1.2.15/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.15/src/video/symbian/EKA1/ |
D | SDL_epocvideo.cpp | 304 Private->SDL_modelist[i] = (SDL_Rect *)malloc(sizeof(SDL_Rect)); in EPOC_VideoInit() 305 Private->SDL_modelist[i]->x = Private->SDL_modelist[i]->y = 0; in EPOC_VideoInit() 309 Private->SDL_modelist[0]->w = 800; Private->SDL_modelist[0]->h = 250; in EPOC_VideoInit() 310 Private->SDL_modelist[1]->w = 640; Private->SDL_modelist[1]->h = 480; in EPOC_VideoInit() 311 Private->SDL_modelist[2]->w = 480; Private->SDL_modelist[2]->h = 600; in EPOC_VideoInit() 312 Private->SDL_modelist[3]->w = 640; Private->SDL_modelist[3]->h = 400; in EPOC_VideoInit() 313 Private->SDL_modelist[4]->w = 352; Private->SDL_modelist[4]->h = 416; in EPOC_VideoInit() 314 Private->SDL_modelist[5]->w = 416; Private->SDL_modelist[5]->h = 352; in EPOC_VideoInit() 315 Private->SDL_modelist[6]->w = 416; Private->SDL_modelist[6]->h = 312; in EPOC_VideoInit() 316 Private->SDL_modelist[7]->w = 352; Private->SDL_modelist[7]->h = 264; in EPOC_VideoInit() [all …]
|
/external/qemu/distrib/sdl-1.2.15/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.15/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.15/src/video/xbios/ |
D | SDL_xbios.c | 286 while ( (SDL_modelist[i][j]->w > modeinfo->width) || in SDL_XBIOS_AddMode() 287 (SDL_modelist[i][j]->h > modeinfo->height) ) { in SDL_XBIOS_AddMode() 291 if ( (SDL_modelist[i][j]->w == modeinfo->width) && in SDL_XBIOS_AddMode() 292 (SDL_modelist[i][j]->h == modeinfo->height) ) { in SDL_XBIOS_AddMode() 296 saved_rect[b] = *SDL_modelist[i][j]; in SDL_XBIOS_AddMode() 298 SDL_modelist[i][j]->w = modeinfo->width; in SDL_XBIOS_AddMode() 299 SDL_modelist[i][j]->h = modeinfo->height; in SDL_XBIOS_AddMode() 303 for ( ++j; SDL_modelist[i][j]->w; ++j ) { in SDL_XBIOS_AddMode() 304 saved_rect[!b] = *SDL_modelist[i][j]; in SDL_XBIOS_AddMode() 306 *SDL_modelist[i][j] = saved_rect[b]; in SDL_XBIOS_AddMode() [all …]
|
D | SDL_xbios.h | 65 SDL_Rect **SDL_modelist[NUM_MODELISTS]; member 91 #define SDL_modelist (this->hidden->SDL_modelist) macro
|
/external/qemu/distrib/sdl-1.2.15/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.15/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.15/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 | 219 mode = SDL_modelist[index][i]; in BE_AddMode() 245 SDL_modelist[index] = (SDL_Rect **) in BE_AddMode() 246 SDL_realloc(SDL_modelist[index], (1+next_mode+1)*sizeof(SDL_Rect *)); in BE_AddMode() 247 if ( SDL_modelist[index] == NULL ) { in BE_AddMode() 253 SDL_modelist[index][next_mode] = mode; in BE_AddMode() 254 SDL_modelist[index][next_mode+1] = NULL; in BE_AddMode() 331 modes = SDL_modelist[((format->BitsPerPixel+7)/8)-1]; in BE_ListModes() 359 modes = SDL_modelist[((bpp+7)/8)-1]; in BE_FindClosestFSMode() 816 if ( SDL_modelist[i] ) { in BE_GL_LoadLibrary() 817 for ( j=0; SDL_modelist[i][j]; ++j ) { in BE_GL_LoadLibrary() [all …]
|
/external/qemu/distrib/sdl-1.2.15/src/video/vgl/ |
D | SDL_vglvideo.c | 180 mode = SDL_modelist[index][i]; in VGL_AddMode() 199 SDL_modelist[index] = (SDL_Rect **) in VGL_AddMode() 200 SDL_realloc(SDL_modelist[index], (1+next_mode+1)*sizeof(SDL_Rect *)); in VGL_AddMode() 201 if (SDL_modelist[index] == NULL) { in VGL_AddMode() 207 SDL_modelist[index][next_mode] = mode; in VGL_AddMode() 208 SDL_modelist[index][next_mode+1] = NULL; in VGL_AddMode() 238 SDL_modelist[i] = NULL; in VGL_VideoInit() 304 return SDL_modelist[((format->BitsPerPixel+7)/8)-1]; in VGL_ListModes() 476 if (SDL_modelist[i] != NULL) { in VGL_VideoQuit() 477 for (j = 0; SDL_modelist[i][j] != NULL; ++j) { in VGL_VideoQuit() [all …]
|
D | SDL_vglvideo.h | 51 SDL_Rect **SDL_modelist[NUM_MODELISTS]; member 59 #define SDL_modelist (this->hidden->SDL_modelist) macro
|
/external/qemu/distrib/sdl-1.2.15/src/video/windib/ |
D | SDL_dibvideo.h | 40 SDL_Rect **SDL_modelist[NUM_MODELISTS]; member 56 #define SDL_modelist (this->hidden->dibInfo->SDL_modelist) macro
|
/external/qemu/distrib/sdl-1.2.15/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.15/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.15/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.15/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.15/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()
|