Lines Matching refs:pctx
42 vc5_flush(struct pipe_context *pctx) in vc5_flush() argument
44 struct vc5_context *vc5 = vc5_context(pctx); in vc5_flush()
54 vc5_pipe_flush(struct pipe_context *pctx, struct pipe_fence_handle **fence, in vc5_pipe_flush() argument
57 struct vc5_context *vc5 = vc5_context(pctx); in vc5_pipe_flush()
59 vc5_flush(pctx); in vc5_pipe_flush()
62 struct pipe_screen *screen = pctx->screen; in vc5_pipe_flush()
71 vc5_invalidate_resource(struct pipe_context *pctx, struct pipe_resource *prsc) in vc5_invalidate_resource() argument
73 struct vc5_context *vc5 = vc5_context(pctx); in vc5_invalidate_resource()
89 vc5_context_destroy(struct pipe_context *pctx) in vc5_context_destroy() argument
91 struct vc5_context *vc5 = vc5_context(pctx); in vc5_context_destroy()
93 vc5_flush(pctx); in vc5_context_destroy()
109 vc5_program_fini(pctx); in vc5_context_destroy()
127 struct pipe_context *pctx = &vc5->base; in vc5_context_create() local
131 pctx->screen = pscreen; in vc5_context_create()
132 pctx->priv = priv; in vc5_context_create()
133 pctx->destroy = vc5_context_destroy; in vc5_context_create()
134 pctx->flush = vc5_pipe_flush; in vc5_context_create()
135 pctx->invalidate_resource = vc5_invalidate_resource; in vc5_context_create()
138 v3d41_draw_init(pctx); in vc5_context_create()
139 v3d41_state_init(pctx); in vc5_context_create()
141 v3d33_draw_init(pctx); in vc5_context_create()
142 v3d33_state_init(pctx); in vc5_context_create()
144 vc5_program_init(pctx); in vc5_context_create()
145 vc5_query_init(pctx); in vc5_context_create()
146 vc5_resource_context_init(pctx); in vc5_context_create()
158 vc5->blitter = util_blitter_create(pctx); in vc5_context_create()
162 vc5->primconvert = util_primconvert_create(pctx, in vc5_context_create()
175 pctx->destroy(pctx); in vc5_context_create()