Home
last modified time | relevance | path

Searched refs:sub_ctx_id (Results 1 – 8 of 8) sorted by relevance

/external/mesa3d/src/gallium/drivers/virgl/
Dvirgl_encode.h248 int virgl_encoder_set_sub_ctx(struct virgl_context *ctx, uint32_t sub_ctx_id);
249 int virgl_encoder_create_sub_ctx(struct virgl_context *ctx, uint32_t sub_ctx_id);
250 int virgl_encoder_destroy_sub_ctx(struct virgl_context *ctx, uint32_t sub_ctx_id);
Dvirgl_screen.h44 uint32_t sub_ctx_id; member
Dvirgl_encode.c850 int virgl_encoder_set_sub_ctx(struct virgl_context *ctx, uint32_t sub_ctx_id) in virgl_encoder_set_sub_ctx() argument
853 virgl_encoder_write_dword(ctx->cbuf, sub_ctx_id); in virgl_encoder_set_sub_ctx()
857 int virgl_encoder_create_sub_ctx(struct virgl_context *ctx, uint32_t sub_ctx_id) in virgl_encoder_create_sub_ctx() argument
860 virgl_encoder_write_dword(ctx->cbuf, sub_ctx_id); in virgl_encoder_create_sub_ctx()
864 int virgl_encoder_destroy_sub_ctx(struct virgl_context *ctx, uint32_t sub_ctx_id) in virgl_encoder_destroy_sub_ctx() argument
867 virgl_encoder_write_dword(ctx->cbuf, sub_ctx_id); in virgl_encoder_destroy_sub_ctx()
Dvirgl_context.c947 vctx->hw_sub_ctx_id = rs->sub_ctx_id++; in virgl_context_create()
/external/virglrenderer/tests/
Dtestvirgl_encode.h236 int virgl_encoder_set_sub_ctx(struct virgl_context *ctx, uint32_t sub_ctx_id);
237 int virgl_encoder_create_sub_ctx(struct virgl_context *ctx, uint32_t sub_ctx_id);
238 int virgl_encoder_destroy_sub_ctx(struct virgl_context *ctx, uint32_t sub_ctx_id);
Dtestvirgl_encode.c880 int virgl_encoder_set_sub_ctx(struct virgl_context *ctx, uint32_t sub_ctx_id) in virgl_encoder_set_sub_ctx() argument
883 virgl_encoder_write_dword(ctx->cbuf, sub_ctx_id); in virgl_encoder_set_sub_ctx()
887 int virgl_encoder_create_sub_ctx(struct virgl_context *ctx, uint32_t sub_ctx_id) in virgl_encoder_create_sub_ctx() argument
890 virgl_encoder_write_dword(ctx->cbuf, sub_ctx_id); in virgl_encoder_create_sub_ctx()
894 int virgl_encoder_destroy_sub_ctx(struct virgl_context *ctx, uint32_t sub_ctx_id) in virgl_encoder_destroy_sub_ctx() argument
897 virgl_encoder_write_dword(ctx->cbuf, sub_ctx_id); in virgl_encoder_destroy_sub_ctx()
/external/virglrenderer/src/
Dvrend_renderer.h383 void vrend_renderer_create_sub_ctx(struct vrend_context *ctx, int sub_ctx_id);
384 void vrend_renderer_destroy_sub_ctx(struct vrend_context *ctx, int sub_ctx_id);
385 void vrend_renderer_set_sub_ctx(struct vrend_context *ctx, int sub_ctx_id);
Dvrend_renderer.c442 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
[all …]