Home | History | Annotate | Download | only in nouveau

Lines Matching refs:dri_ctx

50 		       const struct gl_config *visual, __DRIcontext *dri_ctx,
57 __DRIscreen *dri_screen = dri_ctx->driScreenPriv;
96 nctx->dri_context = dri_ctx;
97 dri_ctx->driverPrivate = ctx;
101 nouveau_context_destroy(dri_ctx);
108 nouveau_context_destroy(dri_ctx);
234 nouveau_context_destroy(__DRIcontext *dri_ctx)
236 struct nouveau_context *nctx = dri_ctx->driverPrivate;
244 nouveau_update_renderbuffers(__DRIcontext *dri_ctx, __DRIdrawable *draw)
246 struct gl_context *ctx = dri_ctx->driverPrivate;
248 __DRIscreen *screen = dri_ctx->driScreenPriv;
329 update_framebuffer(__DRIcontext *dri_ctx, __DRIdrawable *draw,
332 struct gl_context *ctx = dri_ctx->driverPrivate;
337 nouveau_update_renderbuffers(dri_ctx, draw);
347 nouveau_context_make_current(__DRIcontext *dri_ctx, __DRIdrawable *dri_draw,
350 if (dri_ctx) {
351 struct nouveau_context *nctx = dri_ctx->driverPrivate;
356 update_framebuffer(dri_ctx, dri_draw,
357 &dri_ctx->dri2.draw_stamp);
361 update_framebuffer(dri_ctx, dri_read,
362 &dri_ctx->dri2.read_stamp);
377 nouveau_context_unbind(__DRIcontext *dri_ctx)
403 validate_framebuffer(__DRIcontext *dri_ctx, __DRIdrawable *draw,
418 update_framebuffer(dri_ctx, draw, stamp);
424 __DRIcontext *dri_ctx = to_nouveau_context(ctx)->dri_context;
425 __DRIdrawable *dri_draw = dri_ctx->driDrawablePriv;
426 __DRIdrawable *dri_read = dri_ctx->driReadablePriv;
429 validate_framebuffer(dri_ctx, dri_draw,
430 &dri_ctx->dri2.draw_stamp);
433 validate_framebuffer(dri_ctx, dri_read,
434 &dri_ctx->dri2.read_stamp);