Lines Matching defs:pdraw
343 __GLXDRIdrawable *pdraw;
357 if (__glxHashLookup(priv->drawHash, glxDrawable, (void *) &pdraw) == 0) {
358 pdraw->refcount ++;
359 return pdraw;
368 pdraw = psc->driScreen->createDrawable(psc, glxDrawable, glxDrawable,
371 if (pdraw == NULL) {
376 if (__glxHashInsert(priv->drawHash, glxDrawable, pdraw)) {
377 (*pdraw->destroyDrawable) (pdraw);
380 pdraw->refcount = 1;
382 return pdraw;
389 __GLXDRIdrawable *pdraw;
395 gc->currentDrawable, (void *) &pdraw) == 0) {
396 if (pdraw->drawable == pdraw->xDrawable) {
397 pdraw->refcount --;
398 if (pdraw->refcount == 0) {
399 pdraw->destroyDrawable(pdraw);
406 gc->currentReadable, (void *) &pdraw) == 0) {
407 if (pdraw->drawable == pdraw->xDrawable) {
408 pdraw->refcount --;
409 if (pdraw->refcount == 0) {
410 pdraw->destroyDrawable(pdraw);