Lines Matching refs:ctx
389 struct dri_context *ctx = dri_context(context);
390 struct pipe_context *pipe = ctx->st->pipe;
485 kopper_allocate_textures(struct dri_context *ctx,
550 ctx->is_shared_buffer_bound = true;
552 ctx->is_shared_buffer_bound = false;
634 handle_in_fence(ctx->cPriv, cdraw->image);
650 dri_pipe_blit(ctx->st->pipe,
711 kopper_flush_frontbuffer(struct dri_context *ctx,
717 if (!ctx || statt != ST_ATTACHMENT_FRONT_LEFT)
730 dri_pipe_blit(ctx->st->pipe,
737 ctx->st->pipe->flush_resource(ctx->st->pipe, drawable->textures[ST_ATTACHMENT_FRONT_LEFT]);
741 st = ctx->st;
755 kopper_copy_to_front(st->pipe, ctx->dPriv, ptex);
797 struct dri_context *ctx,
804 struct st_context *st_ctx = (struct st_context *)ctx->st;
838 kopper_flush_swapbuffers(struct dri_context *ctx,
903 struct dri_context *ctx = dri_get_current(dPriv->driScreenPriv);
908 if (!ctx)
916 dri_flush(ctx->cPriv, dPriv, __DRI2_FLUSH_DRAWABLE | __DRI2_FLUSH_CONTEXT, __DRI2_THROTTLE_SWAPBUFFER);
917 kopper_copy_to_front(ctx->st->pipe, dPriv, ptex);
998 struct dri_context *ctx = dri_get_current(dPriv->driScreenPriv);
1004 return zink_kopper_query_buffer_age(ctx->st->pipe, ptex);