Lines Matching refs:pdraw

78    __GLXDRIdrawable *pdraw;  in GetGLXDRIDrawable()  local
83 if (__glxHashLookup(priv->drawHash, drawable, (void *) &pdraw) == 0) in GetGLXDRIDrawable()
84 return pdraw; in GetGLXDRIDrawable()
733 __GLXDRIdrawable *pdraw; in glXCreateGLXPixmap()
742 pdraw = psc->driScreen->createDrawable(psc, pixmap, xid, config); in glXCreateGLXPixmap()
743 if (pdraw == NULL) { in glXCreateGLXPixmap()
749 if (__glxHashInsert(priv->drawHash, xid, pdraw)) { in glXCreateGLXPixmap()
750 (*pdraw->destroyDrawable) (pdraw); in glXCreateGLXPixmap()
804 __GLXDRIdrawable *pdraw = GetGLXDRIDrawable(dpy, glxpixmap); in glXDestroyGLXPixmap()
806 if (priv != NULL && pdraw != NULL) { in glXDestroyGLXPixmap()
807 (*pdraw->destroyDrawable) (pdraw); in glXDestroyGLXPixmap()
835 __GLXDRIdrawable *pdraw = GetGLXDRIDrawable(dpy, drawable); in glXSwapBuffers()
837 if (pdraw != NULL) { in glXSwapBuffers()
840 (*pdraw->psc->driScreen->swapBuffers)(pdraw, 0, 0, 0, flush); in glXSwapBuffers()
1748 __GLXDRIdrawable *pdraw = in __glXSwapIntervalSGI() local
1753 if (pdraw) in __glXSwapIntervalSGI()
1754 psc->driScreen->setSwapInterval(pdraw, interval); in __glXSwapIntervalSGI()
1798 __GLXDRIdrawable *pdraw = in __glXSwapIntervalMESA() local
1804 if (!pdraw) in __glXSwapIntervalMESA()
1807 return psc->driScreen->setSwapInterval(pdraw, interval); in __glXSwapIntervalMESA()
1827 __GLXDRIdrawable *pdraw = in __glXGetSwapIntervalMESA() local
1829 if (pdraw) in __glXGetSwapIntervalMESA()
1830 return psc->driScreen->getSwapInterval(pdraw); in __glXGetSwapIntervalMESA()
1850 __GLXDRIdrawable *pdraw; in __glXGetVideoSyncSGI() local
1863 pdraw = GetGLXDRIDrawable(gc->currentDpy, gc->currentDrawable); in __glXGetVideoSyncSGI()
1872 ret = psc->driScreen->getDrawableMSC(psc, pdraw, &ust, &msc, &sbc); in __glXGetVideoSyncSGI()
1887 __GLXDRIdrawable *pdraw; in __glXWaitVideoSyncSGI() local
1905 pdraw = GetGLXDRIDrawable(gc->currentDpy, gc->currentDrawable); in __glXWaitVideoSyncSGI()
1910 ret = psc->driScreen->waitForMSC(pdraw, 0, divisor, remainder, &ust, &msc, in __glXWaitVideoSyncSGI()
2083 __GLXDRIdrawable *pdraw; in __glXGetSyncValuesOML() local
2091 pdraw = GetGLXDRIDrawable(dpy, drawable); in __glXGetSyncValuesOML()
2092 psc = pdraw ? pdraw->psc : NULL; in __glXGetSyncValuesOML()
2093 if (pdraw && psc->driScreen->getDrawableMSC) { in __glXGetSyncValuesOML()
2094 ret = psc->driScreen->getDrawableMSC(psc, pdraw, ust, msc, sbc); in __glXGetSyncValuesOML()
2204 __GLXDRIdrawable *pdraw = GetGLXDRIDrawable(dpy, drawable); in __glXSwapBuffersMscOML() local
2205 struct glx_screen *psc = pdraw ? pdraw->psc : NULL; in __glXSwapBuffersMscOML()
2212 if (!pdraw || !gc->isDirect) in __glXSwapBuffersMscOML()
2231 return (*psc->driScreen->swapBuffers)(pdraw, target_msc, divisor, in __glXSwapBuffersMscOML()
2246 __GLXDRIdrawable *pdraw = GetGLXDRIDrawable(dpy, drawable); in __glXWaitForMscOML() local
2247 struct glx_screen *psc = pdraw ? pdraw->psc : NULL; in __glXWaitForMscOML()
2261 if (pdraw && psc->driScreen && psc->driScreen->waitForMSC) { in __glXWaitForMscOML()
2262 ret = psc->driScreen->waitForMSC(pdraw, target_msc, divisor, remainder, in __glXWaitForMscOML()
2278 __GLXDRIdrawable *pdraw = GetGLXDRIDrawable(dpy, drawable); in __glXWaitForSbcOML() local
2279 struct glx_screen *psc = pdraw ? pdraw->psc : NULL; in __glXWaitForSbcOML()
2290 if (pdraw && psc->driScreen && psc->driScreen->waitForSBC) { in __glXWaitForSbcOML()
2291 ret = psc->driScreen->waitForSBC(pdraw, target_sbc, ust, msc, sbc); in __glXWaitForSbcOML()
2368 __GLXDRIdrawable *pdraw = GetGLXDRIDrawable(dpy, drawable); in __glXCopySubBufferMESA() local
2369 if (pdraw != NULL) { in __glXCopySubBufferMESA()
2370 struct glx_screen *psc = pdraw->psc; in __glXCopySubBufferMESA()
2372 (*psc->driScreen->copySubBuffer) (pdraw, x, y, width, height, True); in __glXCopySubBufferMESA()