Home
last modified time | relevance | path

Searched refs:dummyContext (Results 1 – 12 of 12) 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()
212 if (oldGC != &dummyContext) { in MakeContextCurrent()
246 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.c527 if (gc != &dummyContext && gc->vtable->wait_gl) in glXWaitGL()
540 if (gc != &dummyContext && gc->vtable->wait_x) in glXWaitX()
549 if (gc != &dummyContext && gc->vtable->use_x_font) in glXUseXFont()
841 Bool flush = gc != &dummyContext && drawable == gc->currentDrawable; in glXSwapBuffers()
858 if ((gc != &dummyContext) && (dpy == gc->currentDpy) && in glXSwapBuffers()
1387 if (gc == &dummyContext) in glXGetCurrentDisplay()
1749 if (gc == &dummyContext) { in __glXSwapIntervalSGI()
1807 if (gc != &dummyContext && gc->isDirect) { in __glXSwapIntervalMESA()
1836 if (gc != &dummyContext && gc->isDirect) { in __glXGetSwapIntervalMESA()
1867 if (gc == &dummyContext) in __glXGetVideoSyncSGI()
[all …]
Ddri3_glx.c129 return (&pcp->base != &dummyContext) && pcp->base.psc == &psc->base; in glx_dri3_in_current_context()
138 return (gc != &dummyContext) ? dri3Ctx->driContext : NULL; in glx_dri3_get_dri_context()
148 return (gc != &dummyContext && psc) ? psc->driScreen : NULL; in glx_dri3_get_dri_screen()
Dindirect_glx.c138 if (old != &dummyContext && !old->isDirect && old->psc->dpy == dpy) { in indirect_bind_context()
Dglxclient.h828 extern struct glx_context dummyContext;
Dglx_pbuffer.c331 if (pdraw == NULL || gc == &dummyContext || gc->currentDpy != dpy || in GetDrawableAttribute()
Ddri2_glx.c517 return (gc != &dummyContext) ? dri2Ctx->driContext : NULL; in dri2GetCurrentContext()
/external/mesa3d/src/glx/tests/
Dfake_glx_screen.cpp83 struct glx_context dummyContext = { variable
91 __thread void *__glX_tls_Context = &dummyContext;
/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()