Home
last modified time | relevance | path

Searched refs:dummyContext (Results 1 – 14 of 14) sorted by relevance

/external/mesa3d/src/glx/
Dglxcurrent.c55 struct glx_context dummyContext = { variable
80 = &dummyContext;
85 __glX_tls_Context = (c != NULL) ? c : &dummyContext; in __glXSetCurrentContext()
132 return (v == NULL) ? &dummyContext : (struct glx_context *) v; in __glXGetCurrentContext()
141 __glXSetCurrentContext(&dummyContext); in __glXSetCurrentContextNull()
153 if (cx == &dummyContext) { in glXGetCurrentContext()
204 if (oldGC != &dummyContext) { in MakeContextCurrent()
239 if (oldGC->thread_refcount == 0 && oldGC != &dummyContext && oldGC->xid == None) { in MakeContextCurrent()
Dquery_renderer.c109 if (gc == &dummyContext) in glXQueryCurrentRendererIntegerMESA()
169 if (gc == &dummyContext) in glXQueryCurrentRendererStringMESA()
Dapplegl_glx.c57 (old && old != &dummyContext) ? old->driContext : NULL, in applegl_bind_context()
86 (gc != &dummyContext) ? gc->driContext : NULL, in applegl_unbind_context()
Dglxcmds.c823 if(gc != &dummyContext && apple_glx_is_current_drawable(dpy, gc->driContext, drawable)) { in glXSwapBuffers()
841 Bool flush = gc != &dummyContext && drawable == gc->currentDrawable; in glXSwapBuffers()
858 if ((gc != &dummyContext) && (dpy == gc->currentDpy) && in glXSwapBuffers()
1388 if (gc == &dummyContext) in glXGetCurrentDisplay()
1740 if (gc == &dummyContext) { in glXSwapIntervalSGI()
1801 if (gc != &dummyContext && gc->isDirect) { in glXSwapIntervalMESA()
1830 if (gc != &dummyContext && gc->isDirect) { in glXGetSwapIntervalMESA()
1889 if (gc == &dummyContext) in glXGetVideoSyncSGI()
1926 if (gc == &dummyContext) in glXWaitVideoSyncSGI()
2200 if (gc == &dummyContext) /* no GLX for this */ in glXSwapBuffersMscOML()
[all …]
Ddri3_glx.c107 return (&pcp->base != &dummyContext) && pcp->base.psc == &psc->base; in glx_dri3_in_current_context()
116 return (gc != &dummyContext) ? dri3Ctx->driContext : NULL; in glx_dri3_get_dri_context()
126 return (gc != &dummyContext && psc) ? psc->driScreen : NULL; in glx_dri3_get_dri_screen()
Dindirect_glx.c141 if (old != &dummyContext && !old->isDirect && old->psc->dpy == dpy) { in indirect_bind_context()
Dglxclient.h830 extern struct glx_context dummyContext;
Dglx_pbuffer.c332 if (pdraw == NULL || gc == &dummyContext || gc->currentDpy != dpy || in __glXGetDrawableAttribute()
Ddri2_glx.c530 return (gc != &dummyContext) ? dri2Ctx->driContext : NULL; in dri2GetCurrentContext()
/external/mesa3d/src/glx/apple/
Dapple_xgl_api_stereo.c57 if (gc != &dummyContext && apple_glx_context_uses_stereo(gc->driContext)) { in __applegl_glDrawBuffer()
92 if (gc != &dummyContext && apple_glx_context_uses_stereo(gc->driContext)) { in __applegl_glDrawBuffers()
Dapple_xgl_api_viewport.c44 if (gc != &dummyContext && gc->driContext) in __applegl_glViewport()
/external/mesa3d/src/glx/tests/
Dfake_glx_screen.cpp95 struct glx_context dummyContext = { variable
103 __thread void *__glX_tls_Context = &dummyContext;
/external/mesa3d/docs/relnotes/
D11.1.4.rst61 - dri2: Check for dummyContext to see if the glx_context is valid
137 - dri3: Check for dummyContext to see if the glx_context is valid
D11.2.2.rst70 - dri2: Check for dummyContext to see if the glx_context is valid
161 - dri3: Check for dummyContext to see if the glx_context is valid