Lines Matching refs:pdraw
545 struct dri_drawable *pdraw, *pread; in dri_bind_context() local
547 pdraw = (struct dri_drawable *) driFetchDrawable(context, draw); in dri_bind_context()
552 if (pdraw == NULL || pread == NULL) in dri_bind_context()
556 pdraw->driDrawable, pread->driDrawable)) in dri_bind_context()
647 driDestroyDrawable(__GLXDRIdrawable * pdraw) in driDestroyDrawable() argument
649 struct dri_screen *psc = (struct dri_screen *) pdraw->psc; in driDestroyDrawable()
650 struct dri_drawable *pdp = (struct dri_drawable *) pdraw; in driDestroyDrawable()
653 XF86DRIDestroyDrawable(psc->base.dpy, psc->base.scr, pdraw->drawable); in driDestroyDrawable()
654 free(pdraw); in driDestroyDrawable()
705 driSwapBuffers(__GLXDRIdrawable * pdraw, int64_t unused1, int64_t unused2, in driSwapBuffers() argument
708 struct dri_screen *psc = (struct dri_screen *) pdraw->psc; in driSwapBuffers()
709 struct dri_drawable *pdp = (struct dri_drawable *) pdraw; in driSwapBuffers()
720 driCopySubBuffer(__GLXDRIdrawable * pdraw, in driCopySubBuffer() argument
723 struct dri_drawable *pdp = (struct dri_drawable *) pdraw; in driCopySubBuffer()
749 driSetSwapInterval(__GLXDRIdrawable *pdraw, int interval) in driSetSwapInterval() argument
751 struct dri_drawable *pdp = (struct dri_drawable *) pdraw; in driSetSwapInterval()
753 if (pdraw != NULL) { in driSetSwapInterval()
754 struct dri_screen *psc = (struct dri_screen *) pdraw->psc; in driSetSwapInterval()
765 driGetSwapInterval(__GLXDRIdrawable *pdraw) in driGetSwapInterval() argument
767 struct dri_drawable *pdp = (struct dri_drawable *) pdraw; in driGetSwapInterval()
769 if (pdraw != NULL) { in driGetSwapInterval()
770 struct dri_screen *psc = (struct dri_screen *) pdraw->psc; in driGetSwapInterval()