Lines Matching refs:ctx
50 struct dri_context *ctx = (struct dri_context *)stctx->st_manager_private;
82 drawable->allocate_textures(ctx, drawable, statts, count);
122 struct dri_context *ctx = (struct dri_context *)stctx->st_manager_private;
127 return drawable->flush_frontbuffer(ctx, drawable, statt);
137 struct dri_context *ctx = (struct dri_context *)stctx->st_manager_private;
142 drawable->flush_swapbuffers(ctx, drawable);
217 dri_drawable_validate_att(struct dri_context *ctx,
238 drawable->base.validate(ctx->st, &drawable->base, statts, count, NULL);
248 struct dri_context *ctx = dri_context(pDRICtx);
249 struct st_context_iface *st = ctx->st;
256 dri_drawable_validate_att(ctx, drawable, ST_ATTACHMENT_FRONT_LEFT);
287 drawable->update_tex_buffer(drawable, ctx, pt);
289 ctx->st->teximage(ctx->st,
392 dri_postprocessing(struct dri_context *ctx,
399 if (ctx->pp && src)
400 pp_run(ctx->pp, src, src, zsbuf);
404 struct dri_context *ctx;
415 struct st_context_iface *st = args->ctx->st;
435 dri_postprocessing(args->ctx, args->drawable, ST_ATTACHMENT_BACK_LEFT);
445 if (args->ctx->hud) {
446 hud_run(args->ctx->hud, args->ctx->st->cso_context,
467 struct dri_context *ctx = dri_context(cPriv);
473 if (!ctx) {
478 st = ctx->st;
501 args.ctx = ctx;
514 if (dri_screen(ctx->sPriv)->throttle &&
522 st->flush(st, flush_flags, &new_fence, args.ctx ? notify_before_flush_cb : NULL, &args);
532 st->flush(st, flush_flags, NULL, args.ctx ? notify_before_flush_cb : NULL, &args);