Home
last modified time | relevance | path

Searched refs:GFX_Display (Results 1 – 9 of 9) sorted by relevance

/external/qemu/distrib/sdl-1.2.12/src/video/x11/
DSDL_x11yuv.c108 if ( (Success == SDL_NAME(XvQueryExtension)(GFX_Display, &j, &j, &j, &j, &j)) && in X11_CreateYUVOverlay()
109 (Success == SDL_NAME(XvQueryAdaptors)(GFX_Display, in X11_CreateYUVOverlay()
110 RootWindow(GFX_Display, SDL_Screen), in X11_CreateYUVOverlay()
136 formats = SDL_NAME(XvListImageFormats)(GFX_Display, in X11_CreateYUVOverlay()
146 if ( Success == SDL_NAME(XvGrabPort)(GFX_Display, ainfo[i].base_id+k, CurrentTime) ) { in X11_CreateYUVOverlay()
202 SDL_NAME(XvSelectPortNotify)(GFX_Display, xv_port, True); in X11_CreateYUVOverlay()
208 a = XInternAtom(GFX_Display, attr[i], True); in X11_CreateYUVOverlay()
210 SDL_NAME(XvSetPortAttribute)(GFX_Display, xv_port, a, 1); in X11_CreateYUVOverlay()
211 XSync(GFX_Display, True); in X11_CreateYUVOverlay()
218 SDL_NAME(XvSelectPortNotify)(GFX_Display, xv_port, False); in X11_CreateYUVOverlay()
[all …]
DSDL_x11gl.c69 extensions = this->gl_data->glXQueryExtensionsString(GFX_Display,SDL_Screen); in glXExtensionSupported()
199 glx_visualinfo = this->gl_data->glXChooseVisual(GFX_Display, in X11_GL_GetVisual()
204 glx_visualinfo = this->gl_data->glXChooseVisual(GFX_Display, in X11_GL_GetVisual()
261 glx_context = this->gl_data->glXCreateContext(GFX_Display, in X11_GL_CreateContext()
263 XSync( GFX_Display, False ); in X11_GL_CreateContext()
304 this->gl_data->glXMakeCurrent(GFX_Display, None, NULL); in X11_GL_Shutdown()
307 this->gl_data->glXDestroyContext(GFX_Display, glx_context); in X11_GL_Shutdown()
323 if ( ! this->gl_data->glXMakeCurrent(GFX_Display, in X11_GL_MakeCurrent()
328 XSync( GFX_Display, False ); in X11_GL_MakeCurrent()
393 retval = this->gl_data->glXGetConfig(GFX_Display, glx_visualinfo, glx_attrib, value); in X11_GL_GetAttribute()
[all …]
DSDL_x11image.c220 XSync(GFX_Display, False); in X11_LockHWSurface()
243 XPutImage(GFX_Display, SDL_Window, SDL_GC, SDL_Ximage, in X11_NormalUpdate()
248 XFlush(GFX_Display); in X11_NormalUpdate()
251 XSync(GFX_Display, False); in X11_NormalUpdate()
264 XShmPutImage(GFX_Display, SDL_Window, SDL_GC, SDL_Ximage, in X11_MITSHMUpdate()
270 XFlush(GFX_Display); in X11_MITSHMUpdate()
273 XSync(GFX_Display, False); in X11_MITSHMUpdate()
DSDL_x11video.c609 GFX_Display = XOpenDisplay(display); in X11_VideoInit()
610 if ( GFX_Display == NULL ) { in X11_VideoInit()
639 XCloseDisplay(GFX_Display); in X11_VideoInit()
640 GFX_Display = NULL; in X11_VideoInit()
737 XFreeColors(GFX_Display, in X11_DestroyWindow()
1158 XSync(GFX_Display, False); in X11_SetVideoMode()
1305 XQueryColors(GFX_Display, SDL_XColorMap, all, 256); in allocate_nearest()
1331 if(XAllocColor(GFX_Display, SDL_XColorMap, c)) { in allocate_nearest()
1373 XStoreColors(GFX_Display, SDL_XColorMap, xcmap, ncolors); in X11_SetColors()
1374 XSync(GFX_Display, False); in X11_SetColors()
[all …]
DSDL_x11video.h62 Display *GFX_Display; /* Used for graphics and colormap stuff */ member
171 #define GFX_Display (this->hidden->GFX_Display) macro
DSDL_x11wm.c119 XFreeColors(GFX_Display, dcmap, freelist, nfree, 0); in X11_SetIcon()
134 if(XAllocColor(GFX_Display, dcmap, &c)) { in X11_SetIcon()
148 XQueryColors(GFX_Display, dcmap, cols, 256); in X11_SetIcon()
154 if(XAllocColor(GFX_Display, dcmap, in X11_SetIcon()
610 info->info.x11.gfxdisplay = GFX_Display;
/external/qemu/distrib/sdl-1.2.12/src/video/cybergfx/
DSDL_cgxvideo.c93 XStoreColors(GFX_Display, SDL_XColorMap, xcmap, ncolors); in CGX_SetGammaRamp()
94 XSync(GFX_Display, False); in CGX_SetGammaRamp()
142 CloseScreen(GFX_Display); in DestroyScreen()
145 else if(GFX_Display) in DestroyScreen()
146 UnlockPubScreen(NULL,GFX_Display); in DestroyScreen()
148 GFX_Display = NULL; in DestroyScreen()
482 GFX_Display=NULL; in CGX_VideoInit()
486 GFX_Display=OpenScreenTags(NULL, in CGX_VideoInit()
495 if(!GFX_Display) in CGX_VideoInit()
500 else SDL_Display=GFX_Display; in CGX_VideoInit()
[all …]
DSDL_cgxvideo.h59 struct Screen *GFX_Display; /* Used for graphics and colormap stuff */ member
116 #define GFX_Display (this->hidden->GFX_Display) macro
140 #define SDL_DisplayColormap (this->hidden->GFX_Display->ViewPort.ColorMap)
DSDL_cgxmodes.c57 SDL_Display=GFX_Display=OpenScreenTags(NULL,SA_Width,width,SA_Height,height, in set_best_resolution()
307 GFX_Display=SDL_Display=LockPubScreen(NULL); in CGX_LeaveFullScreen()