Home
last modified time | relevance | path

Searched refs:virgl_resource (Results 1 – 19 of 19) sorted by relevance

/external/mesa3d/src/gallium/drivers/virgl/
Dvirgl_encode.h35 struct virgl_resource;
110 struct virgl_resource *res,
120 struct virgl_resource *res,
143 struct virgl_resource *res,
147 struct virgl_resource *res);
160 struct virgl_resource *res,
170 struct virgl_resource *res,
201 struct virgl_resource *res);
230 struct virgl_resource *dst_res,
233 struct virgl_resource *src_res,
[all …]
Dvirgl_resource.c61 struct virgl_resource *res = virgl_resource(trans->base.resource); in virgl_res_needs_flush()
83 struct virgl_resource *res, in virgl_res_needs_readback()
102 struct virgl_resource *res = virgl_resource(xfer->base.resource); in virgl_resource_transfer_prepare()
272 struct virgl_resource *vres = virgl_resource(vtransfer->base.resource); in virgl_staging_map()
334 virgl_resource_realloc(struct virgl_context *vctx, struct virgl_resource *res) in virgl_resource_realloc()
384 struct virgl_resource *vres = virgl_resource(resource); in virgl_resource_transfer_map()
508 struct virgl_resource *res = CALLOC_STRUCT(virgl_resource); in virgl_resource_create()
565 struct virgl_resource *res = CALLOC_STRUCT(virgl_resource); in virgl_resource_from_handle()
604 struct virgl_resource *vbuf = virgl_resource(resource); in virgl_buffer_subdata()
673 vws->resource_reference(vws, &trans->hw_res, virgl_resource(pres)->hw_res); in virgl_resource_create_transfer()
[all …]
Dvirgl_resource.h53 struct virgl_resource { struct
98 void virgl_texture_init(struct virgl_resource *res);
100 static inline struct virgl_resource *virgl_resource(struct pipe_resource *r) in virgl_resource() function
102 return (struct virgl_resource *)r; in virgl_resource()
110 void virgl_buffer_init(struct virgl_resource *res);
194 void virgl_resource_dirty(struct virgl_resource *res, uint32_t level);
Dvirgl_context.c80 const unsigned bind_history = virgl_resource(res)->bind_history; in virgl_can_rebind_resource()
95 const unsigned bind_history = virgl_resource(res)->bind_history; in virgl_rebind_resource()
139 virgl_resource(res)); in virgl_rebind_resource()
175 struct virgl_resource *res; in virgl_attach_res_framebuffer()
180 res = virgl_resource(surf->texture); in virgl_attach_res_framebuffer()
189 res = virgl_resource(surf->texture); in virgl_attach_res_framebuffer()
205 struct virgl_resource *res; in virgl_attach_res_sampler_views()
210 res = virgl_resource(binding->views[i]->texture); in virgl_attach_res_sampler_views()
218 struct virgl_resource *res; in virgl_attach_res_vertex_buffers()
222 res = virgl_resource(vctx->vertex_buffer[i].buffer.resource); in virgl_attach_res_vertex_buffers()
[all …]
Dvirgl_streamout.c37 struct virgl_resource *res = virgl_resource(buffer); in virgl_create_so_target()
82 struct virgl_resource *res = virgl_resource(targets[i]->buffer); in virgl_set_so_targets()
Dvirgl_encode.c285 struct virgl_resource *res) in virgl_encoder_emit_resource()
296 struct virgl_resource *res) in virgl_encoder_write_res()
589 struct virgl_resource *res, in virgl_encode_clear_texture()
684 struct virgl_resource *res = virgl_resource(buffers[i].buffer.resource); in virgl_encoder_set_vertex_buffers()
696 struct virgl_resource *res = NULL; in virgl_encoder_set_index_buffer()
698 res = virgl_resource(ib->buffer); in virgl_encoder_set_index_buffer()
738 virgl_encoder_write_res(ctx, virgl_resource(info->indirect->buffer)); in virgl_encoder_draw_vbo()
744 virgl_encoder_write_res(ctx, virgl_resource(info->indirect->indirect_draw_count)); in virgl_encoder_draw_vbo()
753 struct virgl_resource *res, in virgl_encoder_create_surface()
770 struct virgl_resource *res, in virgl_encoder_create_so_target()
[all …]
DMakefile.sources9 virgl_resource.c \
10 virgl_resource.h \
Dvirgl_query.c33 struct virgl_resource *buf;
105 query->buf = (struct virgl_resource *) in virgl_create_query()
248 struct virgl_resource *qbo = (struct virgl_resource *)resource; in virgl_get_query_result_resource()
Dvirgl_texture.c123 struct virgl_resource *vtex = virgl_resource(resource); in texture_transfer_map_resolve()
314 void virgl_texture_init(struct virgl_resource *res) in virgl_texture_init()
Dvirgl_buffer.c88 void virgl_buffer_init(struct virgl_resource *res) in virgl_buffer_init()
Dmeson.build26 'virgl_resource.c',
Dvirgl_screen.c754 struct virgl_resource *vres = virgl_resource(res); in virgl_flush_frontbuffer()
/external/virglrenderer/tests/
Dtestvirgl_encode.h96 struct virgl_resource *res,
123 struct virgl_resource *res,
127 struct virgl_resource *res);
140 struct virgl_resource *res,
150 struct virgl_resource *res,
181 struct virgl_resource *res);
207 struct virgl_resource *dst_res,
210 struct virgl_resource *src_res,
215 struct virgl_resource *dst_res,
216 struct virgl_resource *src_res,
[all …]
Dtestvirgl.h51 struct virgl_resource { struct
73 int testvirgl_create_backed_simple_1d_res(struct virgl_resource *res, argument
75 int testvirgl_create_backed_simple_2d_res(struct virgl_resource *res,
77 int testvirgl_create_backed_simple_buffer(struct virgl_resource *res,
79 void testvirgl_destroy_backed_res(struct virgl_resource *res);
Dtestvirgl_encode.c49 struct virgl_resource *res) in virgl_encoder_write_res()
378 struct virgl_resource *res = (struct virgl_resource *)buffers[i].buffer; in virgl_encoder_set_vertex_buffers()
390 struct virgl_resource *res = NULL; in virgl_encoder_set_index_buffer()
392 res = (struct virgl_resource *)ib->buffer; in virgl_encoder_set_index_buffer()
427 struct virgl_resource *res, in virgl_encoder_create_surface()
447 struct virgl_resource *res, in virgl_encoder_create_so_target()
460 struct virgl_resource *res, in virgl_encoder_iw_emit_header_1d()
479 struct virgl_resource *res, in virgl_encoder_inline_send_box()
491 struct virgl_resource *res, in virgl_encoder_inline_write()
567 UNUSED struct virgl_resource *res) in virgl_encoder_flush_frontbuffer()
[all …]
Dtestvirgl.c177 int testvirgl_create_backed_simple_2d_res(struct virgl_resource *res, in testvirgl_create_backed_simple_2d_res()
205 int testvirgl_create_backed_simple_1d_res(struct virgl_resource *res, in testvirgl_create_backed_simple_1d_res()
231 void testvirgl_destroy_backed_res(struct virgl_resource *res) in testvirgl_destroy_backed_res()
243 int testvirgl_create_backed_simple_buffer(struct virgl_resource *res, in testvirgl_create_backed_simple_buffer()
Dtest_virgl_cmd.c74 struct virgl_resource res; in START_TEST()
145 struct virgl_resource res, res2; in START_TEST()
258 struct virgl_resource res; in START_TEST()
259 struct virgl_resource vbo; in START_TEST()
484 struct virgl_resource res; in START_TEST()
485 struct virgl_resource vbo; in START_TEST()
750 struct virgl_resource res; in START_TEST()
751 struct virgl_resource vbo; in START_TEST()
752 struct virgl_resource xfb; in START_TEST()
Dtest_virgl_transfer.c284 struct virgl_resource res; in START_TEST()
682 struct virgl_resource res; in virgl_test_transfer_inline()
/external/mesa3d/docs/relnotes/
D19.1.0.rst1674 - virgl: track full virgl_resource instead of just virgl_hw_res