Lines Matching refs:pdraw
77 __GLXDRIdrawable *pdraw; in GetGLXDRIDrawable() local
82 if (__glxHashLookup(priv->drawHash, drawable, (void *) &pdraw) == 0) in GetGLXDRIDrawable()
83 return pdraw; in GetGLXDRIDrawable()
736 __GLXDRIdrawable *pdraw; in glXCreateGLXPixmap()
745 pdraw = psc->driScreen->createDrawable(psc, pixmap, xid, config); in glXCreateGLXPixmap()
746 if (pdraw == NULL) { in glXCreateGLXPixmap()
752 if (__glxHashInsert(priv->drawHash, xid, pdraw)) { in glXCreateGLXPixmap()
753 (*pdraw->destroyDrawable) (pdraw); in glXCreateGLXPixmap()
807 __GLXDRIdrawable *pdraw = GetGLXDRIDrawable(dpy, glxpixmap); in glXDestroyGLXPixmap()
809 if (priv != NULL && pdraw != NULL) { in glXDestroyGLXPixmap()
810 (*pdraw->destroyDrawable) (pdraw); in glXDestroyGLXPixmap()
838 __GLXDRIdrawable *pdraw = GetGLXDRIDrawable(dpy, drawable); in glXSwapBuffers()
840 if (pdraw != NULL) { in glXSwapBuffers()
843 (*pdraw->psc->driScreen->swapBuffers)(pdraw, 0, 0, 0, flush); in glXSwapBuffers()
1762 __GLXDRIdrawable *pdraw = in __glXSwapIntervalSGI() local
1767 if (pdraw) in __glXSwapIntervalSGI()
1768 psc->driScreen->setSwapInterval(pdraw, interval); in __glXSwapIntervalSGI()
1812 __GLXDRIdrawable *pdraw = in __glXSwapIntervalMESA() local
1818 if (!pdraw) in __glXSwapIntervalMESA()
1821 return psc->driScreen->setSwapInterval(pdraw, interval); in __glXSwapIntervalMESA()
1841 __GLXDRIdrawable *pdraw = in __glXGetSwapIntervalMESA() local
1843 if (pdraw) in __glXGetSwapIntervalMESA()
1844 return psc->driScreen->getSwapInterval(pdraw); in __glXGetSwapIntervalMESA()
1864 __GLXDRIdrawable *pdraw; in __glXGetVideoSyncSGI() local
1877 pdraw = GetGLXDRIDrawable(gc->currentDpy, gc->currentDrawable); in __glXGetVideoSyncSGI()
1886 ret = psc->driScreen->getDrawableMSC(psc, pdraw, &ust, &msc, &sbc); in __glXGetVideoSyncSGI()
1901 __GLXDRIdrawable *pdraw; in __glXWaitVideoSyncSGI() local
1919 pdraw = GetGLXDRIDrawable(gc->currentDpy, gc->currentDrawable); in __glXWaitVideoSyncSGI()
1924 ret = psc->driScreen->waitForMSC(pdraw, 0, divisor, remainder, &ust, &msc, in __glXWaitVideoSyncSGI()
2097 __GLXDRIdrawable *pdraw; in __glXGetSyncValuesOML() local
2105 pdraw = GetGLXDRIDrawable(dpy, drawable); in __glXGetSyncValuesOML()
2106 psc = pdraw ? pdraw->psc : NULL; in __glXGetSyncValuesOML()
2107 if (pdraw && psc->driScreen->getDrawableMSC) { in __glXGetSyncValuesOML()
2108 ret = psc->driScreen->getDrawableMSC(psc, pdraw, ust, msc, sbc); in __glXGetSyncValuesOML()
2218 __GLXDRIdrawable *pdraw = GetGLXDRIDrawable(dpy, drawable); in __glXSwapBuffersMscOML() local
2219 struct glx_screen *psc = pdraw ? pdraw->psc : NULL; in __glXSwapBuffersMscOML()
2226 if (!pdraw || !gc->isDirect) in __glXSwapBuffersMscOML()
2245 return (*psc->driScreen->swapBuffers)(pdraw, target_msc, divisor, in __glXSwapBuffersMscOML()
2260 __GLXDRIdrawable *pdraw = GetGLXDRIDrawable(dpy, drawable); in __glXWaitForMscOML() local
2261 struct glx_screen *psc = pdraw ? pdraw->psc : NULL; in __glXWaitForMscOML()
2275 if (pdraw && psc->driScreen && psc->driScreen->waitForMSC) { in __glXWaitForMscOML()
2276 ret = psc->driScreen->waitForMSC(pdraw, target_msc, divisor, remainder, in __glXWaitForMscOML()
2292 __GLXDRIdrawable *pdraw = GetGLXDRIDrawable(dpy, drawable); in __glXWaitForSbcOML() local
2293 struct glx_screen *psc = pdraw ? pdraw->psc : NULL; in __glXWaitForSbcOML()
2304 if (pdraw && psc->driScreen && psc->driScreen->waitForSBC) { in __glXWaitForSbcOML()
2305 ret = psc->driScreen->waitForSBC(pdraw, target_sbc, ust, msc, sbc); in __glXWaitForSbcOML()
2382 __GLXDRIdrawable *pdraw = GetGLXDRIDrawable(dpy, drawable); in __glXCopySubBufferMESA() local
2383 if (pdraw != NULL) { in __glXCopySubBufferMESA()
2384 struct glx_screen *psc = pdraw->psc; in __glXCopySubBufferMESA()
2386 (*psc->driScreen->copySubBuffer) (pdraw, x, y, width, height, True); in __glXCopySubBufferMESA()