/external/mesa3d/src/glx/ |
D | dri2_glx.c | 143 struct dri2_drawable *pdraw, *pread; in dri2_bind_context() local 146 pdraw = (struct dri2_drawable *) driFetchDrawable(context, draw); in dri2_bind_context() 151 if (pdraw == NULL || pread == NULL) in dri2_bind_context() 155 pdraw->driDrawable, pread->driDrawable)) in dri2_bind_context() 163 dri2InvalidateBuffers(psc->base.dpy, pdraw->base.xDrawable); in dri2_bind_context() 164 if (pread != pdraw) in dri2_bind_context() 326 struct dri2_drawable *pdraw = (struct dri2_drawable *) base; in dri2DestroyDrawable() local 330 __glxHashDelete(pdp->dri2Hash, pdraw->base.xDrawable); in dri2DestroyDrawable() 331 (*psc->core->destroyDrawable) (pdraw->driDrawable); in dri2DestroyDrawable() 340 if (pdraw->base.xDrawable != pdraw->base.drawable) in dri2DestroyDrawable() [all …]
|
D | dri_common.c | 389 __GLXDRIdrawable *pdraw; in driFetchDrawable() local 399 if (__glxHashLookup(priv->drawHash, glxDrawable, (void *) &pdraw) == 0) { in driFetchDrawable() 400 pdraw->refcount ++; in driFetchDrawable() 401 return pdraw; in driFetchDrawable() 404 pdraw = psc->driScreen->createDrawable(psc, glxDrawable, in driFetchDrawable() 407 if (pdraw == NULL) { in driFetchDrawable() 412 if (__glxHashInsert(priv->drawHash, glxDrawable, pdraw)) { in driFetchDrawable() 413 (*pdraw->destroyDrawable) (pdraw); in driFetchDrawable() 416 pdraw->refcount = 1; in driFetchDrawable() 418 return pdraw; in driFetchDrawable() [all …]
|
D | drisw_glx.c | 137 __GLXDRIdrawable *pdraw = &(pdp->base); in swrastGetDrawableInfo() local 138 Display *dpy = pdraw->psc->dpy; in swrastGetDrawableInfo() 144 drawable = pdraw->xDrawable; in swrastGetDrawableInfo() 179 __GLXDRIdrawable *pdraw = &(pdp->base); in swrastPutImage() local 180 Display *dpy = pdraw->psc->dpy; in swrastPutImage() 196 drawable = pdraw->xDrawable; in swrastPutImage() 272 struct drisw_drawable *pdraw, *pread; in drisw_bind_context() local 274 pdraw = (struct drisw_drawable *) driFetchDrawable(context, draw); in drisw_bind_context() 279 if (pdraw == NULL || pread == NULL) in drisw_bind_context() 283 pdraw->driDrawable, pread->driDrawable)) in drisw_bind_context() [all …]
|
D | dri_glx.c | 534 struct dri_drawable *pdraw, *pread; in dri_bind_context() local 536 pdraw = (struct dri_drawable *) driFetchDrawable(context, draw); in dri_bind_context() 541 if (pdraw == NULL || pread == NULL) in dri_bind_context() 545 pdraw->driDrawable, pread->driDrawable)) in dri_bind_context() 631 driDestroyDrawable(__GLXDRIdrawable * pdraw) in driDestroyDrawable() argument 633 struct dri_screen *psc = (struct dri_screen *) pdraw->psc; in driDestroyDrawable() 634 struct dri_drawable *pdp = (struct dri_drawable *) pdraw; in driDestroyDrawable() 637 XF86DRIDestroyDrawable(psc->base.dpy, psc->base.scr, pdraw->drawable); in driDestroyDrawable() 638 Xfree(pdraw); in driDestroyDrawable() 690 driSwapBuffers(__GLXDRIdrawable * pdraw, int64_t unused1, int64_t unused2, in driSwapBuffers() argument [all …]
|
D | glx_pbuffer.c | 87 __GLXDRIdrawable *pdraw; in ChangeDrawableAttribute() local 135 pdraw = GetGLXDRIDrawable(dpy, drawable); in ChangeDrawableAttribute() 137 if (!pdraw) in ChangeDrawableAttribute() 144 pdraw->eventMask = attribs[i * 2 + 1]; in ChangeDrawableAttribute() 196 __GLXDRIdrawable *pdraw; in CreateDRIDrawable() local 203 pdraw = psc->driScreen->createDrawable(psc, drawable, in CreateDRIDrawable() 205 if (pdraw == NULL) { in CreateDRIDrawable() 210 if (__glxHashInsert(priv->drawHash, glxdrawable, pdraw)) { in CreateDRIDrawable() 211 (*pdraw->destroyDrawable) (pdraw); in CreateDRIDrawable() 215 pdraw->textureTarget = determineTextureTarget(attrib_list, num_attribs); in CreateDRIDrawable() [all …]
|
D | glxcmds.c | 80 __GLXDRIdrawable *pdraw; in GetGLXDRIDrawable() local 85 if (__glxHashLookup(priv->drawHash, drawable, (void *) &pdraw) == 0) in GetGLXDRIDrawable() 86 return pdraw; in GetGLXDRIDrawable() 699 __GLXDRIdrawable *pdraw; in glXCreateGLXPixmap() 708 pdraw = psc->driScreen->createDrawable(psc, pixmap, xid, config); in glXCreateGLXPixmap() 709 if (pdraw == NULL) { in glXCreateGLXPixmap() 715 if (__glxHashInsert(priv->drawHash, xid, pdraw)) { in glXCreateGLXPixmap() 716 (*pdraw->destroyDrawable) (pdraw); in glXCreateGLXPixmap() 770 __GLXDRIdrawable *pdraw = GetGLXDRIDrawable(dpy, glxpixmap); in glXDestroyGLXPixmap() 772 if (pdraw != NULL) { in glXDestroyGLXPixmap() [all …]
|
D | glxclient.h | 115 int64_t (*swapBuffers)(__GLXDRIdrawable *pdraw, int64_t target_msc, 117 void (*copySubBuffer)(__GLXDRIdrawable *pdraw, 119 int (*getDrawableMSC)(struct glx_screen *psc, __GLXDRIdrawable *pdraw, 121 int (*waitForMSC)(__GLXDRIdrawable *pdraw, int64_t target_msc, 124 int (*waitForSBC)(__GLXDRIdrawable *pdraw, int64_t target_sbc, int64_t *ust, 126 int (*setSwapInterval)(__GLXDRIdrawable *pdraw, int interval); 127 int (*getSwapInterval)(__GLXDRIdrawable *pdraw);
|
D | dri2.c | 102 __GLXDRIdrawable *pdraw; in DRI2WireToEvent() local 104 pdraw = dri2GetGlxDrawableFromXDrawableId(dpy, awire->drawable); in DRI2WireToEvent() 132 glxDraw = GetGLXDrawable(dpy, pdraw->drawable); in DRI2WireToEvent()
|
/external/mesa3d/src/mesa/drivers/dri/common/ |
D | dri_util.c | 474 __DRIdrawable *pdraw; in dri2CreateNewDrawable() local 476 pdraw = malloc(sizeof *pdraw); in dri2CreateNewDrawable() 477 if (!pdraw) in dri2CreateNewDrawable() 480 pdraw->loaderPrivate = data; in dri2CreateNewDrawable() 482 pdraw->driScreenPriv = screen; in dri2CreateNewDrawable() 483 pdraw->driContextPriv = NULL; in dri2CreateNewDrawable() 484 pdraw->refcount = 0; in dri2CreateNewDrawable() 485 pdraw->lastStamp = 0; in dri2CreateNewDrawable() 486 pdraw->w = 0; in dri2CreateNewDrawable() 487 pdraw->h = 0; in dri2CreateNewDrawable() [all …]
|
/external/mesa3d/include/GL/internal/ |
D | dri_interface.h | 592 __DRIdrawable *pdraw,
|