Lines Matching full:pctx
56 etna_context_destroy(struct pipe_context *pctx)
58 struct etna_context *ctx = etna_context(pctx);
71 FREE(pctx);
106 etna_draw_vbo(struct pipe_context *pctx, const struct pipe_draw_info *info)
108 struct etna_context *ctx = etna_context(pctx);
204 pctx->flush(pctx, NULL, 0);
213 etna_flush(struct pipe_context *pctx, struct pipe_fence_handle **fence,
216 struct etna_context *ctx = etna_context(pctx);
221 *fence = etna_fence_create(pctx);
254 struct pipe_context *pctx;
259 pctx = &ctx->base;
260 pctx->priv = ctx;
261 pctx->screen = pscreen;
279 pctx->destroy = etna_context_destroy;
280 pctx->draw_vbo = etna_draw_vbo;
281 pctx->flush = etna_flush;
284 pctx->create_blend_state = etna_blend_state_create;
285 pctx->create_rasterizer_state = etna_rasterizer_state_create;
286 pctx->create_depth_stencil_alpha_state = etna_zsa_state_create;
288 etna_clear_blit_init(pctx);
289 etna_query_context_init(pctx);
290 etna_state_init(pctx);
291 etna_surface_init(pctx);
292 etna_shader_init(pctx);
293 etna_texture_init(pctx);
294 etna_transfer_init(pctx);
296 ctx->blitter = util_blitter_create(pctx);
311 ctx->primconvert = util_primconvert_create(pctx, ctx->prim_hwsupport);
317 return pctx;
320 pctx->destroy(pctx);