Home
last modified time | relevance | path

Searched refs:dri_context (Results 1 – 19 of 19) 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.c81 struct dri_context *dri_ctx; in swrastSetTexBuffer2()
756 struct dri_context *ctx = NULL; in dri_create_context()
757 struct dri_context *share = (struct dri_context *)sharedContextPrivate; in dri_create_context()
768 ctx = CALLOC_STRUCT(dri_context); in dri_create_context()
832 struct dri_context *ctx = dri_context(cPriv); in dri_destroy_context()
857 struct dri_context *ctx = dri_context(cPriv); in dri_make_current()
/external/mesa3d/src/gallium/state_trackers/dri/
Ddri_context.c55 struct dri_context *ctx = NULL; in dri_create_context()
108 st_share = ((struct dri_context *)sharedContextPrivate)->st; in dri_create_context()
111 ctx = CALLOC_STRUCT(dri_context); in dri_create_context()
173 struct dri_context *ctx = dri_context(cPriv); in dri_destroy_context()
197 struct dri_context *ctx = dri_context(cPriv); in dri_unbind_context()
220 struct dri_context *ctx = dri_context(cPriv); in dri_make_current()
255 struct dri_context *
264 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;
74 void (*allocate_textures)(struct dri_context *ctx,
81 void (*flush_frontbuffer)(struct dri_context *ctx,
86 struct dri_context *ctx,
Ddri_drawable.c51 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()
188 dri_drawable_validate_att(struct dri_context *ctx, in dri_drawable_validate_att()
219 struct dri_context *ctx = dri_context(pDRICtx); in dri_set_tex_buffer2()
419 dri_postprocessing(struct dri_context *ctx, in dri_postprocessing()
444 struct dri_context *ctx = dri_context(cPriv); in dri_flush()
DMakefile.sources2 dri_context.c \
3 dri_context.h \
Ddrisw.c193 struct dri_context *ctx = dri_get_current(dPriv->driScreenPriv); in drisw_swap_buffers()
216 struct dri_context *ctx = dri_get_current(dPriv->driScreenPriv); in drisw_copy_sub_buffer()
237 drisw_flush_frontbuffer(struct dri_context *ctx, in drisw_flush_frontbuffer()
261 drisw_allocate_textures(struct dri_context *stctx, in drisw_allocate_textures()
329 struct dri_context *ctx, in drisw_update_tex_buffer()
Ddri2.c454 dri2_allocate_textures(struct dri_context *ctx, in dri2_allocate_textures()
727 dri2_flush_frontbuffer(struct dri_context *ctx, in dri2_flush_frontbuffer()
762 struct dri_context *ctx, in dri2_update_tex_buffer()
958 struct dri_context *ctx = dri_context(context); in dri2_create_image_from_renderbuffer()
1182 struct gl_context *ctx = ((struct st_context *)dri_context(context)->st)->ctx; in dri2_create_from_texture()
1297 struct dri_context *ctx = dri_context(context); in dri2_blit_image()
1343 struct dri_context *ctx = dri_context(context); in dri2_map_image()
1371 struct dri_context *ctx = dri_context(context); in dri2_unmap_image()
1475 struct pipe_context *ctx = dri_context(_ctx)->st->pipe; in dri2_create_fence()
1495 struct pipe_context *ctx = dri_context(_ctx)->st->pipe; in dri2_create_fence_fd()
[all …]
Ddri_screen.h46 struct dri_context;
/external/mesa3d/src/loader/
Dloader_dri3_helper.c455 __DRIcontext *dri_context = draw->vtable->get_dri_context(draw); in loader_dri3_flush() local
457 if (dri_context) { in loader_dri3_flush()
458 draw->ext->flush->flush_with_flags(dri_context, draw->dri_drawable, in loader_dri3_flush()
471 __DRIcontext *dri_context; in loader_dri3_copy_sub_buffer() local
473 dri_context = draw->vtable->get_dri_context(draw); in loader_dri3_copy_sub_buffer()
490 draw->ext->image->blitImage(dri_context, in loader_dri3_copy_sub_buffer()
500 draw->ext->image->blitImage(dri_context, in loader_dri3_copy_sub_buffer()
550 __DRIcontext *dri_context; in loader_dri3_wait_x() local
556 dri_context = draw->vtable->get_dri_context(draw); in loader_dri3_wait_x()
566 draw->ext->image->blitImage(dri_context, in loader_dri3_wait_x()
[all …]
/external/mesa3d/src/glx/
Ddri_glx.c79 struct dri_context struct
526 struct dri_context *pcp = (struct dri_context *) context; in dri_destroy_context()
543 struct dri_context *pcp = (struct dri_context *) context; in dri_bind_context()
565 struct dri_context *pcp = (struct dri_context *) context; in dri_unbind_context()
588 struct dri_context *pcp, *pcp_shared; in dri_create_context()
609 pcp_shared = (struct dri_context *) shareList; in dri_create_context()
/external/mesa3d/src/egl/drivers/dri2/
Degl_dri2.c1081 dri2_ctx_shared ? dri2_ctx_shared->dri_context : NULL; in dri2_create_context()
1175 dri2_ctx->dri_context = in dri2_create_context()
1195 dri2_ctx->dri_context = in dri2_create_context()
1206 dri2_ctx->dri_context = in dri2_create_context()
1224 dri2_ctx->dri_context = in dri2_create_context()
1235 dri2_ctx->dri_context = in dri2_create_context()
1244 if (!dri2_ctx->dri_context) in dri2_create_context()
1264 dri2_dpy->core->destroyContext(dri2_ctx->dri_context); in dri2_destroy_context()
1314 cctx = (dri2_ctx) ? dri2_ctx->dri_context : NULL; in dri2_make_current()
1317 __DRIcontext *old_cctx = dri2_egl_context(old_ctx)->dri_context; in dri2_make_current()
[all …]
Degl_dri2.h228 __DRIcontext *dri_context; member
Dplatform_x11_dri3.c103 return dri2_ctx->dri_context; in egl_dri3_get_dri_context()
Dplatform_wayland.c751 dri2_dpy->image->blitImage(dri2_ctx->dri_context, in dri2_wl_swap_buffers_with_damage()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_context.h69 __DRIcontext *dri_context; member
Dnouveau_context.c85 nctx->dri_context = dri_ctx; in nouveau_context_create()
416 __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()