Home
last modified time | relevance | path

Searched refs:dri_ctx (Results 1 – 7 of 7) 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
58 __DRIscreen *dri_screen = dri_ctx->driScreenPriv; in nouveau_context_create()
82 nctx->dri_context = dri_ctx; in nouveau_context_create()
83 dri_ctx->driverPrivate = ctx; in nouveau_context_create()
88 nouveau_context_destroy(dri_ctx); in nouveau_context_create()
99 nouveau_context_destroy(dri_ctx); in nouveau_context_create()
224 nouveau_context_destroy(__DRIcontext *dri_ctx) in nouveau_context_destroy() argument
226 struct nouveau_context *nctx = dri_ctx->driverPrivate; in nouveau_context_destroy()
234 nouveau_update_renderbuffers(__DRIcontext *dri_ctx, __DRIdrawable *draw) in nouveau_update_renderbuffers() argument
236 struct gl_context *ctx = dri_ctx->driverPrivate; in nouveau_update_renderbuffers()
[all …]
Dnouveau_context.h112 const struct gl_config *visual, __DRIcontext *dri_ctx,
125 nouveau_context_destroy(__DRIcontext *dri_ctx);
128 nouveau_update_renderbuffers(__DRIcontext *dri_ctx, __DRIdrawable *draw);
131 nouveau_context_make_current(__DRIcontext *dri_ctx, __DRIdrawable *ddraw,
135 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()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_sync.c486 brw_dri_create_fence_fd(__DRIcontext *dri_ctx, int fd) in brw_dri_create_fence_fd() argument
488 struct brw_context *brw = dri_ctx->driverPrivate; in brw_dri_create_fence_fd()
/external/mesa3d/src/egl/drivers/dri2/
Degl_dri2.c1455 __DRIcontext *dri_ctx = dri2_egl_context(ctx)->dri_context; in dri2_surf_update_fence_fd() local
1464 fence = dri2_dpy->fence->create_fence_fd(dri_ctx, -1); in dri2_surf_update_fence_fd()