Lines Matching refs:pctx
41 vc4_flush(struct pipe_context *pctx) in vc4_flush() argument
43 struct vc4_context *vc4 = vc4_context(pctx); in vc4_flush()
53 vc4_pipe_flush(struct pipe_context *pctx, struct pipe_fence_handle **fence, in vc4_pipe_flush() argument
56 struct vc4_context *vc4 = vc4_context(pctx); in vc4_pipe_flush()
58 vc4_flush(pctx); in vc4_pipe_flush()
61 struct pipe_screen *screen = pctx->screen; in vc4_pipe_flush()
74 vc4_texture_barrier(struct pipe_context *pctx, unsigned flags) in vc4_texture_barrier() argument
76 vc4_flush(pctx); in vc4_texture_barrier()
80 vc4_invalidate_resource(struct pipe_context *pctx, struct pipe_resource *prsc) in vc4_invalidate_resource() argument
82 struct vc4_context *vc4 = vc4_context(pctx); in vc4_invalidate_resource()
98 vc4_context_destroy(struct pipe_context *pctx) in vc4_context_destroy() argument
100 struct vc4_context *vc4 = vc4_context(pctx); in vc4_context_destroy()
102 vc4_flush(pctx); in vc4_context_destroy()
118 vc4_program_fini(pctx); in vc4_context_destroy()
136 struct pipe_context *pctx = &vc4->base; in vc4_context_create() local
140 pctx->screen = pscreen; in vc4_context_create()
141 pctx->priv = priv; in vc4_context_create()
142 pctx->destroy = vc4_context_destroy; in vc4_context_create()
143 pctx->flush = vc4_pipe_flush; in vc4_context_create()
144 pctx->invalidate_resource = vc4_invalidate_resource; in vc4_context_create()
145 pctx->texture_barrier = vc4_texture_barrier; in vc4_context_create()
147 vc4_draw_init(pctx); in vc4_context_create()
148 vc4_state_init(pctx); in vc4_context_create()
149 vc4_program_init(pctx); in vc4_context_create()
150 vc4_query_init(pctx); in vc4_context_create()
151 vc4_resource_context_init(pctx); in vc4_context_create()
163 vc4->blitter = util_blitter_create(pctx); in vc4_context_create()
167 vc4->primconvert = util_primconvert_create(pctx, in vc4_context_create()
179 pctx->destroy(pctx); in vc4_context_create()