/third_party/mesa3d/src/glx/ |
D | dri2_glx.c | 134 struct dri2_drawable *pdraw, *pread; in dri2_bind_context() local 139 pdraw = (struct dri2_drawable *) driFetchDrawable(context, draw); in dri2_bind_context() 144 if (pdraw) in dri2_bind_context() 145 dri_draw = pdraw->driDrawable; in dri2_bind_context() 161 if (!pdp->invalidateAvailable && pdraw) { in dri2_bind_context() 162 dri2InvalidateBuffers(psc->base.dpy, pdraw->base.xDrawable); in dri2_bind_context() 163 if (pread != pdraw && pread) in dri2_bind_context() 290 struct dri2_drawable *pdraw = (struct dri2_drawable *) base; in dri2DestroyDrawable() local 294 __glxHashDelete(pdp->dri2Hash, pdraw->base.xDrawable); in dri2DestroyDrawable() 295 (*psc->core->destroyDrawable) (pdraw->driDrawable); in dri2DestroyDrawable() [all …]
|
D | dri3_glx.c | 192 struct dri3_drawable *pdraw, *pread; in dri3_bind_context() local 195 pdraw = (struct dri3_drawable *) driFetchDrawable(context, draw); in dri3_bind_context() 200 if (pdraw) in dri3_bind_context() 201 dri_draw = pdraw->loader_drawable.dri_drawable; in dri3_bind_context() 338 struct dri3_drawable *pdraw = (struct dri3_drawable *) base; in dri3_destroy_drawable() local 340 loader_dri3_drawable_fini(&pdraw->loader_drawable); in dri3_destroy_drawable() 342 free(pdraw); in dri3_destroy_drawable() 349 struct dri3_drawable *pdraw; in dri3_create_drawable() local 358 pdraw = calloc(1, sizeof(*pdraw)); in dri3_create_drawable() 359 if (!pdraw) in dri3_create_drawable() [all …]
|
D | dri_common.c | 343 __GLXDRIdrawable *pdraw; in driFetchDrawable() local 357 if (__glxHashLookup(priv->drawHash, glxDrawable, (void *) &pdraw) == 0) { in driFetchDrawable() 358 pdraw->refcount ++; in driFetchDrawable() 359 return pdraw; in driFetchDrawable() 368 pdraw = psc->driScreen->createDrawable(psc, glxDrawable, glxDrawable, in driFetchDrawable() 371 if (pdraw == NULL) { in driFetchDrawable() 376 if (__glxHashInsert(priv->drawHash, glxDrawable, pdraw)) { in driFetchDrawable() 377 (*pdraw->destroyDrawable) (pdraw); in driFetchDrawable() 380 pdraw->refcount = 1; in driFetchDrawable() 382 return pdraw; in driFetchDrawable() [all …]
|
D | glx_pbuffer.c | 65 __GLXDRIdrawable *pdraw; in ChangeDrawableAttribute() local 113 pdraw = GetGLXDRIDrawable(dpy, drawable); in ChangeDrawableAttribute() 115 if (!pdraw) in ChangeDrawableAttribute() 122 pdraw->eventMask = attribs[i * 2 + 1]; in ChangeDrawableAttribute() 176 __GLXDRIdrawable *pdraw; in CreateDRIDrawable() local 188 pdraw = psc->driScreen->createDrawable(psc, drawable, in CreateDRIDrawable() 190 if (pdraw == NULL) { in CreateDRIDrawable() 195 if (__glxHashInsert(priv->drawHash, glxdrawable, pdraw)) { in CreateDRIDrawable() 196 (*pdraw->destroyDrawable) (pdraw); in CreateDRIDrawable() 200 pdraw->textureTarget = determineTextureTarget(attrib_list, num_attribs); in CreateDRIDrawable() [all …]
|
D | glxcmds.c | 77 __GLXDRIdrawable *pdraw; in GetGLXDRIDrawable() local 82 if (__glxHashLookup(priv->drawHash, drawable, (void *) &pdraw) == 0) in GetGLXDRIDrawable() 83 return pdraw; in GetGLXDRIDrawable() 748 __GLXDRIdrawable *pdraw; in glXCreateGLXPixmap() 757 pdraw = psc->driScreen->createDrawable(psc, pixmap, xid, config); in glXCreateGLXPixmap() 758 if (pdraw == NULL) { in glXCreateGLXPixmap() 764 if (__glxHashInsert(priv->drawHash, xid, pdraw)) { in glXCreateGLXPixmap() 765 (*pdraw->destroyDrawable) (pdraw); in glXCreateGLXPixmap() 819 __GLXDRIdrawable *pdraw = GetGLXDRIDrawable(dpy, glxpixmap); in glXDestroyGLXPixmap() 821 if (priv != NULL && pdraw != NULL) { in glXDestroyGLXPixmap() [all …]
|
D | drisw_glx.c | 140 __GLXDRIdrawable *pdraw = &(pdp->base); in swrastGetDrawableInfo() local 141 Display *dpy = pdraw->psc->dpy; in swrastGetDrawableInfo() 147 drawable = pdraw->xDrawable; in swrastGetDrawableInfo() 183 __GLXDRIdrawable *pdraw = &(pdp->base); in swrastXPutImage() local 184 Display *dpy = pdraw->psc->dpy; in swrastXPutImage() 194 drawable = pdraw->xDrawable; in swrastXPutImage() 402 struct drisw_drawable *pdraw, *pread; in drisw_bind_context() local 404 pdraw = (struct drisw_drawable *) driFetchDrawable(context, draw); in drisw_bind_context() 410 pdraw ? pdraw->driDrawable : NULL, in drisw_bind_context() 444 struct drisw_drawable *pdraw = (struct drisw_drawable *) base; in drisw_bind_tex_image() local [all …]
|
D | glxclient.h | 122 int64_t (*swapBuffers)(__GLXDRIdrawable *pdraw, int64_t target_msc, 124 void (*copySubBuffer)(__GLXDRIdrawable *pdraw, 126 int (*getDrawableMSC)(struct glx_screen *psc, __GLXDRIdrawable *pdraw, 128 int (*waitForMSC)(__GLXDRIdrawable *pdraw, int64_t target_msc, 131 int (*waitForSBC)(__GLXDRIdrawable *pdraw, int64_t target_sbc, int64_t *ust, 133 int (*setSwapInterval)(__GLXDRIdrawable *pdraw, int interval); 134 int (*getSwapInterval)(__GLXDRIdrawable *pdraw); 135 int (*getBufferAge)(__GLXDRIdrawable *pdraw); 136 void (*bindTexImage)(__GLXDRIdrawable *pdraw, int buffer, const int *attribs); 137 void (*releaseTexImage)(__GLXDRIdrawable *pdraw, int buffer);
|
D | driwindows_glx.c | 86 struct driwindows_drawable *pdraw, *pread; in driwindows_bind_context() local 88 pdraw = (struct driwindows_drawable *) driFetchDrawable(context, draw); in driwindows_bind_context() 93 if (pdraw == NULL || pread == NULL) in driwindows_bind_context() 97 pdraw->windowsDrawable, pread->windowsDrawable)) in driwindows_bind_context() 250 driwindowsDestroyDrawable(__GLXDRIdrawable * pdraw) in driwindowsDestroyDrawable() argument 252 struct driwindows_drawable *pdp = (struct driwindows_drawable *) pdraw; in driwindowsDestroyDrawable() 311 driwindowsSwapBuffers(__GLXDRIdrawable * pdraw, in driwindowsSwapBuffers() argument 315 struct driwindows_drawable *pdp = (struct driwindows_drawable *) pdraw; in driwindowsSwapBuffers() 331 driwindowsCopySubBuffer(__GLXDRIdrawable * pdraw, in driwindowsCopySubBuffer() argument 334 struct driwindows_drawable *pdp = (struct driwindows_drawable *) pdraw; in driwindowsCopySubBuffer()
|
D | dri2.c | 101 __GLXDRIdrawable *pdraw; in DRI2WireToEvent() local 103 pdraw = dri2GetGlxDrawableFromXDrawableId(dpy, awire->drawable); in DRI2WireToEvent() 104 if (pdraw == NULL) in DRI2WireToEvent() 133 glxDraw = GetGLXDrawable(dpy, pdraw->drawable); in DRI2WireToEvent()
|
/third_party/mesa3d/src/mesa/drivers/dri/common/ |
D | dri_util.c | 679 __DRIdrawable *pdraw; in driCreateNewDrawable() local 683 pdraw = malloc(sizeof *pdraw); in driCreateNewDrawable() 684 if (!pdraw) in driCreateNewDrawable() 687 pdraw->loaderPrivate = data; in driCreateNewDrawable() 689 pdraw->driScreenPriv = screen; in driCreateNewDrawable() 690 pdraw->driContextPriv = NULL; in driCreateNewDrawable() 691 pdraw->refcount = 0; in driCreateNewDrawable() 692 pdraw->lastStamp = 0; in driCreateNewDrawable() 693 pdraw->w = 0; in driCreateNewDrawable() 694 pdraw->h = 0; in driCreateNewDrawable() [all …]
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
D | fd2_draw.c | 158 const struct pipe_draw_start_count_bias *pdraw, in fd2_draw_vbo() argument 165 !u_trim_pipe_prim(pinfo->mode, (unsigned *)&pdraw->count)) in fd2_draw_vbo() 181 if (pdraw->count > 32766) { in fd2_draw_vbo() 194 struct pipe_draw_start_count_bias draw = *pdraw; in fd2_draw_vbo() 212 draw_impl(ctx, pinfo, pdraw, ctx->batch->draw, index_offset, false); in fd2_draw_vbo() 213 draw_impl(ctx, pinfo, pdraw, ctx->batch->binning, index_offset, true); in fd2_draw_vbo()
|
/third_party/mesa3d/include/GL/internal/ |
D | dri_interface.h | 846 __DRIdrawable *pdraw,
|
/third_party/mesa3d/docs/drivers/ |
D | vc4.rst | 261 …apitrace replay <application>.trace --pdraw=GL_AMD_performance_monitor:QPU-total-clk-cycles-vertex…
|