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