Home
last modified time | relevance | path

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

/external/qemu/distrib/sdl-1.2.15/src/video/x11/
DSDL_x11yuv.c178 if ( (Success == SDL_NAME(XvQueryExtension)(GFX_Display, &j, &j, &j, &j, &j)) && in X11_CreateYUVOverlay()
179 (Success == SDL_NAME(XvQueryAdaptors)(GFX_Display, in X11_CreateYUVOverlay()
180 RootWindow(GFX_Display, SDL_Screen), in X11_CreateYUVOverlay()
212 formats = SDL_NAME(XvListImageFormats)(GFX_Display, in X11_CreateYUVOverlay()
222 if ( Success == SDL_NAME(XvGrabPort)(GFX_Display, ainfo[i].base_id+k, CurrentTime) ) { in X11_CreateYUVOverlay()
278 SDL_NAME(XvSelectPortNotify)(GFX_Display, xv_port, True); in X11_CreateYUVOverlay()
284 a = XInternAtom(GFX_Display, attr[i], True); in X11_CreateYUVOverlay()
286 SDL_NAME(XvSetPortAttribute)(GFX_Display, xv_port, a, 1); in X11_CreateYUVOverlay()
287 XSync(GFX_Display, True); in X11_CreateYUVOverlay()
294 SDL_NAME(XvSelectPortNotify)(GFX_Display, xv_port, False); in X11_CreateYUVOverlay()
[all …]
DSDL_x11gl.c76 extensions = this->gl_data->glXQueryExtensionsString(GFX_Display,SDL_Screen); in glXExtensionSupported()
206 glx_visualinfo = this->gl_data->glXChooseVisual(GFX_Display, in X11_GL_GetVisual()
211 glx_visualinfo = this->gl_data->glXChooseVisual(GFX_Display, in X11_GL_GetVisual()
268 glx_context = this->gl_data->glXCreateContext(GFX_Display, in X11_GL_CreateContext()
270 XSync( GFX_Display, False ); in X11_GL_CreateContext()
294 rc = this->gl_data->glXSwapIntervalEXT(GFX_Display, SDL_Window, in X11_GL_CreateContext()
321 this->gl_data->glXMakeCurrent(GFX_Display, None, NULL); in X11_GL_Shutdown()
324 this->gl_data->glXDestroyContext(GFX_Display, glx_context); in X11_GL_Shutdown()
340 if ( ! this->gl_data->glXMakeCurrent(GFX_Display, in X11_GL_MakeCurrent()
345 XSync( GFX_Display, False ); in X11_GL_MakeCurrent()
[all …]
DSDL_x11image.c218 XSync(GFX_Display, False); in X11_LockHWSurface()
241 XPutImage(GFX_Display, SDL_Window, SDL_GC, SDL_Ximage, in X11_NormalUpdate()
246 XFlush(GFX_Display); in X11_NormalUpdate()
249 XSync(GFX_Display, False); in X11_NormalUpdate()
262 XShmPutImage(GFX_Display, SDL_Window, SDL_GC, SDL_Ximage, in X11_MITSHMUpdate()
268 XFlush(GFX_Display); in X11_MITSHMUpdate()
271 XSync(GFX_Display, False); in X11_MITSHMUpdate()
DSDL_x11video.c626 GFX_Display = XOpenDisplay(display); in X11_VideoInit()
627 if ( GFX_Display == NULL ) { in X11_VideoInit()
656 XCloseDisplay(GFX_Display); in X11_VideoInit()
657 GFX_Display = NULL; in X11_VideoInit()
758 XFreeColors(GFX_Display, in X11_DestroyWindow()
1178 XSync(GFX_Display, False); in X11_SetVideoMode()
1330 XQueryColors(GFX_Display, SDL_XColorMap, all, 256); in allocate_nearest()
1356 if(XAllocColor(GFX_Display, SDL_XColorMap, c)) { in allocate_nearest()
1398 XStoreColors(GFX_Display, SDL_XColorMap, xcmap, ncolors); in X11_SetColors()
1399 XSync(GFX_Display, False); in X11_SetColors()
[all …]
DSDL_x11video.h59 Display *GFX_Display; /* Used for graphics and colormap stuff */ member
165 #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()
609 info->info.x11.gfxdisplay = GFX_Display;