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.c53 const struct gl_config *visual, __DRIcontext *dri_ctx, in nouveau_context_create() argument
61 __DRIscreen *dri_screen = dri_ctx->driScreenPriv; in nouveau_context_create()
85 nctx->dri_context = dri_ctx; in nouveau_context_create()
86 dri_ctx->driverPrivate = ctx; in nouveau_context_create()
90 nouveau_context_destroy(dri_ctx); in nouveau_context_create()
101 nouveau_context_destroy(dri_ctx); in nouveau_context_create()
226 nouveau_context_destroy(__DRIcontext *dri_ctx) in nouveau_context_destroy() argument
228 struct nouveau_context *nctx = dri_ctx->driverPrivate; in nouveau_context_destroy()
236 nouveau_update_renderbuffers(__DRIcontext *dri_ctx, __DRIdrawable *draw) in nouveau_update_renderbuffers() argument
238 struct gl_context *ctx = dri_ctx->driverPrivate; in nouveau_update_renderbuffers()
[all …]
Dnouveau_context.h112 const struct gl_config *visual, __DRIcontext *dri_ctx,
126 nouveau_context_destroy(__DRIcontext *dri_ctx);
129 nouveau_update_renderbuffers(__DRIcontext *dri_ctx, __DRIdrawable *draw);
132 nouveau_context_make_current(__DRIcontext *dri_ctx, __DRIdrawable *ddraw,
136 nouveau_context_unbind(__DRIcontext *dri_ctx);
Dnouveau_texture.h53 nouveau_set_texbuffer(__DRIcontext *dri_ctx,
Dnouveau_texture.c641 nouveau_set_texbuffer(__DRIcontext *dri_ctx, in nouveau_set_texbuffer() argument
645 struct nouveau_context *nctx = dri_ctx->driverPrivate; in nouveau_set_texbuffer()
661 nouveau_update_renderbuffers(dri_ctx, draw); in nouveau_set_texbuffer()
/external/mesa3d/src/mesa/drivers/dri/swrast/
Dswrast.c81 struct dri_context *dri_ctx; in swrastSetTexBuffer2() local
90 dri_ctx = pDRICtx->driverPrivate; in swrastSetTexBuffer2()
94 texObj = _mesa_get_current_tex_object(&dri_ctx->Base, target); in swrastSetTexBuffer2()
95 texImage = _mesa_get_tex_image(&dri_ctx->Base, texObj, target, 0); in swrastSetTexBuffer2()
98 _mesa_lock_texture(&dri_ctx->Base, texObj); in swrastSetTexBuffer2()
107 _mesa_init_teximage_fields(&dri_ctx->Base, texImage, in swrastSetTexBuffer2()
113 _mesa_unlock_texture(&dri_ctx->Base, texObj); in swrastSetTexBuffer2()