Lines Matching refs:drawable
82 ChangeDrawableAttribute(Display * dpy, GLXDrawable drawable, in ChangeDrawableAttribute() argument
93 if ((dpy == NULL) || (drawable == 0)) { in ChangeDrawableAttribute()
111 req->drawable = drawable; in ChangeDrawableAttribute()
124 output[0] = (CARD32) drawable; in ChangeDrawableAttribute()
135 pdraw = GetGLXDRIDrawable(dpy, drawable); in ChangeDrawableAttribute()
192 XID drawable, XID glxdrawable, in CreateDRIDrawable() argument
203 pdraw = psc->driScreen->createDrawable(psc, drawable, in CreateDRIDrawable()
222 DestroyDRIDrawable(Display *dpy, GLXDrawable drawable, int destroy_xdrawable) in DestroyDRIDrawable() argument
225 __GLXDRIdrawable *pdraw = GetGLXDRIDrawable(dpy, drawable); in DestroyDRIDrawable()
231 __glxHashDelete(priv->drawHash, drawable); in DestroyDRIDrawable()
241 XID drawable, XID glxdrawable, in CreateDRIDrawable() argument
248 DestroyDRIDrawable(Display *dpy, GLXDrawable drawable, int destroy_xdrawable) in DestroyDRIDrawable() argument
270 GetDrawableAttribute(Display * dpy, GLXDrawable drawable, in GetDrawableAttribute() argument
282 if ((dpy == NULL) || (drawable == 0)) { in GetDrawableAttribute()
304 req->drawable = drawable; in GetDrawableAttribute()
311 data[0] = (CARD32) drawable; in GetDrawableAttribute()
349 __GLXDRIdrawable *pdraw = GetGLXDRIDrawable(dpy, drawable); in GetDrawableAttribute()
371 protocolDestroyDrawable(Display *dpy, GLXDrawable drawable, CARD32 glxCode) in protocolDestroyDrawable() argument
385 req->pbuffer = (GLXPbuffer) drawable; in protocolDestroyDrawable()
396 Drawable drawable, const int *attrib_list, CARD8 glxCode) in CreateDrawable() argument
427 req->window = drawable; in CreateDrawable()
437 if (InitGLXDrawable(dpy, glxDraw, drawable, xid)) { in CreateDrawable()
442 if (!CreateDRIDrawable(dpy, config, drawable, xid, attrib_list, i)) { in CreateDrawable()
459 DestroyDrawable(Display * dpy, GLXDrawable drawable, CARD32 glxCode) in DestroyDrawable() argument
461 if ((dpy == NULL) || (drawable == 0)) { in DestroyDrawable()
465 protocolDestroyDrawable(dpy, drawable, glxCode); in DestroyDrawable()
467 DestroyGLXDrawable(dpy, drawable); in DestroyDrawable()
468 DestroyDRIDrawable(dpy, drawable, GL_FALSE); in DestroyDrawable()
581 DestroyPbuffer(Display * dpy, GLXDrawable drawable) in DestroyPbuffer() argument
586 if ((dpy == NULL) || (drawable == 0)) { in DestroyPbuffer()
602 req->pbuffer = (GLXPbuffer) drawable; in DestroyPbuffer()
611 data[0] = (CARD32) drawable; in DestroyPbuffer()
621 DestroyDRIDrawable(dpy, drawable, GL_TRUE); in DestroyPbuffer()
736 glXQueryDrawable(Display * dpy, GLXDrawable drawable, in glXQueryDrawable() argument
745 if (apple_glx_pixmap_query(drawable, attribute, value)) in glXQueryDrawable()
748 if (apple_glx_pbuffer_query(drawable, attribute, value)) in glXQueryDrawable()
763 (dpy, drawable, &root, &x, &y, &width, &height, &bd, &depth)) { in glXQueryDrawable()
775 GetDrawableAttribute(dpy, drawable, attribute, value); in glXQueryDrawable()
785 glXQueryGLXPbufferSGIX(Display * dpy, GLXPbufferSGIX drawable, in glXQueryGLXPbufferSGIX() argument
788 return GetDrawableAttribute(dpy, drawable, attribute, value); in glXQueryGLXPbufferSGIX()
796 glXSelectEvent(Display * dpy, GLXDrawable drawable, unsigned long mask) in glXSelectEvent() argument
801 if (apple_glx_pbuffer_set_event_mask(drawable, mask)) in glXSelectEvent()
808 if (XGetWindowAttributes(dpy, drawable, &xwattr)) in glXSelectEvent()
812 __glXSendError(dpy, GLXBadDrawable, drawable, in glXSelectEvent()
820 ChangeDrawableAttribute(dpy, drawable, attribs, 1); in glXSelectEvent()
829 glXGetSelectedEvent(Display * dpy, GLXDrawable drawable, unsigned long *mask) in glXGetSelectedEvent() argument
834 if (apple_glx_pbuffer_get_event_mask(drawable, mask)) in glXGetSelectedEvent()
841 if (XGetWindowAttributes(dpy, drawable, &xwattr)) { in glXGetSelectedEvent()
848 __glXSendError(dpy, GLXBadDrawable, drawable, X_GLXGetDrawableAttributes, in glXGetSelectedEvent()
859 GetDrawableAttribute(dpy, drawable, GLX_EVENT_MASK_SGIX, &value); in glXGetSelectedEvent()
950 (Display * dpy, GLXDrawable drawable,
951 unsigned long mask), (dpy, drawable, mask), glXSelectEvent)
955 (Display * dpy, GLXDrawable drawable,
956 unsigned long *mask), (dpy, drawable, mask),