Searched refs:SDL_VideoSurface (Results 1 - 25 of 44) sorted by relevance

12

/external/qemu/distrib/sdl-1.2.12/src/events/
H A DSDL_mouse.c95 if ( SDL_VideoSurface->offset ) {
96 *y -= SDL_VideoSurface->offset/SDL_VideoSurface->pitch;
97 *x -= (SDL_VideoSurface->offset%SDL_VideoSurface->pitch)/
98 SDL_VideoSurface->format->BytesPerPixel;
111 if ( SDL_VideoSurface == NULL ) {
135 if ( x >= SDL_VideoSurface->w )
136 X = SDL_VideoSurface->w-1;
143 if ( y >= SDL_VideoSurface
[all...]
H A DSDL_resize.c53 if ( ! SDL_VideoSurface ||
54 ((w == SDL_VideoSurface->w) && (h == SDL_VideoSurface->h)) ) {
/external/qemu/distrib/sdl-1.2.12/src/video/wincommon/
H A DSDL_lowvideo.h56 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 ) && \
H A DSDL_sysevents.c154 rotatedX = SDL_VideoSurface->h - *x;
164 if (!SDL_VideoSurface)
166 rotatedX = SDL_VideoSurface->w - *y;
172 if (!SDL_VideoSurface)
175 rotatedY = SDL_VideoSurface->h - *x;
416 if ( SDL_VideoSurface && ! DINPUT_FULLSCREEN() ) {
439 center.x = (SDL_VideoSurface->w/2);
440 center.y = (SDL_VideoSurface->h/2);
450 if (SDL_VideoSurface)
463 if ( SDL_VideoSurface
[all...]
H A DSDL_syswm.c286 pt.x = (SDL_VideoSurface->w/2);
287 pt.y = (SDL_VideoSurface->h/2);
/external/qemu/distrib/sdl-1.2.12/src/video/quartz/
H A DSDL_QuartzWindow.m59 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
[all...]
H A DSDL_QuartzYUV.m98 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);
H A DSDL_QuartzWM.m175 if ( SDL_VideoSurface->flags & SDL_OPENGL ) {
193 if ( SDL_VideoSurface != NULL && (SDL_VideoSurface->flags & SDL_OPENGL) ) {
543 QZ_PrivateWarpCursor (this, SDL_VideoSurface->w / 2, SDL_VideoSurface->h / 2);
H A DSDL_QuartzVideo.m991 * 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
[all...]
/external/qemu/distrib/sdl-1.2.12/src/video/bwindow/
H A DSDL_syswm.cc66 pt.x = (SDL_VideoSurface->w/2);
67 pt.y = (SDL_VideoSurface->h/2);
H A DSDL_sysevents.cc182 } else if ( x >= SDL_VideoSurface->w ) {
183 x = (SDL_VideoSurface->w-1);
189 } else if ( y >= SDL_VideoSurface->h ) {
190 y = (SDL_VideoSurface->h-1);
215 int half_w = (SDL_VideoSurface->w/2);
216 int half_h = (SDL_VideoSurface->h/2);
/external/qemu/distrib/sdl-1.2.12/src/video/
H A DSDL_video.c247 SDL_VideoSurface = SDL_CreateRGBSurface(video_flags, 0, 0,
250 if ( SDL_VideoSurface == NULL ) {
261 if ( SDL_VideoSurface->format->palette ) {
262 SDL_PixelFormat *vf = SDL_VideoSurface->format;
268 video->info.vfmt = SDL_VideoSurface->format;
332 if ( SDL_VideoSurface ) {
334 format = SDL_VideoSurface->format;
459 SDL_closest_depths[table][7] = SDL_VideoSurface->format->BitsPerPixel;
517 if ( depth == (SDL_VideoSurface->format)->BitsPerPixel ) {
518 Rmask = (SDL_VideoSurface
[all...]
H A DSDL_yuv.c48 ((SDL_VideoSurface->format->BytesPerPixel == 2) ||
49 (SDL_VideoSurface->format->BytesPerPixel == 4)) ) {
50 display = SDL_VideoSurface;
55 if ( ((display == SDL_VideoSurface) && video->CreateYUVOverlay) &&
H A DSDL_cursor.c185 SDL_EraseCursor(SDL_VideoSurface);
217 SDL_DrawCursor(SDL_VideoSurface);
222 SDL_EraseCursor(SDL_VideoSurface);
329 SDL_EraseCursor(SDL_VideoSurface);
332 SDL_DrawCursor(SDL_VideoSurface);
361 clip_diff = (area->x+area->w)-SDL_VideoSurface->w;
365 clip_diff = (area->y+area->h)-SDL_VideoSurface->h;
572 if ( screen->map->dst != SDL_VideoSurface ) {
588 info.dst = SDL_VideoSurface->format;
611 if ( (screen == SDL_VideoSurface) ||
[all...]
/external/qemu/distrib/sdl-1.2.12/src/video/photon/
H A DSDL_ph_wm.c88 PhMoveCursorAbs(PhInputGroup(NULL), abs_x + SDL_VideoSurface->w/2, abs_y + SDL_VideoSurface->h/2);
/external/qemu/distrib/sdl-1.2.12/src/video/cybergfx/
H A DSDL_amigaevents.c59 w = SDL_VideoSurface->w;
60 h = SDL_VideoSurface->h;
166 if ( SDL_VideoSurface ) {
233 if ( SDL_VideoSurface &&
234 (SDL_VideoSurface->flags & SDL_FULLSCREEN) )
240 if ( SDL_VideoSurface ) {
246 if ( SDL_VideoSurface && (xevent.xexpose.count == 0) ) {
H A DSDL_cgxaccel.c212 if(dst==SDL_VideoSurface)
233 else if(dst==SDL_VideoSurface)
245 if(dst==SDL_VideoSurface)
/external/qemu/distrib/sdl-1.2.12/src/video/ipod/
H A DSDL_ipodvideo.c384 if (SDL_VideoSurface && SDL_VideoSurface->format && SDL_VideoSurface->format->palette) {
388 SDL_VideoSurface->format->palette->colors[i+j].r = 85 * j;
389 SDL_VideoSurface->format->palette->colors[i+j].g = 85 * j;
390 SDL_VideoSurface->format->palette->colors[i+j].b = 85 * j;
652 char *addr = SDL_VideoSurface->pixels;
658 C_lcd_cmd_data(0x13, (((SDL_VideoSurface->w - 1) - sx) & 0xff));
662 C_lcd_cmd_data(0x16, (((((SDL_VideoSurface->w - 1) - sx) - width) + 1) & 0xff));
664 addr += sx + sy * SDL_VideoSurface
[all...]
/external/qemu/distrib/sdl-1.2.12/src/video/x11/
H A DSDL_x11events.c333 w = SDL_VideoSurface->w;
334 h = SDL_VideoSurface->h;
515 if ( SDL_VideoSurface ) {
804 if ( SDL_VideoSurface &&
805 (SDL_VideoSurface->flags & SDL_FULLSCREEN) ) {
812 if ( SDL_VideoSurface ) {
823 if ( SDL_VideoSurface ) {
824 if ((xevent.xconfigure.width != SDL_VideoSurface->w) ||
825 (xevent.xconfigure.height != SDL_VideoSurface->h)) {
834 if ( SDL_VideoSurface
[all...]
H A DSDL_x11image.c219 if ( (surface == SDL_VideoSurface) && blit_queued ) {
247 if ( SDL_VideoSurface->flags & SDL_ASYNCBLIT ) {
269 if ( SDL_VideoSurface->flags & SDL_ASYNCBLIT ) {
/external/qemu/distrib/sdl-1.2.12/src/video/dga/
H A DSDL_dgaevents.c56 if ( SDL_VideoSurface ) {
/external/qemu/distrib/sdl-1.2.12/src/video/nanox/
H A DSDL_nxevents.c215 if (SDL_VideoSurface) {
309 if (SDL_VideoSurface) {
326 if (SDL_VideoSurface) {
/external/qemu/distrib/sdl-1.2.12/src/video/riscos/
H A DSDL_riscosevents.c307 int centre_x = SDL_VideoSurface->w/2;
308 int centre_y = SDL_VideoSurface->h/2;
312 if (SDL_VideoSurface) SDL_PrivateMouseMotion(0,1,x - centre_x, y - centre_y);
/external/qemu/distrib/sdl-1.2.12/src/video/maccommon/
H A DSDL_macevents.c91 if ( SDL_VideoSurface && !(SDL_VideoSurface->flags&SDL_FULLSCREEN) ) {
389 if (SDL_VideoSurface->flags & SDL_OPENGL)
393 if ( (SDL_VideoSurface->flags & SDL_HWSURFACE) ==
395 SDL_UpdateRect(SDL_VideoSurface, 0, 0, 0, 0);
/external/qemu/distrib/sdl-1.2.12/src/video/gapi/
H A DSDL_gapivideo.c707 SDL_VideoSurface is equal to zero, so activating code
709 macros WINDIB_FULLSCREEN uses SDL_VideoSurface
711 SDL_VideoSurface = video;
859 line2 = srcPointer + SDL_VideoSurface->pitch / 2;
917 line2 = srcPointer + SDL_VideoSurface->pitch / 2;
978 line2 = srcPointer + SDL_VideoSurface->pitch / 2;
1042 srcPointer = ((unsigned char*) SDL_VideoSurface->pixels) + rects[i].y * SDL_VideoSurface->pitch + rects[i].x * 2;
1059 srcPointer += SDL_VideoSurface->pitch * linesProcessed; // pitch in bytes
1071 unsigned char *srcPointer = ((unsigned char*) SDL_VideoSurface
[all...]

Completed in 172 milliseconds

12