Searched refs:grctx (Results 1 – 2 of 2) sorted by relevance
/external/virglrenderer/src/ |
D | vrend_decode.c | 49 struct vrend_context *grctx; member 1484 dctx->grctx = vrend_create_context(handle, nlen, debug_name); in vrend_renderer_context_create() 1485 if (!dctx->grctx) { in vrend_renderer_context_create() 1490 vrend_renderer_set_fence_retire(dctx->grctx, in vrend_renderer_context_create() 1502 vrend_destroy_context(dctx->grctx); in vrend_decode_ctx_destroy() 1511 vrend_renderer_attach_res_ctx(dctx->grctx, res); in vrend_decode_ctx_attach_resource() 1519 vrend_renderer_detach_res_ctx(dctx->grctx, res); in vrend_decode_ctx_detach_resource() 1529 return vrend_renderer_transfer_iov(dctx->grctx, res->res_id, info, in vrend_decode_ctx_transfer_3d() 1543 blob->u.pipe_resource = vrend_get_blob_pipe(dctx->grctx, blob_id); in vrend_decode_ctx_get_blob() 1637 bret = vrend_hw_switch_context(gdctx->grctx, true); in vrend_decode_ctx_submit_cmd() [all …]
|
D | vrend_renderer.c | 6388 struct vrend_context *grctx = CALLOC_STRUCT(vrend_context); in vrend_create_context() local 6390 if (!grctx) in vrend_create_context() 6394 strncpy(grctx->debug_name, debug_name, in vrend_create_context() 6395 nlen < sizeof(grctx->debug_name) - 1 ? in vrend_create_context() 6396 nlen : sizeof(grctx->debug_name) - 1); in vrend_create_context() 6397 grctx->debug_name[sizeof(grctx->debug_name) - 1] = 0; in vrend_create_context() 6400 VREND_DEBUG(dbg_caller, grctx, "create context\n"); in vrend_create_context() 6402 grctx->ctx_id = id; in vrend_create_context() 6404 list_inithead(&grctx->sub_ctxs); in vrend_create_context() 6405 list_inithead(&grctx->vrend_resources); in vrend_create_context() [all …]
|