/external/qemu/distrib/sdl-1.2.12/src/events/ |
D | SDL_mouse.c | 95 if ( SDL_VideoSurface->offset ) { in ClipOffset() 96 *y -= SDL_VideoSurface->offset/SDL_VideoSurface->pitch; in ClipOffset() 97 *x -= (SDL_VideoSurface->offset%SDL_VideoSurface->pitch)/ in ClipOffset() 98 SDL_VideoSurface->format->BytesPerPixel; in ClipOffset() 111 if ( SDL_VideoSurface == NULL ) { in SDL_PrivateMouseMotion() 135 if ( x >= SDL_VideoSurface->w ) in SDL_PrivateMouseMotion() 136 X = SDL_VideoSurface->w-1; in SDL_PrivateMouseMotion() 143 if ( y >= SDL_VideoSurface->h ) in SDL_PrivateMouseMotion() 144 Y = SDL_VideoSurface->h-1; in SDL_PrivateMouseMotion() 209 if ( x >= SDL_VideoSurface->w ) in SDL_PrivateMouseButton() [all …]
|
D | SDL_resize.c | 53 if ( ! SDL_VideoSurface || in SDL_PrivateResize() 54 ((w == SDL_VideoSurface->w) && (h == SDL_VideoSurface->h)) ) { in SDL_PrivateResize()
|
/external/qemu/distrib/sdl-1.2.12/src/video/ |
D | SDL_video.c | 247 SDL_VideoSurface = SDL_CreateRGBSurface(video_flags, 0, 0, in SDL_VideoInit() 250 if ( SDL_VideoSurface == NULL ) { in SDL_VideoInit() 261 if ( SDL_VideoSurface->format->palette ) { in SDL_VideoInit() 262 SDL_PixelFormat *vf = SDL_VideoSurface->format; in SDL_VideoInit() 268 video->info.vfmt = SDL_VideoSurface->format; in SDL_VideoInit() 332 if ( SDL_VideoSurface ) { in SDL_ListModes() 334 format = SDL_VideoSurface->format; in SDL_ListModes() 459 SDL_closest_depths[table][7] = SDL_VideoSurface->format->BitsPerPixel; in SDL_GetVideoMode() 517 if ( depth == (SDL_VideoSurface->format)->BitsPerPixel ) { in SDL_CreateShadowSurface() 518 Rmask = (SDL_VideoSurface->format)->Rmask; in SDL_CreateShadowSurface() [all …]
|
D | SDL_cursor.c | 185 SDL_EraseCursor(SDL_VideoSurface); in SDL_SetCursor() 217 SDL_DrawCursor(SDL_VideoSurface); in SDL_SetCursor() 222 SDL_EraseCursor(SDL_VideoSurface); in SDL_SetCursor() 329 SDL_EraseCursor(SDL_VideoSurface); in SDL_MoveCursor() 332 SDL_DrawCursor(SDL_VideoSurface); in SDL_MoveCursor() 361 clip_diff = (area->x+area->w)-SDL_VideoSurface->w; in SDL_MouseRect() 365 clip_diff = (area->y+area->h)-SDL_VideoSurface->h; in SDL_MouseRect() 572 if ( screen->map->dst != SDL_VideoSurface ) { in SDL_ConvertCursorSave() 588 info.dst = SDL_VideoSurface->format; in SDL_ConvertCursorSave() 611 if ( (screen == SDL_VideoSurface) || in SDL_DrawCursorNoLock() [all …]
|
D | SDL_yuv.c | 48 ((SDL_VideoSurface->format->BytesPerPixel == 2) || in SDL_CreateYUVOverlay() 49 (SDL_VideoSurface->format->BytesPerPixel == 4)) ) { in SDL_CreateYUVOverlay() 50 display = SDL_VideoSurface; in SDL_CreateYUVOverlay() 55 if ( ((display == SDL_VideoSurface) && video->CreateYUVOverlay) && in SDL_CreateYUVOverlay()
|
/external/qemu/distrib/sdl-1.2.12/src/video/wincommon/ |
D | SDL_lowvideo.h | 56 SDL_VideoSurface && \ 57 ((SDL_VideoSurface->flags & SDL_FULLSCREEN) == SDL_FULLSCREEN) && \ 58 (((SDL_VideoSurface->flags & SDL_OPENGL ) == SDL_OPENGL ) || \ 64 SDL_VideoSurface && \ 65 ((SDL_VideoSurface->flags & SDL_FULLSCREEN) == SDL_FULLSCREEN) && \ 66 ((SDL_VideoSurface->flags & SDL_OPENGL ) != SDL_OPENGL ) && \
|
D | SDL_sysevents.c | 164 if (!SDL_VideoSurface) in GapiTransform() 166 rotatedX = SDL_VideoSurface->w - *y; in GapiTransform() 172 if (!SDL_VideoSurface) in GapiTransform() 175 rotatedY = SDL_VideoSurface->h - *x; in GapiTransform() 416 if ( SDL_VideoSurface && ! DINPUT_FULLSCREEN() ) { in WinMessage() 439 center.x = (SDL_VideoSurface->w/2); in WinMessage() 440 center.y = (SDL_VideoSurface->h/2); in WinMessage() 450 if (SDL_VideoSurface) in WinMessage() 463 if ( SDL_VideoSurface && ! DINPUT_FULLSCREEN() ) { in WinMessage() 483 if ( SDL_VideoSurface && ! DINPUT_FULLSCREEN() ) { in WinMessage() [all …]
|
D | SDL_syswm.c | 286 pt.x = (SDL_VideoSurface->w/2); in WIN_GrabInput() 287 pt.y = (SDL_VideoSurface->h/2); in WIN_GrabInput()
|
/external/qemu/distrib/sdl-1.2.12/src/video/quartz/ |
D | SDL_QuartzWindow.m | 59 if (SDL_VideoSurface->flags & SDL_OPENGL) { 90 if (! ( SDL_VideoSurface->flags & SDL_OPENGL ) ) 115 if (this && SDL_VideoSurface == NULL) { 130 if ( ! ( SDL_VideoSurface->flags & SDL_OPENGL ) ) { 135 SDL_VideoSurface->pixels = GetPixBaseAddr ( GetPortPixMap ( thePort ) ); 136 SDL_VideoSurface->pitch = GetPixRowBytes ( GetPortPixMap ( thePort ) ); 139 SDL_VideoSurface->pixels now points to the window's pixels 148 …SDL_VideoSurface->pixels = (Uint8 *)SDL_VideoSurface->pixels + (vOffset * SDL_VideoSurface->pitch)… 168 if (! ( SDL_VideoSurface->flags & SDL_OPENGL ) )
|
D | SDL_QuartzYUV.m | 98 if (SDL_VideoSurface->flags & SDL_FULLSCREEN) { 154 if (SDL_VideoSurface->flags & SDL_FULLSCREEN) { 160 NSRect content = NSMakeRect (0, 0, SDL_VideoSurface->w, SDL_VideoSurface->h); 186 SetRect (&r, 0, 0, SDL_VideoSurface->w, SDL_VideoSurface->h);
|
D | SDL_QuartzVideo.m | 991 * We have to add SDL_VideoSurface->offset here, since we might be a 996 dst = (Uint8 *)CGDisplayBaseAddress (display_id) + SDL_VideoSurface->offset; 997 src = current_buffer + SDL_VideoSurface->offset; 998 len = SDL_VideoSurface->w * SDL_VideoSurface->format->BytesPerPixel; 999 h = SDL_VideoSurface->h; 1000 skip = SDL_VideoSurface->pitch; 1088 this->FlipHWSurface (this, SDL_VideoSurface); 1407 if (SDL_VideoSurface->flags & SDL_RESIZABLE) { 1410 SetRect (&icon, SDL_VideoSurface->w - 13, SDL_VideoSurface->h - 13, 1411 SDL_VideoSurface->w, SDL_VideoSurface->h); [all …]
|
/external/qemu/distrib/sdl-1.2.12/src/video/ipod/ |
D | SDL_ipodvideo.c | 384 if (SDL_VideoSurface && SDL_VideoSurface->format && SDL_VideoSurface->format->palette) { in iPod_SetColors() 388 SDL_VideoSurface->format->palette->colors[i+j].r = 85 * j; in iPod_SetColors() 389 SDL_VideoSurface->format->palette->colors[i+j].g = 85 * j; in iPod_SetColors() 390 SDL_VideoSurface->format->palette->colors[i+j].b = 85 * j; in iPod_SetColors() 652 char *addr = SDL_VideoSurface->pixels; in C_update_display() 658 C_lcd_cmd_data(0x13, (((SDL_VideoSurface->w - 1) - sx) & 0xff)); in C_update_display() 662 C_lcd_cmd_data(0x16, (((((SDL_VideoSurface->w - 1) - sx) - width) + 1) & 0xff)); in C_update_display() 664 addr += sx + sy * SDL_VideoSurface->pitch; in C_update_display() 698 addr += SDL_VideoSurface->w - width; in C_update_display() 712 if (SDL_VideoSurface->format->BitsPerPixel == 16) { in iPod_UpdateRects() [all …]
|
/external/qemu/distrib/sdl-1.2.12/src/video/cybergfx/ |
D | SDL_amigaevents.c | 59 w = SDL_VideoSurface->w; 60 h = SDL_VideoSurface->h; 166 if ( SDL_VideoSurface ) { in amiga_DispatchEvent() 233 if ( SDL_VideoSurface && in amiga_DispatchEvent() 234 (SDL_VideoSurface->flags & SDL_FULLSCREEN) ) in amiga_DispatchEvent() 240 if ( SDL_VideoSurface ) { in amiga_DispatchEvent() 246 if ( SDL_VideoSurface && (xevent.xexpose.count == 0) ) { in amiga_DispatchEvent()
|
D | SDL_cgxaccel.c | 212 if(dst==SDL_VideoSurface) in CGX_HWAccelBlit() 233 else if(dst==SDL_VideoSurface) in CGX_HWAccelBlit() 245 if(dst==SDL_VideoSurface) in CGX_FillHWRect()
|
/external/qemu/distrib/sdl-1.2.12/src/video/bwindow/ |
D | SDL_sysevents.cc | 182 } else if ( x >= SDL_VideoSurface->w ) { in DispatchMessage() 183 x = (SDL_VideoSurface->w-1); in DispatchMessage() 189 } else if ( y >= SDL_VideoSurface->h ) { in DispatchMessage() 190 y = (SDL_VideoSurface->h-1); in DispatchMessage() 215 int half_w = (SDL_VideoSurface->w/2); in DispatchMessage() 216 int half_h = (SDL_VideoSurface->h/2); in DispatchMessage()
|
D | SDL_syswm.cc | 66 pt.x = (SDL_VideoSurface->w/2); in BE_GrabInput() 67 pt.y = (SDL_VideoSurface->h/2); in BE_GrabInput()
|
/external/qemu/distrib/sdl-1.2.12/src/video/x11/ |
D | SDL_x11events.c | 333 w = SDL_VideoSurface->w; in X11_WarpedMotion() 334 h = SDL_VideoSurface->h; in X11_WarpedMotion() 515 if ( SDL_VideoSurface ) { in X11_DispatchEvent() 804 if ( SDL_VideoSurface && in X11_DispatchEvent() 805 (SDL_VideoSurface->flags & SDL_FULLSCREEN) ) { in X11_DispatchEvent() 812 if ( SDL_VideoSurface ) { in X11_DispatchEvent() 823 if ( SDL_VideoSurface ) { in X11_DispatchEvent() 824 if ((xevent.xconfigure.width != SDL_VideoSurface->w) || in X11_DispatchEvent() 825 (xevent.xconfigure.height != SDL_VideoSurface->h)) { in X11_DispatchEvent() 834 if ( SDL_VideoSurface->flags & SDL_OPENGL ) { in X11_DispatchEvent() [all …]
|
D | SDL_x11image.c | 219 if ( (surface == SDL_VideoSurface) && blit_queued ) { in X11_LockHWSurface() 247 if ( SDL_VideoSurface->flags & SDL_ASYNCBLIT ) { in X11_NormalUpdate() 269 if ( SDL_VideoSurface->flags & SDL_ASYNCBLIT ) { in X11_MITSHMUpdate()
|
/external/qemu/distrib/sdl-1.2.12/src/video/photon/ |
D | SDL_ph_wm.c | 88 … PhMoveCursorAbs(PhInputGroup(NULL), abs_x + SDL_VideoSurface->w/2, abs_y + SDL_VideoSurface->h/2); in ph_GrabInputNoLock()
|
D | SDL_ph_events.c | 60 centre_x = SDL_VideoSurface->w / 2; in ph_WarpedMotion() 61 centre_y = SDL_VideoSurface->h / 2; in ph_WarpedMotion() 140 if (SDL_VideoSurface) in ph_DispatchEvent() 290 if (SDL_VideoSurface) in ph_DispatchEvent()
|
/external/qemu/distrib/sdl-1.2.12/src/video/gapi/ |
D | SDL_gapivideo.c | 711 SDL_VideoSurface = video; in GAPI_SetVideoMode() 859 line2 = srcPointer + SDL_VideoSurface->pitch / 2; in updateLine16to16() 917 line2 = srcPointer + SDL_VideoSurface->pitch / 2; in updateLine16to16() 978 line2 = srcPointer + SDL_VideoSurface->pitch / 2; in updateLine16to4() 1042 …srcPointer = ((unsigned char*) SDL_VideoSurface->pixels) + rects[i].y * SDL_VideoSurface->pitch + … in GAPI_UpdateRectsMono() 1059 srcPointer += SDL_VideoSurface->pitch * linesProcessed; // pitch in bytes in GAPI_UpdateRectsMono() 1071 …unsigned char *srcPointer = ((unsigned char*) SDL_VideoSurface->pixels) + rects[i].y * SDL_VideoSu… in GAPI_UpdateRectsColor() 1091 srcPointer += SDL_VideoSurface->pitch * linesProcessed; // pitch in bytes in GAPI_UpdateRectsColor()
|
/external/qemu/distrib/sdl-1.2.12/src/video/nanox/ |
D | SDL_nxevents.c | 215 if (SDL_VideoSurface) { in NX_PumpEvents() 309 if (SDL_VideoSurface) { in NX_PumpEvents() 326 if (SDL_VideoSurface) { in NX_PumpEvents()
|
/external/qemu/distrib/sdl-1.2.12/src/video/maccommon/ |
D | SDL_macevents.c | 91 if ( SDL_VideoSurface && !(SDL_VideoSurface->flags&SDL_FULLSCREEN) ) { in myGlobalToLocal() 389 if (SDL_VideoSurface->flags & SDL_OPENGL) in Mac_HandleEvents() 393 if ( (SDL_VideoSurface->flags & SDL_HWSURFACE) == in Mac_HandleEvents() 395 SDL_UpdateRect(SDL_VideoSurface, 0, 0, 0, 0); in Mac_HandleEvents()
|
/external/qemu/distrib/sdl-1.2.12/src/video/riscos/ |
D | SDL_riscosevents.c | 307 int centre_x = SDL_VideoSurface->w/2; in RISCOS_PollMouseHelper() 308 int centre_y = SDL_VideoSurface->h/2; in RISCOS_PollMouseHelper() 312 if (SDL_VideoSurface) SDL_PrivateMouseMotion(0,1,x - centre_x, y - centre_y); in RISCOS_PollMouseHelper()
|
/external/qemu/distrib/sdl-1.2.12/src/video/dga/ |
D | SDL_dgaevents.c | 56 if ( SDL_VideoSurface ) { in DGA_DispatchEvent()
|