• Home
  • Raw
  • Download

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()
748 __GLXDRIdrawable *pdraw; in glXCreateGLXPixmap()
757 pdraw = psc->driScreen->createDrawable(psc, pixmap, xid, config); in glXCreateGLXPixmap()
758 if (pdraw == NULL) { in glXCreateGLXPixmap()
764 if (__glxHashInsert(priv->drawHash, xid, pdraw)) { in glXCreateGLXPixmap()
765 (*pdraw->destroyDrawable) (pdraw); in glXCreateGLXPixmap()
819 __GLXDRIdrawable *pdraw = GetGLXDRIDrawable(dpy, glxpixmap); in glXDestroyGLXPixmap()
821 if (priv != NULL && pdraw != NULL) { in glXDestroyGLXPixmap()
822 (*pdraw->destroyDrawable) (pdraw); in glXDestroyGLXPixmap()
850 __GLXDRIdrawable *pdraw = GetGLXDRIDrawable(dpy, drawable); in glXSwapBuffers()
852 if (pdraw != NULL) { in glXSwapBuffers()
855 pdraw->psc->driScreen->swapBuffers(pdraw, 0, 0, 0, flush); in glXSwapBuffers()
1756 __GLXDRIdrawable *pdraw = in glXSwapIntervalSGI() local
1761 if (pdraw) in glXSwapIntervalSGI()
1762 psc->driScreen->setSwapInterval(pdraw, interval); in glXSwapIntervalSGI()
1807 __GLXDRIdrawable *pdraw = in glXSwapIntervalMESA() local
1813 if (!pdraw) in glXSwapIntervalMESA()
1816 return psc->driScreen->setSwapInterval(pdraw, interval); in glXSwapIntervalMESA()
1834 __GLXDRIdrawable *pdraw = in glXGetSwapIntervalMESA() local
1836 if (pdraw) in glXGetSwapIntervalMESA()
1837 return psc->driScreen->getSwapInterval(pdraw); in glXGetSwapIntervalMESA()
1853 __GLXDRIdrawable *pdraw = GetGLXDRIDrawable(dpy, drawable); in glXSwapIntervalEXT() local
1859 if (!pdraw) { in glXSwapIntervalEXT()
1865 !__glXExtensionBitIsEnabled(pdraw->psc, EXT_swap_control_tear_bit)) { in glXSwapIntervalEXT()
1869 if (pdraw->psc->driScreen->setSwapInterval) in glXSwapIntervalEXT()
1870 pdraw->psc->driScreen->setSwapInterval(pdraw, interval); in glXSwapIntervalEXT()
1886 __GLXDRIdrawable *pdraw; in glXGetVideoSyncSGI() local
1897 pdraw = GetGLXDRIDrawable(gc->currentDpy, gc->currentDrawable); in glXGetVideoSyncSGI()
1904 ret = psc->driScreen->getDrawableMSC(psc, pdraw, &ust, &msc, &sbc); in glXGetVideoSyncSGI()
1919 __GLXDRIdrawable *pdraw; in glXWaitVideoSyncSGI() local
1937 pdraw = GetGLXDRIDrawable(gc->currentDpy, gc->currentDrawable); in glXWaitVideoSyncSGI()
1940 ret = psc->driScreen->waitForMSC(pdraw, 0, divisor, remainder, &ust, &msc, in glXWaitVideoSyncSGI()
2079 __GLXDRIdrawable *pdraw; in glXGetSyncValuesOML() local
2087 pdraw = GetGLXDRIDrawable(dpy, drawable); in glXGetSyncValuesOML()
2088 psc = pdraw ? pdraw->psc : NULL; in glXGetSyncValuesOML()
2089 if (pdraw && psc->driScreen->getDrawableMSC) { in glXGetSyncValuesOML()
2090 ret = psc->driScreen->getDrawableMSC(psc, pdraw, ust, msc, sbc); in glXGetSyncValuesOML()
2199 __GLXDRIdrawable *pdraw = GetGLXDRIDrawable(dpy, drawable); in glXSwapBuffersMscOML() local
2200 struct glx_screen *psc = pdraw ? pdraw->psc : NULL; in glXSwapBuffersMscOML()
2207 if (!pdraw || !gc->isDirect) in glXSwapBuffersMscOML()
2226 return (*psc->driScreen->swapBuffers)(pdraw, target_msc, divisor, in glXSwapBuffersMscOML()
2240 __GLXDRIdrawable *pdraw = GetGLXDRIDrawable(dpy, drawable); in glXWaitForMscOML() local
2241 struct glx_screen *psc = pdraw ? pdraw->psc : NULL; in glXWaitForMscOML()
2255 if (pdraw && psc->driScreen && psc->driScreen->waitForMSC) { in glXWaitForMscOML()
2256 ret = psc->driScreen->waitForMSC(pdraw, target_msc, divisor, remainder, in glXWaitForMscOML()
2271 __GLXDRIdrawable *pdraw = GetGLXDRIDrawable(dpy, drawable); in glXWaitForSbcOML() local
2272 struct glx_screen *psc = pdraw ? pdraw->psc : NULL; in glXWaitForSbcOML()
2283 if (pdraw && psc->driScreen && psc->driScreen->waitForSBC) { in glXWaitForSbcOML()
2284 ret = psc->driScreen->waitForSBC(pdraw, target_sbc, ust, msc, sbc); in glXWaitForSbcOML()
2361 __GLXDRIdrawable *pdraw = GetGLXDRIDrawable(dpy, drawable); in glXCopySubBufferMESA() local
2362 if (pdraw != NULL) { in glXCopySubBufferMESA()
2363 struct glx_screen *psc = pdraw->psc; in glXCopySubBufferMESA()
2365 (*psc->driScreen->copySubBuffer) (pdraw, x, y, width, height, True); in glXCopySubBufferMESA()
2428 __GLXDRIdrawable *pdraw = GetGLXDRIDrawable(dpy, drawable); in glXBindTexImageEXT() local
2429 if (pdraw != NULL) { in glXBindTexImageEXT()
2430 struct glx_screen *psc = pdraw->psc; in glXBindTexImageEXT()
2432 (*psc->driScreen->bindTexImage) (pdraw, buffer, attrib_list); in glXBindTexImageEXT()
2486 __GLXDRIdrawable *pdraw = GetGLXDRIDrawable(dpy, drawable); in glXReleaseTexImageEXT() local
2487 if (pdraw != NULL) { in glXReleaseTexImageEXT()
2488 struct glx_screen *psc = pdraw->psc; in glXReleaseTexImageEXT()
2490 (*psc->driScreen->releaseTexImage) (pdraw, buffer); in glXReleaseTexImageEXT()