Searched refs:sub_ctx_id (Results 1 – 8 of 8) sorted by relevance
/external/mesa3d/src/gallium/drivers/virgl/ |
D | virgl_encode.h | 248 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);
|
D | virgl_screen.h | 44 uint32_t sub_ctx_id; member
|
D | virgl_encode.c | 850 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()
|
D | virgl_context.c | 947 vctx->hw_sub_ctx_id = rs->sub_ctx_id++; in virgl_context_create()
|
/external/virglrenderer/tests/ |
D | testvirgl_encode.h | 236 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);
|
D | testvirgl_encode.c | 880 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/ |
D | vrend_renderer.h | 383 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);
|
D | vrend_renderer.c | 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 [all …]
|