Home
last modified time | relevance | path

Searched refs:dri_ctx (Results 1 – 5 of 5) sorted by relevance

/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_context.c50 const struct gl_config *visual, __DRIcontext *dri_ctx, in nouveau_context_create() argument
57 __DRIscreen *dri_screen = dri_ctx->driScreenPriv; in nouveau_context_create()
96 nctx->dri_context = dri_ctx; in nouveau_context_create()
97 dri_ctx->driverPrivate = ctx; in nouveau_context_create()
101 nouveau_context_destroy(dri_ctx); in nouveau_context_create()
108 nouveau_context_destroy(dri_ctx); in nouveau_context_create()
234 nouveau_context_destroy(__DRIcontext *dri_ctx) in nouveau_context_destroy() argument
236 struct nouveau_context *nctx = dri_ctx->driverPrivate; in nouveau_context_destroy()
244 nouveau_update_renderbuffers(__DRIcontext *dri_ctx, __DRIdrawable *draw) in nouveau_update_renderbuffers() argument
246 struct gl_context *ctx = dri_ctx->driverPrivate; in nouveau_update_renderbuffers()
[all …]
Dnouveau_context.h112 const struct gl_config *visual, __DRIcontext *dri_ctx,
124 nouveau_context_destroy(__DRIcontext *dri_ctx);
127 nouveau_update_renderbuffers(__DRIcontext *dri_ctx, __DRIdrawable *draw);
130 nouveau_context_make_current(__DRIcontext *dri_ctx, __DRIdrawable *ddraw,
134 nouveau_context_unbind(__DRIcontext *dri_ctx);
Dnouveau_texture.h53 nouveau_set_texbuffer(__DRIcontext *dri_ctx,
Dnouveau_texture.c655 nouveau_set_texbuffer(__DRIcontext *dri_ctx, in nouveau_set_texbuffer() argument
659 struct nouveau_context *nctx = dri_ctx->driverPrivate; in nouveau_set_texbuffer()
675 nouveau_update_renderbuffers(dri_ctx, draw); in nouveau_set_texbuffer()
/external/mesa3d/src/mesa/drivers/dri/swrast/
Dswrast.c66 struct dri_context *dri_ctx; in swrastSetTexBuffer2() local
76 dri_ctx = pDRICtx->driverPrivate; in swrastSetTexBuffer2()
80 texUnit = _mesa_get_current_tex_unit(&dri_ctx->Base); in swrastSetTexBuffer2()
81 texObj = _mesa_select_tex_object(&dri_ctx->Base, texUnit, target); in swrastSetTexBuffer2()
82 texImage = _mesa_get_tex_image(&dri_ctx->Base, texObj, target, 0); in swrastSetTexBuffer2()
85 _mesa_lock_texture(&dri_ctx->Base, texObj); in swrastSetTexBuffer2()
94 _mesa_init_teximage_fields(&dri_ctx->Base, texImage, in swrastSetTexBuffer2()
100 _mesa_unlock_texture(&dri_ctx->Base, texObj); in swrastSetTexBuffer2()