/external/mesa3d/src/mesa/drivers/dri/swrast/ |
D | swrast_priv.h | 59 struct dri_context struct 68 static inline struct dri_context * argument 69 dri_context(__DRIcontext * driContextPriv) in dri_context() function 71 return (struct dri_context *)driContextPriv->driverPrivate; in dri_context() 74 static inline struct dri_context * 77 return (struct dri_context *) ctx; in swrast_context()
|
D | swrast.c | 81 struct dri_context *dri_ctx; in swrastSetTexBuffer2() 759 struct dri_context *ctx = NULL; in dri_create_context() 760 struct dri_context *share = (struct dri_context *)sharedContextPrivate; in dri_create_context() 777 ctx = CALLOC_STRUCT(dri_context); in dri_create_context() 842 struct dri_context *ctx = dri_context(cPriv); in dri_destroy_context() 867 struct dri_context *ctx = dri_context(cPriv); in dri_make_current()
|
/external/mesa3d/src/gallium/state_trackers/dri/ |
D | dri_context.c | 53 struct dri_context *ctx = NULL; in dri_create_context() 134 struct dri_context *share_ctx = NULL; in dri_create_context() 136 share_ctx = (struct dri_context *)sharedContextPrivate; in dri_create_context() 140 ctx = CALLOC_STRUCT(dri_context); in dri_create_context() 224 struct dri_context *ctx = dri_context(cPriv); in dri_destroy_context() 249 struct dri_context *ctx = dri_context(cPriv); in dri_unbind_context() 275 struct dri_context *ctx = dri_context(cPriv); in dri_make_current() 305 struct dri_context * 314 return (struct dri_context *) st ? st->st_manager_private : NULL; in dri_get_current()
|
D | dri_context.h | 45 struct dri_context struct 62 static inline struct dri_context * argument 63 dri_context(__DRIcontext * driContextPriv) in dri_context() function 67 return (struct dri_context *)driContextPriv->driverPrivate; in dri_context() 82 struct dri_context *
|
D | dri_drawable.h | 37 struct dri_context; 74 void (*allocate_textures)(struct dri_context *ctx, 81 void (*flush_frontbuffer)(struct dri_context *ctx, 86 struct dri_context *ctx, 88 void (*flush_swapbuffers)(struct dri_context *ctx,
|
D | dri_drawable.c | 53 struct dri_context *ctx = (struct dri_context *)stctx->st_manager_private; in dri_st_framebuffer_validate() 113 struct dri_context *ctx = (struct dri_context *)stctx->st_manager_private; in dri_st_framebuffer_flush_front() 130 struct dri_context *ctx = (struct dri_context *)stctx->st_manager_private; in dri_st_framebuffer_flush_swapbuffers() 213 dri_drawable_validate_att(struct dri_context *ctx, in dri_drawable_validate_att() 244 struct dri_context *ctx = dri_context(pDRICtx); in dri_set_tex_buffer2() 451 dri_postprocessing(struct dri_context *ctx, in dri_postprocessing() 476 struct dri_context *ctx = dri_context(cPriv); in dri_flush()
|
D | Makefile.sources | 2 dri_context.c \ 3 dri_context.h \
|
D | dri_helpers.c | 93 struct st_context_iface *stapi = dri_context(_ctx)->st; in dri2_create_fence() 113 struct st_context_iface *stapi = dri_context(_ctx)->st; in dri2_create_fence_fd() 214 struct pipe_context *ctx = dri_context(_ctx)->st->pipe; in dri2_server_wait_sync() 254 struct gl_context *ctx = ((struct st_context *)dri_context(context)->st)->ctx; in dri2_create_image_from_renderbuffer2() 328 struct gl_context *ctx = ((struct st_context *)dri_context(context)->st)->ctx; in dri2_create_from_texture()
|
D | drisw.c | 194 struct dri_context *ctx = dri_get_current(dPriv->driScreenPriv); in drisw_swap_buffers() 217 struct dri_context *ctx = dri_get_current(dPriv->driScreenPriv); in drisw_copy_sub_buffer() 238 drisw_flush_frontbuffer(struct dri_context *ctx, in drisw_flush_frontbuffer() 262 drisw_allocate_textures(struct dri_context *stctx, in drisw_allocate_textures() 330 struct dri_context *ctx, in drisw_update_tex_buffer()
|
D | meson.build | 22 'dri_context.c', 23 'dri_context.h',
|
D | dri2.c | 617 dri2_allocate_textures(struct dri_context *ctx, in dri2_allocate_textures() 892 dri2_flush_frontbuffer(struct dri_context *ctx, in dri2_flush_frontbuffer() 929 dri2_flush_swapbuffers(struct dri_context *ctx, in dri2_flush_swapbuffers() 942 struct dri_context *ctx, in dri2_update_tex_buffer() 1551 struct dri_context *ctx = dri_context(context); in dri2_blit_image() 1597 struct dri_context *ctx = dri_context(context); in dri2_map_image() 1625 struct dri_context *ctx = dri_context(context); in dri2_unmap_image() 1675 struct pipe_screen *screen = dri_context(_ctx)->st->pipe->screen; in dri2_interop_query_device_info() 1700 struct st_context_iface *st = dri_context(_ctx)->st; in dri2_interop_export_object()
|
D | dri_screen.h | 45 struct dri_context;
|
D | dri_screen.c | 488 struct dri_context *ctx = (struct dri_context *)st->st_manager_private; in dri_set_background_context()
|
/external/mesa3d/src/glx/ |
D | dri_glx.c | 79 struct dri_context struct 607 struct dri_context *pcp = (struct dri_context *) context; in dri_destroy_context() 624 struct dri_context *pcp = (struct dri_context *) context; in dri_bind_context() 646 struct dri_context *pcp = (struct dri_context *) context; in dri_unbind_context() 669 struct dri_context *pcp, *pcp_shared; in dri_create_context() 690 pcp_shared = (struct dri_context *) shareList; in dri_create_context()
|
/external/mesa3d/src/egl/drivers/dri2/ |
D | egl_dri2.c | 1217 dri2_ctx_shared ? dri2_ctx_shared->dri_context : NULL; in dri2_create_context() 1321 dri2_ctx->dri_context = in dri2_create_context() 1333 dri2_ctx->dri_context = in dri2_create_context() 1344 dri2_ctx->dri_context = in dri2_create_context() 1354 dri2_ctx->dri_context = in dri2_create_context() 1365 dri2_ctx->dri_context = in dri2_create_context() 1374 if (!dri2_ctx->dri_context) in dri2_create_context() 1394 dri2_dpy->core->destroyContext(dri2_ctx->dri_context); in dri2_destroy_context() 1455 __DRIcontext *dri_ctx = dri2_egl_context(ctx)->dri_context; in dri2_surf_update_fence_fd() 1504 cctx = (dri2_ctx) ? dri2_ctx->dri_context : NULL; in dri2_make_current() [all …]
|
D | egl_dri2.h | 236 __DRIcontext *dri_context; member
|
D | platform_x11_dri3.c | 75 return dri2_ctx->dri_context; in egl_dri3_get_dri_context()
|
D | platform_wayland.c | 936 dri2_dpy->image->blitImage(dri2_ctx->dri_context, in dri2_wl_swap_buffers_with_damage()
|
/external/mesa3d/src/loader/ |
D | loader_dri3_helper.c | 139 __DRIcontext *dri_context; in loader_dri3_blit_image() local 145 dri_context = draw->vtable->get_dri_context(draw); in loader_dri3_blit_image() 147 if (!dri_context || !draw->vtable->in_current_context(draw)) { in loader_dri3_blit_image() 148 dri_context = loader_dri3_blit_context_get(draw); in loader_dri3_blit_image() 153 if (dri_context) in loader_dri3_blit_image() 154 draw->ext->image->blitImage(dri_context, dst, src, dstx0, dsty0, in loader_dri3_blit_image() 161 return dri_context != NULL; in loader_dri3_blit_image() 630 __DRIcontext *dri_context = draw->vtable->get_dri_context(draw); in loader_dri3_flush() local 632 if (dri_context) { in loader_dri3_flush() 633 draw->ext->flush->flush_with_flags(dri_context, draw->dri_drawable, in loader_dri3_flush()
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nouveau_context.h | 69 __DRIcontext *dri_context; member
|
D | nouveau_context.c | 82 nctx->dri_context = dri_ctx; in nouveau_context_create() 414 __DRIcontext *dri_ctx = to_nouveau_context(ctx)->dri_context; in nouveau_validate_framebuffer()
|
D | nouveau_driver.c | 78 __DRIdrawable *drawable = nctx->dri_context->driDrawablePriv; in nouveau_flush()
|