Home
last modified time | relevance | path

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

12

/external/virglrenderer/src/
Dvirgl_resource.c43 struct virgl_resource *res = (struct virgl_resource *)val; in virgl_resource_destroy_func()
80 static struct virgl_resource *
83 struct virgl_resource *res; in virgl_resource_create()
105 struct virgl_resource *
111 struct virgl_resource *res; in virgl_resource_create_from_pipe()
126 struct virgl_resource *
133 struct virgl_resource *res; in virgl_resource_create_from_fd()
151 struct virgl_resource *
156 struct virgl_resource *res; in virgl_resource_create_from_iov()
177 struct virgl_resource *virgl_resource_lookup(uint32_t res_id) in virgl_resource_lookup()
[all …]
Dvirgl_resource.h58 struct virgl_resource { struct
99 struct virgl_resource *
105 struct virgl_resource *
112 struct virgl_resource *
120 struct virgl_resource *
124 virgl_resource_attach_iov(struct virgl_resource *res,
129 virgl_resource_detach_iov(struct virgl_resource *res);
132 virgl_resource_export_fd(struct virgl_resource *res, int *fd);
Dvirglrenderer.c68 struct virgl_resource *res; in virgl_renderer_resource_create_internal()
117 struct virgl_resource *res = virgl_resource_lookup(res_handle); in virgl_renderer_resource_set_priv()
126 struct virgl_resource *res = virgl_resource_lookup(res_handle); in virgl_renderer_resource_get_priv()
135 struct virgl_resource *res = data; in detach_resource()
142 struct virgl_resource *res = virgl_resource_lookup(res_handle); in virgl_renderer_resource_unref()
265 struct virgl_resource *res = virgl_resource_lookup(handle); in virgl_renderer_transfer_write_iov()
304 struct virgl_resource *res = virgl_resource_lookup(handle); in virgl_renderer_transfer_read_iov()
339 struct virgl_resource *res = virgl_resource_lookup(res_handle); in virgl_renderer_resource_attach_iov()
349 struct virgl_resource *res = virgl_resource_lookup(res_handle); in virgl_renderer_resource_detach_iov()
411 struct virgl_resource *res = virgl_resource_lookup(res_handle); in virgl_renderer_ctx_attach_resource()
[all …]
Dvirgl_context.h79 struct virgl_resource *res);
81 struct virgl_resource *res);
84 struct virgl_resource *res,
Dmeson.build32 'virgl_resource.c',
33 'virgl_resource.h',
Dvrend_renderer.h49 struct virgl_resource;
427 struct virgl_resource *res);
429 struct virgl_resource *res);
/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,
147 struct virgl_resource *res,
153 struct virgl_resource *res,
160 struct virgl_resource *res,
163 struct virgl_resource *src_res,
172 struct virgl_resource *res,
203 struct virgl_resource *res);
[all …]
Dtestvirgl.h53 struct virgl_resource { struct
75 int testvirgl_create_backed_simple_1d_res(struct virgl_resource *res, argument
77 int testvirgl_create_backed_simple_2d_res(struct virgl_resource *res,
79 int testvirgl_create_backed_simple_buffer(struct virgl_resource *res,
81 void testvirgl_destroy_backed_res(struct virgl_resource *res);
82 int testvirgl_create_unbacked_simple_buffer(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_transfer3d_common()
479 struct virgl_resource *res, in virgl_encoder_inline_send_box()
491 struct virgl_resource *res, in virgl_encoder_inline_write()
567 struct virgl_resource *res, in virgl_encoder_transfer()
[all …]
Dtestvirgl.c179 int testvirgl_create_backed_simple_2d_res(struct virgl_resource *res, in testvirgl_create_backed_simple_2d_res()
207 int testvirgl_create_backed_simple_1d_res(struct virgl_resource *res, in testvirgl_create_backed_simple_1d_res()
233 void testvirgl_destroy_backed_res(struct virgl_resource *res) in testvirgl_destroy_backed_res()
245 int testvirgl_create_backed_simple_buffer(struct virgl_resource *res, in testvirgl_create_backed_simple_buffer()
272 int testvirgl_create_unbacked_simple_buffer(struct virgl_resource *res, in testvirgl_create_unbacked_simple_buffer()
Dtest_virgl_transfer.c285 struct virgl_resource res; in START_TEST()
686 struct virgl_resource res; in virgl_test_transfer_inline()
738 struct virgl_resource res; in START_TEST()
765 struct virgl_resource res = {0}; in START_TEST()
793 struct virgl_resource src_res = {0}; in START_TEST()
794 struct virgl_resource dst_res = {0}; in START_TEST()
828 struct virgl_resource src_res = {0}; in START_TEST()
829 struct virgl_resource dst_res = {0}; in START_TEST()
863 struct virgl_resource src_res = {0}; in START_TEST()
864 struct virgl_resource dst_res = {0}; in START_TEST()
[all …]
Dtest_virgl_cmd.c80 struct virgl_resource res; in START_TEST()
151 struct virgl_resource res, res2; in START_TEST()
264 struct virgl_resource res; in START_TEST()
265 struct virgl_resource vbo; in START_TEST()
490 struct virgl_resource res; in START_TEST()
491 struct virgl_resource vbo; in START_TEST()
756 struct virgl_resource res; in START_TEST()
757 struct virgl_resource vbo; in START_TEST()
758 struct virgl_resource xfb; in START_TEST()
/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.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_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_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/
DAndroid.bp109 "src/virgl_resource.c",

12