Home
last modified time | relevance | path

Searched refs:dri_context (Results 1 – 23 of 23) sorted by relevance

/external/mesa3d/src/mesa/drivers/dri/swrast/
Dswrast_priv.h59 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()
Dswrast.c82 struct dri_context *dri_ctx; in swrastSetTexBuffer2()
764 struct dri_context *ctx = NULL; in dri_create_context()
765 struct dri_context *share = (struct dri_context *)sharedContextPrivate; in dri_create_context()
782 ctx = CALLOC_STRUCT(dri_context); in dri_create_context()
848 struct dri_context *ctx = dri_context(cPriv); in dri_destroy_context()
873 mesaCtx = &dri_context(cPriv)->Base; in dri_make_current()
/external/mesa3d/src/gallium/frontends/dri/
Ddri_context.c55 struct dri_context *ctx = NULL; in dri_create_context()
142 struct dri_context *share_ctx = NULL; in dri_create_context()
144 share_ctx = (struct dri_context *)sharedContextPrivate; in dri_create_context()
148 ctx = CALLOC_STRUCT(dri_context); in dri_create_context()
232 struct dri_context *ctx = dri_context(cPriv); in dri_destroy_context()
257 struct dri_context *ctx = dri_context(cPriv); in dri_unbind_context()
283 struct dri_context *ctx = dri_context(cPriv); in dri_make_current()
313 struct dri_context *
322 return (struct dri_context *) st ? st->st_manager_private : NULL; in dri_get_current()
Ddri_context.h45 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 *
Ddri_drawable.h37 struct dri_context;
69 void (*allocate_textures)(struct dri_context *ctx,
76 void (*flush_frontbuffer)(struct dri_context *ctx,
81 struct dri_context *ctx,
83 void (*flush_swapbuffers)(struct dri_context *ctx,
Ddri_drawable.c50 struct dri_context *ctx = (struct dri_context *)stctx->st_manager_private; in dri_st_framebuffer_validate()
122 struct dri_context *ctx = (struct dri_context *)stctx->st_manager_private; in dri_st_framebuffer_flush_front()
139 struct dri_context *ctx = (struct dri_context *)stctx->st_manager_private; in dri_st_framebuffer_flush_swapbuffers()
221 dri_drawable_validate_att(struct dri_context *ctx, in dri_drawable_validate_att()
252 struct dri_context *ctx = dri_context(pDRICtx); in dri_set_tex_buffer2()
396 dri_postprocessing(struct dri_context *ctx, in dri_postprocessing()
408 struct dri_context *ctx;
471 struct dri_context *ctx = dri_context(cPriv); in dri_flush()
DMakefile.sources2 dri_context.c \
3 dri_context.h \
Ddri_helpers.c94 struct st_context_iface *stapi = dri_context(_ctx)->st; in dri2_create_fence()
114 struct st_context_iface *stapi = dri_context(_ctx)->st; in dri2_create_fence_fd()
215 struct pipe_context *ctx = dri_context(_ctx)->st->pipe; in dri2_server_wait_sync()
261 struct gl_context *ctx = ((struct st_context *)dri_context(context)->st)->ctx; in dri2_create_image_from_renderbuffer2()
329 struct gl_context *ctx = ((struct st_context *)dri_context(context)->st)->ctx; in dri2_create_from_texture()
Dmeson.build24 'dri_context.c',
25 'dri_context.h',
Ddrisw.c239 struct dri_context *ctx = dri_get_current(dPriv->driScreenPriv); in drisw_swap_buffers()
272 struct dri_context *ctx = dri_get_current(dPriv->driScreenPriv); in drisw_copy_sub_buffer()
293 drisw_flush_frontbuffer(struct dri_context *ctx, in drisw_flush_frontbuffer()
323 drisw_allocate_textures(struct dri_context *stctx, in drisw_allocate_textures()
408 struct dri_context *ctx, in drisw_update_tex_buffer()
Ddri2.c394 dri2_allocate_textures(struct dri_context *ctx, in dri2_allocate_textures()
673 dri2_flush_frontbuffer(struct dri_context *ctx, in dri2_flush_frontbuffer()
710 dri2_flush_swapbuffers(struct dri_context *ctx, in dri2_flush_swapbuffers()
723 struct dri_context *ctx, in dri2_update_tex_buffer()
1593 struct dri_context *ctx = dri_context(context); in dri2_blit_image()
1639 struct dri_context *ctx = dri_context(context); in dri2_map_image()
1674 struct dri_context *ctx = dri_context(context); in dri2_unmap_image()
1725 struct pipe_screen *screen = dri_context(_ctx)->st->pipe->screen; in dri2_interop_query_device_info()
1750 struct st_context_iface *st = dri_context(_ctx)->st; in dri2_interop_export_object()
Ddri_screen.h45 struct dri_context;
Ddri_screen.c555 struct dri_context *ctx = (struct dri_context *)st->st_manager_private; in dri_set_background_context()
/external/mesa3d/src/glx/
Ddri_glx.c80 struct dri_context struct
499 struct dri_context *pcp = (struct dri_context *) context; in dri_destroy_context()
516 struct dri_context *pcp = (struct dri_context *) context; in dri_bind_context()
538 struct dri_context *pcp = (struct dri_context *) context; in dri_unbind_context()
561 struct dri_context *pcp, *pcp_shared; in dri_create_context()
582 pcp_shared = (struct dri_context *) shareList; in dri_create_context()
/external/mesa3d/src/egl/drivers/dri2/
Degl_dri2.c1483 dri2_ctx_shared ? dri2_ctx_shared->dri_context : NULL; in dri2_create_context()
1582 dri2_ctx->dri_context = in dri2_create_context()
1594 dri2_ctx->dri_context = in dri2_create_context()
1605 dri2_ctx->dri_context = in dri2_create_context()
1615 dri2_ctx->dri_context = in dri2_create_context()
1626 dri2_ctx->dri_context = in dri2_create_context()
1635 if (!dri2_ctx->dri_context) in dri2_create_context()
1655 dri2_dpy->core->destroyContext(dri2_ctx->dri_context); in dri2_destroy_context()
1717 __DRIcontext *dri_ctx = dri2_egl_context(ctx)->dri_context; in dri2_surf_update_fence_fd()
1786 __DRIcontext *old_cctx = dri2_egl_context(old_ctx)->dri_context; in dri2_make_current()
[all …]
Degl_dri2.h259 __DRIcontext *dri_context; member
Dplatform_x11_dri3.c75 return dri2_ctx->dri_context; in egl_dri3_get_dri_context()
Dplatform_wayland.c1129 dri2_dpy->image->blitImage(dri2_ctx->dri_context, in dri2_wl_swap_buffers_with_damage()
/external/mesa3d/src/loader/
Dloader_dri3_helper.c218 __DRIcontext *dri_context; in loader_dri3_blit_image() local
224 dri_context = draw->vtable->get_dri_context(draw); in loader_dri3_blit_image()
226 if (!dri_context || !draw->vtable->in_current_context(draw)) { in loader_dri3_blit_image()
227 dri_context = loader_dri3_blit_context_get(draw); in loader_dri3_blit_image()
232 if (dri_context) in loader_dri3_blit_image()
233 draw->ext->image->blitImage(dri_context, dst, src, dstx0, dsty0, in loader_dri3_blit_image()
240 return dri_context != NULL; in loader_dri3_blit_image()
784 __DRIcontext *dri_context = draw->vtable->get_dri_context(draw); in loader_dri3_flush() local
786 if (dri_context) { in loader_dri3_flush()
787 draw->ext->flush->flush_with_flags(dri_context, draw->dri_drawable, in loader_dri3_flush()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_context.h69 __DRIcontext *dri_context; member
Dnouveau_context.c82 nctx->dri_context = dri_ctx; in nouveau_context_create()
414 __DRIcontext *dri_ctx = to_nouveau_context(ctx)->dri_context; in nouveau_validate_framebuffer()
Dnouveau_driver.c78 __DRIdrawable *drawable = nctx->dri_context->driDrawablePriv; in nouveau_flush()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_context.c255 __DRIcontext *dri_context = brw->driContext; in brw_display_shared_buffer() local
256 __DRIdrawable *dri_drawable = dri_context->driDrawablePriv; in brw_display_shared_buffer()