Lines Matching refs:glxDraw
95 struct glx_drawable *glxDraw; in GetGLXDrawable() local
100 if (__glxHashLookup(priv->glXDrawHash, drawable, (void *) &glxDraw) == 0) in GetGLXDrawable()
101 return glxDraw; in GetGLXDrawable()
107 InitGLXDrawable(Display *dpy, struct glx_drawable *glxDraw, XID xDrawable, in InitGLXDrawable() argument
115 glxDraw->xDrawable = xDrawable; in InitGLXDrawable()
116 glxDraw->drawable = drawable; in InitGLXDrawable()
117 glxDraw->lastEventSbc = 0; in InitGLXDrawable()
118 glxDraw->eventSbcWrap = 0; in InitGLXDrawable()
120 return __glxHashInsert(priv->glXDrawHash, drawable, glxDraw); in InitGLXDrawable()
127 struct glx_drawable *glxDraw; in DestroyGLXDrawable() local
132 glxDraw = GetGLXDrawable(dpy, drawable); in DestroyGLXDrawable()
134 free(glxDraw); in DestroyGLXDrawable()
691 struct glx_drawable *glxDraw; in glXCreateGLXPixmap()
707 glxDraw = malloc(sizeof(*glxDraw)); in glXCreateGLXPixmap()
708 if (!glxDraw) in glXCreateGLXPixmap()
723 if (InitGLXDrawable(dpy, glxDraw, pixmap, req->glxpixmap)) { in glXCreateGLXPixmap()
724 free(glxDraw); in glXCreateGLXPixmap()