Lines Matching defs:drawable
367 /* if this is a no-config context, infer the fbconfig from the drawable */
373 /* We can't find this GLX drawable above because it's either:
383 * Like other drawable types, GLXPbuffers are shared; any client which
391 * than the GLX drawable creator has no way to find which X drawable
392 * (window or pixmap) this GLX drawable uses, except the GLXPbuffer
393 * case which use the same XID for both X pixmap and GLX drawable.
396 /* Infer the GLX drawable type. */
400 ErrorMessageF("GLXPixmap drawable type is not supported\n");
412 ErrorMessageF("failed to create drawable\n");
458 GLXDrawable drawable = pdraw->drawable;
462 if (!__glXGetDrawableAttribute(priv->dpy, drawable, GLX_WIDTH, &dummy)) {
464 __glxHashDelete(priv->drawHash, drawable);
473 releaseDrawable(const struct glx_display *priv, GLXDrawable drawable)
477 if (__glxHashLookup(priv->drawHash, drawable, (void *) &pdraw) == 0) {
478 /* Only native window and pbuffer have same GLX and X11 drawable ID. */
479 if (pdraw->drawable == pdraw->xDrawable) {
491 __glxHashDelete(priv->drawHash, drawable);