Lines Matching refs:pctx

44 v3d_flush(struct pipe_context *pctx)
46 struct v3d_context *v3d = v3d_context(pctx);
55 v3d_pipe_flush(struct pipe_context *pctx, struct pipe_fence_handle **fence,
58 struct v3d_context *v3d = v3d_context(pctx);
60 v3d_flush(pctx);
63 struct pipe_screen *screen = pctx->screen;
71 v3d_memory_barrier(struct pipe_context *pctx, unsigned int flags)
73 struct v3d_context *v3d = v3d_context(pctx);
86 v3d_flush(pctx);
90 v3d_set_debug_callback(struct pipe_context *pctx,
93 struct v3d_context *v3d = v3d_context(pctx);
102 v3d_invalidate_resource(struct pipe_context *pctx, struct pipe_resource *prsc)
104 struct v3d_context *v3d = v3d_context(pctx);
277 v3d_context_destroy(struct pipe_context *pctx)
279 struct v3d_context *v3d = v3d_context(pctx);
281 v3d_flush(pctx);
302 pctx->delete_vs_state(pctx, v3d->sand8_blit_vs);
304 pctx->delete_fs_state(pctx, v3d->sand8_blit_fs_luma);
306 pctx->delete_fs_state(pctx, v3d->sand8_blit_fs_chroma);
308 v3d_program_fini(pctx);
314 v3d_get_sample_position(struct pipe_context *pctx,
318 struct v3d_context *v3d = v3d_context(pctx);
347 struct pipe_context *pctx = &v3d->base;
358 pctx->screen = pscreen;
359 pctx->priv = priv;
360 pctx->destroy = v3d_context_destroy;
361 pctx->flush = v3d_pipe_flush;
362 pctx->memory_barrier = v3d_memory_barrier;
363 pctx->set_debug_callback = v3d_set_debug_callback;
364 pctx->invalidate_resource = v3d_invalidate_resource;
365 pctx->get_sample_position = v3d_get_sample_position;
368 v3d41_draw_init(pctx);
369 v3d41_state_init(pctx);
371 v3d33_draw_init(pctx);
372 v3d33_state_init(pctx);
374 v3d_program_init(pctx);
375 v3d_query_init(pctx);
376 v3d_resource_context_init(pctx);
392 v3d->blitter = util_blitter_create(pctx);
405 pctx->destroy(pctx);