Lines Matching refs:sub_ctx_id
442 int sub_ctx_id; member
8447 void vrend_renderer_create_sub_ctx(struct vrend_context *ctx, int sub_ctx_id) in vrend_renderer_create_sub_ctx() argument
8454 if (sub->sub_ctx_id == sub_ctx_id) { in vrend_renderer_create_sub_ctx()
8463 ctx_params.shared = (ctx->ctx_id == 0 && sub_ctx_id == 0) ? false : true; in vrend_renderer_create_sub_ctx()
8476 sub->sub_ctx_id = sub_ctx_id; in vrend_renderer_create_sub_ctx()
8498 if (sub_ctx_id == 0) in vrend_renderer_create_sub_ctx()
8502 void vrend_renderer_destroy_sub_ctx(struct vrend_context *ctx, int sub_ctx_id) in vrend_renderer_destroy_sub_ctx() argument
8507 if (sub_ctx_id == 0) in vrend_renderer_destroy_sub_ctx()
8511 if (sub->sub_ctx_id == sub_ctx_id) { in vrend_renderer_destroy_sub_ctx()
8525 void vrend_renderer_set_sub_ctx(struct vrend_context *ctx, int sub_ctx_id) in vrend_renderer_set_sub_ctx() argument
8530 if (ctx->sub && ctx->sub->sub_ctx_id == sub_ctx_id) in vrend_renderer_set_sub_ctx()
8534 if (sub->sub_ctx_id == sub_ctx_id) { in vrend_renderer_set_sub_ctx()