/external/qemu/distrib/sdl-1.2.12/src/video/x11/ |
D | SDL_x11mouse.c | 42 if ( SDL_Display != NULL ) { in X11_FreeWMCursor() 44 XFreeCursor(SDL_Display, cursor->x_cursor); in X11_FreeWMCursor() 45 XSync(SDL_Display, False); in X11_FreeWMCursor() 99 data_image = XCreateImage(SDL_Display, in X11_CreateWMCursor() 100 DefaultVisual(SDL_Display, SDL_Screen), in X11_CreateWMCursor() 104 data_pixmap = XCreatePixmap(SDL_Display, SDL_Root, w, h, 1); in X11_CreateWMCursor() 107 mask_image = XCreateImage(SDL_Display, in X11_CreateWMCursor() 108 DefaultVisual(SDL_Display, SDL_Screen), in X11_CreateWMCursor() 112 mask_pixmap = XCreatePixmap(SDL_Display, SDL_Root, w, h, 1); in X11_CreateWMCursor() 119 GCcursor = XCreateGC(SDL_Display, data_pixmap, in X11_CreateWMCursor() [all …]
|
D | SDL_x11wm.c | 65 dvis = DefaultVisual(SDL_Display, SDL_Screen); in X11_SetIcon() 66 dbpp = DefaultDepth(SDL_Display, SDL_Screen); in X11_SetIcon() 89 dcmap = DefaultColormap(SDL_Display, SDL_Screen); in X11_SetIcon() 187 mask_pixmap = XCreatePixmapFromBitmapData(SDL_Display, WMwindow, in X11_SetIcon() 193 icon_image = XCreateImage(SDL_Display, in X11_SetIcon() 194 DefaultVisual(SDL_Display, SDL_Screen), in X11_SetIcon() 195 DefaultDepth(SDL_Display, SDL_Screen), in X11_SetIcon() 201 icon_pixmap = XCreatePixmap(SDL_Display, SDL_Root, sicon->w, sicon->h, in X11_SetIcon() 202 DefaultDepth(SDL_Display, SDL_Screen)); in X11_SetIcon() 203 gc = XCreateGC(SDL_Display, icon_pixmap, 0, &GCvalues); in X11_SetIcon() [all …]
|
D | SDL_x11video.c | 332 int def_vis = (SDL_Visual == DefaultVisual(SDL_Display, SDL_Screen)); in create_aux_windows() 335 WM_DELETE_WINDOW = XInternAtom(SDL_Display, "WM_DELETE_WINDOW", False); in create_aux_windows() 345 XDestroyWindow(SDL_Display, FSwindow); in create_aux_windows() 354 xattr.background_pixel = def_vis ? BlackPixel(SDL_Display, SDL_Screen) : 0; in create_aux_windows() 358 FSwindow = XCreateWindow(SDL_Display, SDL_Root, in create_aux_windows() 365 XSelectInput(SDL_Display, FSwindow, StructureNotifyMask); in create_aux_windows() 375 ev.xclient.message_type = XInternAtom(SDL_Display, in create_aux_windows() 381 XSendEvent(SDL_Display, SDL_Root, False, mask, &ev); in create_aux_windows() 387 hints = XGetWMHints(SDL_Display, WMwindow); in create_aux_windows() 388 XDestroyWindow(SDL_Display, WMwindow); in create_aux_windows() [all …]
|
D | SDL_x11modes.c | 64 SDL_NAME(XF86VidModeGetModeInfo)(SDL_Display,SDL_Screen,&saved_mode); in save_mode() 65 SDL_NAME(XF86VidModeGetViewPort)(SDL_Display,SDL_Screen,&saved_view.x,&saved_view.y); in save_mode() 75 if ( SDL_NAME(XF86VidModeGetModeLine)(SDL_Display, SDL_Screen, &unused, &mode) ) { in restore_mode() 78 SDL_NAME(XF86VidModeSwitchToMode)(SDL_Display, SDL_Screen, &saved_mode); in restore_mode() 82 SDL_NAME(XF86VidModeSetViewPort)(SDL_Display, SDL_Screen, saved_view.x, saved_view.y); in restore_mode() 111 if ( SDL_NAME(XF86VidModeGetModeLine)(SDL_Display, SDL_Screen, &i, &mode) && in set_best_resolution() 112 SDL_NAME(XF86VidModeGetAllModeLines)(SDL_Display,SDL_Screen,&nmodes,&modes) ) { in set_best_resolution() 138 SDL_NAME(XF86VidModeSwitchToMode)(SDL_Display, SDL_Screen, modes[best]); in set_best_resolution() 173 XiGMiscChangeResolution(SDL_Display, in set_best_resolution() 179 XSync(SDL_Display, False); in set_best_resolution() [all …]
|
D | SDL_x11dga.c | 56 !SDL_NAME(XF86DGAQueryExtension)(SDL_Display, &dga_event, &dga_error) || in X11_EnableDGAMouse() 57 !SDL_NAME(XF86DGAQueryVersion)(SDL_Display, &dga_major, &dga_minor) || in X11_EnableDGAMouse() 58 !SDL_NAME(XF86DGAQueryDirectVideo)(SDL_Display, SDL_Screen, &dga_flags) || in X11_EnableDGAMouse() 65 if ( SDL_NAME(XF86DGADirectVideo)(SDL_Display, SDL_Screen, XF86DGADirectMouse) ) { in X11_EnableDGAMouse() 77 SDL_NAME(XF86DGADirectVideo)(SDL_Display,SDL_Screen,XF86DGADirectMouse); in X11_CheckDGAMouse() 86 SDL_NAME(XF86DGADirectVideo)(SDL_Display, SDL_Screen, 0); in X11_DisableDGAMouse()
|
D | SDL_x11image.c | 61 XShmAttach(SDL_Display, &shminfo); in try_mitshm() 62 XSync(SDL_Display, True); in try_mitshm() 89 SDL_Ximage = XShmCreateImage(SDL_Display, SDL_Visual, in X11_SetupImage() 94 XShmDetach(SDL_Display, &shminfo); in X11_SetupImage() 95 XSync(SDL_Display, False); in X11_SetupImage() 112 SDL_Ximage = XCreateImage(SDL_Display, SDL_Visual, in X11_SetupImage() 138 XShmDetach(SDL_Display, &shminfo); in X11_DestroyImage() 139 XSync(SDL_Display, False); in X11_DestroyImage() 307 XShmPutImage(SDL_Display, SDL_Window, SDL_GC, SDL_Ximage, in X11_RefreshDisplay() 313 XPutImage(SDL_Display, SDL_Window, SDL_GC, SDL_Ximage, in X11_RefreshDisplay() [all …]
|
D | SDL_x11gamma.c | 66 succeeded = SDL_NAME(XF86VidModeSetGamma)(SDL_Display, SDL_Screen, &gamma); in X11_SetGammaNoLock() 67 XSync(SDL_Display, False); in X11_SetGammaNoLock() 99 if (SDL_NAME(XF86VidModeGetGamma)(SDL_Display, SDL_Screen, &gamma)) { in X11_GetGammaNoLock()
|
D | SDL_x11events.c | 349 while ( XCheckTypedEvent(SDL_Display, MotionNotify, xevent) ) { in X11_WarpedMotion() 361 XWarpPointer(SDL_Display, None, SDL_Window, 0, 0, 0, 0, in X11_WarpedMotion() 364 XMaskEvent(SDL_Display, PointerMotionMask, xevent); in X11_WarpedMotion() 394 XNextEvent(SDL_Display, &xevent); in X11_DispatchEvent() 400 && X11_KeyRepeat(SDL_Display, &xevent) ) { in X11_DispatchEvent() 509 X11_SetKeyboardState(SDL_Display, xevent.xkeymap.key_vector); in X11_DispatchEvent() 565 keysym.sym = X11_TranslateKeycode(SDL_Display, keycode); in X11_DispatchEvent() 673 keysym.sym = (keycode ? X11_TranslateKeycode(SDL_Display, keycode) : 0); in X11_DispatchEvent() 693 keysym.sym = X11_TranslateKeycode(SDL_Display, keycode); in X11_DispatchEvent() 726 keysym.sym = X11_TranslateKeycode(SDL_Display, keycode); in X11_DispatchEvent() [all …]
|
D | SDL_x11video.h | 170 #define SDL_Display (this->hidden->X11_Display) macro 174 #define SDL_Root RootWindow(SDL_Display, SDL_Screen) 220 ((SDL_strcmp(ServerVendor(SDL_Display), "The XFree86 Project, Inc") == 0) && \ 221 (VendorRelease(SDL_Display) condition buggy_version))
|
D | SDL_x11gl.c | 111 XGetWindowAttributes(SDL_Display, SDL_Window, &a); in X11_GL_GetVisual() 114 glx_visualinfo = XGetVisualInfo(SDL_Display, in X11_GL_GetVisual() 230 black = (glx_visualinfo->visual == DefaultVisual(SDL_Display, in X11_GL_CreateWindow() 232 ? BlackPixel(SDL_Display, SDL_Screen) : 0; in X11_GL_CreateWindow() 238 SDL_Window = XCreateWindow(SDL_Display, WMwindow, in X11_GL_CreateWindow() 260 XSync( SDL_Display, False ); in X11_GL_CreateContext()
|
/external/qemu/distrib/sdl-1.2.12/src/video/cybergfx/ |
D | SDL_cgxvideo.c | 130 FreeScreenBuffer(SDL_Display,this->hidden->SB[1]); in DestroyScreen() 132 FreeScreenBuffer(SDL_Display,this->hidden->SB[0]); in DestroyScreen() 137 if(SDL_RastPort && SDL_RastPort != &SDL_Display->RastPort) in DestroyScreen() 459 SDL_Display = LockPubScreen(NULL); in CGX_VideoInit() 461 if ( SDL_Display == NULL ) { in CGX_VideoInit() 466 this->info.current_w = SDL_Display->Width; in CGX_VideoInit() 467 this->info.current_h = SDL_Display->Height; in CGX_VideoInit() 471 if(!IsCyberModeID(GetVPModeID(&SDL_Display->ViewPort))) in CGX_VideoInit() 473 Uint32 okid=BestCModeIDTags(CYBRBIDTG_NominalWidth,SDL_Display->Width, in CGX_VideoInit() 474 CYBRBIDTG_NominalHeight,SDL_Display->Height, in CGX_VideoInit() [all …]
|
D | SDL_cgxmodes.c | 40 if(SDL_Display) in set_best_resolution() 41 depth=GetCyberMapAttr(SDL_Display->RastPort.BitMap,CYBRMATTR_DEPTH); in set_best_resolution() 50 if(SDL_Display) in set_best_resolution() 53 CloseScreen(SDL_Display); in set_best_resolution() 55 UnlockPubScreen(NULL,SDL_Display); in set_best_resolution() 57 SDL_Display=GFX_Display=OpenScreenTags(NULL,SA_Width,width,SA_Height,height, in set_best_resolution() 180 SDL_modelist[i]->w = SDL_Display->Width; in CGX_GetVideoModes() 181 SDL_modelist[i]->h = SDL_Display->Height; in CGX_GetVideoModes() 279 …CGX_CreateWindow(this,this->screen,real_w,real_h,GetCyberMapAttr(SDL_Display->RastPort.BitMap,CYBR… in CGX_EnterFullScreen() 305 CloseScreen(SDL_Display); in CGX_LeaveFullScreen() [all …]
|
D | SDL_cgxvideo.h | 115 #define SDL_Display (this->hidden->Public_Display) macro 121 #define SDL_Root RootWindow(SDL_Display, SDL_Screen)
|
D | SDL_amigaevents.c | 75 while ( XCheckTypedEvent(SDL_Display, MotionNotify, xevent) ) { 87 XWarpPointer(SDL_Display, None, SDL_Window, 0, 0, 0, 0, 90 XMaskEvent(SDL_Display, PointerMotionMask, xevent);
|
D | SDL_amigamouse.c | 47 if ( SDL_Display == NULL) { in amiga_ShowWMCursor()
|
D | SDL_cgximage.c | 173 …ap=AllocBitMap(surface->w,surface->h,this->hidden->depth,BMF_MINPLANES,SDL_Display->RastPort.BitMa… in CGX_AllocHWSurface() 260 if(ChangeScreenBuffer(SDL_Display,this->hidden->SB[current^1])) in CGX_FlipHWSurface()
|
/external/qemu/distrib/sdl-1.2.12/src/video/maccommon/ |
D | SDL_lowvideo.h | 55 GDevice **SDL_Display; member 89 #define SDL_Display (this->hidden->SDL_Display) macro
|
/external/qemu/distrib/sdl-1.2.12/src/video/macrom/ |
D | SDL_romvideo.c | 209 SDL_Display = GetMainDevice(); in ROM_VideoInit() 212 this->info.current_w = (**SDL_Display).gdRect.right; in ROM_VideoInit() 213 this->info.current_h = (**SDL_Display).gdRect.bottom; in ROM_VideoInit() 216 vformat->BitsPerPixel = (**(**SDL_Display).gdPMap).pixelSize; 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() 528 current->pitch = (**(**SDL_Display).gdPMap).rowBytes & 0x3FFF; in ROM_SetVideoMode() 529 current->pixels = (**(**SDL_Display).gdPMap).baseAddr; in ROM_SetVideoMode() 678 cTab = (**(**SDL_Display).gdPMap).pmTable; in ROM_SetColors() 703 SetGDevice(SDL_Display); in ROM_SetColors()
|
/external/qemu/distrib/sdl-1.2.12/src/video/macdsp/ |
D | SDL_dspvideo.c | 443 …err = NewGWorld (&offscreen, vformat->BitsPerPixel, &bounds, NULL, SDL_Display, useDistantHdwrMem … in DSp_IsHWAvailable() 449 …err = NewGWorld (&offscreen, vformat->BitsPerPixel, &bounds, NULL, SDL_Display, useLocalHdwrMem | … in DSp_IsHWAvailable() 549 if ( DSp_GetMainDevice(this, &SDL_Display) < 0) in DSp_VideoInit() 553 vformat->BitsPerPixel = GetPixDepth ( (**SDL_Display).gdPMap ); in DSp_VideoInit() 572 SDL_modelist = DSp_BuildModeList (SDL_Display, in DSp_VideoInit() 813 if ( noErr != DMGetDisplayIDByGDevice (SDL_Display, &display_id, SDL_FALSE) ) { in DSp_SetVideoMode() 939 …SDL_Window = NewCWindow(nil, &( (**SDL_Display).gdRect), "\p", SDL_TRUE, plainDBox, (WindowPtr)-1,… in DSp_SetVideoMode() 984 Uint32 depth = GetPixDepth ( GetGDevPixMap (SDL_Display) ); in DSp_MakeHWMask() 988 if ( noErr != NewGWorld (&(surface->hwdata->mask), depth, &rect, 0, SDL_Display, 0 ) < 0 ) { in DSp_MakeHWMask() 994 if ( noErr != NewGWorld (&temp, depth, &rect, 0 , SDL_Display, 0 ) ) { in DSp_MakeHWMask() [all …]
|