Lines Matching defs:drawable
73 apple_glx_find_drawable(Display * dpy, GLXDrawable drawable)
80 if (i->drawable == drawable) {
135 /* Return true if the drawable was destroyed. */
196 * drawable is made None.
239 common_init(Display * dpy, GLXDrawable drawable, struct apple_glx_drawable *d)
246 d->drawable = drawable;
305 /* Link the new drawable into the global list. */
320 GLXDrawable drawable,
333 common_init(dpy, drawable, d);
342 apple_glx_diagnostic("%s: new drawable %p\n", __func__, (void *) d);
388 * to the drawable.
404 XGetGeometry(dpy, d->drawable, &root, &x, &y, &width, &height, &bd,
409 * Note: this may not actually destroy the drawable.
410 * If another context retains a reference to the drawable
442 apple_glx_drawable_find_by_type(GLXDrawable drawable, int type, int flags)
449 if (d->type == type && d->drawable == drawable) {
468 apple_glx_drawable_find(GLXDrawable drawable, int flags)
475 if (d->drawable == drawable) {
493 /* Return true if the type is valid for the drawable. */
496 GLXDrawable drawable, int type)
503 if (drawable == d->drawable && type == d->type) {