Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/state_trackers/dri/common/
Ddri_context.c43 dri_pp_query(struct dri_context *ctx) in dri_pp_query()
71 struct dri_context *ctx = NULL; in dri_create_context()
101 st_share = ((struct dri_context *)sharedContextPrivate)->st; in dri_create_context()
104 ctx = CALLOC_STRUCT(dri_context); in dri_create_context()
169 struct dri_context *ctx = dri_context(cPriv); in dri_destroy_context()
195 struct dri_context *ctx = dri_context(cPriv); in dri_unbind_context()
218 struct dri_context *ctx = dri_context(cPriv); in dri_make_current()
254 struct dri_context *
263 return (struct dri_context *) (st) ? st->st_manager_private : NULL; in dri_get_current()
Ddri_context.h45 struct dri_context struct
64 static INLINE struct dri_context * argument
65 dri_context(__DRIcontext * driContextPriv) in dri_context() function
69 return (struct dri_context *)driContextPriv->driverPrivate; in dri_context()
84 struct dri_context *
Ddri_drawable.h37 struct dri_context;
82 struct dri_context *ctx,
Ddri_drawable.c208 struct dri_context *ctx = dri_context(pDRICtx); in dri_set_tex_buffer2()
387 ctxi = dri_context(driCtx)->st; in dri_throttle()
Ddri_screen.h43 struct dri_context;
/external/mesa3d/src/gallium/state_trackers/dri/drm/
Ddri_context.c43 dri_pp_query(struct dri_context *ctx) in dri_pp_query()
71 struct dri_context *ctx = NULL; in dri_create_context()
101 st_share = ((struct dri_context *)sharedContextPrivate)->st; in dri_create_context()
104 ctx = CALLOC_STRUCT(dri_context); in dri_create_context()
169 struct dri_context *ctx = dri_context(cPriv); in dri_destroy_context()
195 struct dri_context *ctx = dri_context(cPriv); in dri_unbind_context()
218 struct dri_context *ctx = dri_context(cPriv); in dri_make_current()
254 struct dri_context *
263 return (struct dri_context *) (st) ? st->st_manager_private : NULL; in dri_get_current()
Ddri_drawable.c208 struct dri_context *ctx = dri_context(pDRICtx); in dri_set_tex_buffer2()
387 ctxi = dri_context(driCtx)->st; in dri_throttle()
DSConscript18 'dri_context.c',
DMakefile17 dri_context.c \
Ddri2.c49 struct dri_context *ctx = dri_get_current(dPriv->driScreenPriv); in dri2_flush_drawable()
411 struct dri_context *ctx, in dri2_update_tex_buffer()
503 struct dri_context *ctx = dri_context(context); in dri2_create_image_from_renderbuffer()
/external/mesa3d/src/gallium/state_trackers/dri/sw/
Ddri_context.c43 dri_pp_query(struct dri_context *ctx) in dri_pp_query()
71 struct dri_context *ctx = NULL; in dri_create_context()
101 st_share = ((struct dri_context *)sharedContextPrivate)->st; in dri_create_context()
104 ctx = CALLOC_STRUCT(dri_context); in dri_create_context()
169 struct dri_context *ctx = dri_context(cPriv); in dri_destroy_context()
195 struct dri_context *ctx = dri_context(cPriv); in dri_unbind_context()
218 struct dri_context *ctx = dri_context(cPriv); in dri_make_current()
254 struct dri_context *
263 return (struct dri_context *) (st) ? st->st_manager_private : NULL; in dri_get_current()
Ddri_drawable.c208 struct dri_context *ctx = dri_context(pDRICtx); in dri_set_tex_buffer2()
387 ctxi = dri_context(driCtx)->st; in dri_throttle()
Ddrisw.c141 struct dri_context *ctx = dri_get_current(dPriv->driScreenPriv); in drisw_swap_buffers()
164 struct dri_context *ctx = dri_get_current(drawable->sPriv); in drisw_flush_frontbuffer()
245 struct dri_context *ctx, in drisw_update_tex_buffer()
DSConscript18 'dri_context.c',
DMakefile20 dri_context.c \
/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.c66 struct dri_context *dri_ctx; in swrastSetTexBuffer2()
711 struct dri_context *ctx = NULL; in dri_create_context()
712 struct dri_context *share = (struct dri_context *)sharedContextPrivate; in dri_create_context()
739 ctx = CALLOC_STRUCT(dri_context); in dri_create_context()
820 struct dri_context *ctx = dri_context(cPriv); in dri_destroy_context()
845 struct dri_context *ctx = dri_context(cPriv); in dri_make_current()
/external/mesa3d/src/glx/
Ddri_glx.c79 struct dri_context struct
514 struct dri_context *pcp = (struct dri_context *) context; in dri_destroy_context()
532 struct dri_context *pcp = (struct dri_context *) context; in dri_bind_context()
554 struct dri_context *pcp = (struct dri_context *) context; in dri_unbind_context()
577 struct dri_context *pcp, *pcp_shared; in dri_create_context()
594 pcp_shared = (struct dri_context *) shareList; in dri_create_context()
/external/mesa3d/src/egl/drivers/dri2/
Degl_dri2.c717 dri2_ctx_shared ? dri2_ctx_shared->dri_context : NULL; in dri2_create_context()
826 dri2_ctx->dri_context = in dri2_create_context()
837 dri2_ctx->dri_context = in dri2_create_context()
846 dri2_ctx->dri_context = in dri2_create_context()
854 if (!dri2_ctx->dri_context) in dri2_create_context()
874 dri2_dpy->core->destroyContext(dri2_ctx->dri_context); in dri2_destroy_context()
908 cctx = (dri2_ctx) ? dri2_ctx->dri_context : NULL; in dri2_make_current()
911 __DRIcontext *old_cctx = dri2_egl_context(old_ctx)->dri_context; in dri2_make_current()
1019 (*dri2_dpy->tex_buffer->setTexBuffer2)(dri2_ctx->dri_context, in dri2_bind_tex_image()
1051 (*dri2_dpy->tex_buffer->releaseTexBuffer)(dri2_ctx->dri_context, in dri2_release_tex_image()
[all …]
Degl_dri2.h139 __DRIcontext *dri_context; member
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_context.h69 __DRIcontext *dri_context; member
Dnouveau_context.c96 nctx->dri_context = dri_ctx; in nouveau_context_create()
424 __DRIcontext *dri_ctx = to_nouveau_context(ctx)->dri_context; in nouveau_validate_framebuffer()
Dnouveau_driver.c70 __DRIdrawable *drawable = nctx->dri_context->driDrawablePriv; in nouveau_flush()