Lines Matching refs:pctx
40 vc4_flush(struct pipe_context *pctx)
42 struct vc4_context *vc4 = vc4_context(pctx);
51 vc4_pipe_flush(struct pipe_context *pctx, struct pipe_fence_handle **fence,
54 struct vc4_context *vc4 = vc4_context(pctx);
56 vc4_flush(pctx);
59 struct pipe_screen *screen = pctx->screen;
81 vc4_texture_barrier(struct pipe_context *pctx, unsigned flags)
83 vc4_flush(pctx);
87 vc4_set_debug_callback(struct pipe_context *pctx,
90 struct vc4_context *vc4 = vc4_context(pctx);
99 vc4_invalidate_resource(struct pipe_context *pctx, struct pipe_resource *prsc)
101 struct vc4_context *vc4 = vc4_context(pctx);
117 vc4_context_destroy(struct pipe_context *pctx)
119 struct vc4_context *vc4 = vc4_context(pctx);
121 vc4_flush(pctx);
135 pctx->delete_vs_state(pctx, vc4->yuv_linear_blit_vs);
137 pctx->delete_fs_state(pctx, vc4->yuv_linear_blit_fs_8bit);
139 pctx->delete_fs_state(pctx, vc4->yuv_linear_blit_fs_16bit);
141 vc4_program_fini(pctx);
167 struct pipe_context *pctx = &vc4->base;
171 pctx->screen = pscreen;
172 pctx->priv = priv;
173 pctx->destroy = vc4_context_destroy;
174 pctx->flush = vc4_pipe_flush;
175 pctx->set_debug_callback = vc4_set_debug_callback;
176 pctx->invalidate_resource = vc4_invalidate_resource;
177 pctx->texture_barrier = vc4_texture_barrier;
179 vc4_draw_init(pctx);
180 vc4_state_init(pctx);
181 vc4_program_init(pctx);
182 vc4_query_init(pctx);
183 vc4_resource_context_init(pctx);
201 vc4->blitter = util_blitter_create(pctx);
212 pctx->destroy(pctx);