Lines Matching refs:pdraw

88    __GLXDRIdrawable *pdraw;  in ChangeDrawableAttribute()  local
136 pdraw = GetGLXDRIDrawable(dpy, drawable); in ChangeDrawableAttribute()
138 if (!pdraw) in ChangeDrawableAttribute()
145 pdraw->eventMask = attribs[i * 2 + 1]; in ChangeDrawableAttribute()
197 __GLXDRIdrawable *pdraw; in CreateDRIDrawable() local
209 pdraw = psc->driScreen->createDrawable(psc, drawable, in CreateDRIDrawable()
211 if (pdraw == NULL) { in CreateDRIDrawable()
216 if (__glxHashInsert(priv->drawHash, glxdrawable, pdraw)) { in CreateDRIDrawable()
217 (*pdraw->destroyDrawable) (pdraw); in CreateDRIDrawable()
221 pdraw->textureTarget = determineTextureTarget(attrib_list, num_attribs); in CreateDRIDrawable()
222 pdraw->textureFormat = determineTextureFormat(attrib_list, num_attribs); in CreateDRIDrawable()
231 __GLXDRIdrawable *pdraw = GetGLXDRIDrawable(dpy, drawable); in DestroyDRIDrawable() local
234 if (priv != NULL && pdraw != NULL) { in DestroyDRIDrawable()
235 xid = pdraw->xDrawable; in DestroyDRIDrawable()
236 (*pdraw->destroyDrawable) (pdraw); in DestroyDRIDrawable()
289 __GLXDRIdrawable *pdraw; in __glXGetDrawableAttribute() local
319 pdraw = GetGLXDRIDrawable(dpy, drawable); in __glXGetDrawableAttribute()
331 if (pdraw == NULL || gc == &dummyContext || gc->currentDpy != dpy || in __glXGetDrawableAttribute()
339 psc = pdraw->psc; in __glXGetDrawableAttribute()
342 *value = psc->driScreen->getBufferAge(pdraw); in __glXGetDrawableAttribute()
400 if (pdraw != NULL) { in __glXGetDrawableAttribute()
401 if (!pdraw->textureTarget) in __glXGetDrawableAttribute()
402 pdraw->textureTarget = in __glXGetDrawableAttribute()
404 if (!pdraw->textureFormat) in __glXGetDrawableAttribute()
405 pdraw->textureFormat = in __glXGetDrawableAttribute()