Searched refs:dummyContext (Results 1 – 14 of 14) sorted by relevance
55 struct glx_context dummyContext = { variable80 = &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()
109 if (gc == &dummyContext) in glXQueryCurrentRendererIntegerMESA()169 if (gc == &dummyContext) in glXQueryCurrentRendererStringMESA()
57 (old && old != &dummyContext) ? old->driContext : NULL, in applegl_bind_context()86 (gc != &dummyContext) ? gc->driContext : NULL, in applegl_unbind_context()
823 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 …]
107 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()
141 if (old != &dummyContext && !old->isDirect && old->psc->dpy == dpy) { in indirect_bind_context()
830 extern struct glx_context dummyContext;
332 if (pdraw == NULL || gc == &dummyContext || gc->currentDpy != dpy || in __glXGetDrawableAttribute()
530 return (gc != &dummyContext) ? dri2Ctx->driContext : NULL; in dri2GetCurrentContext()
57 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()
44 if (gc != &dummyContext && gc->driContext) in __applegl_glViewport()
95 struct glx_context dummyContext = { variable103 __thread void *__glX_tls_Context = &dummyContext;
61 - dri2: Check for dummyContext to see if the glx_context is valid137 - dri3: Check for dummyContext to see if the glx_context is valid
70 - dri2: Check for dummyContext to see if the glx_context is valid161 - dri3: Check for dummyContext to see if the glx_context is valid