Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/virgl/
Dvirgl_resource.h39 struct virgl_resource { struct
46 struct virgl_resource base; argument
63 struct virgl_resource base;
72 struct virgl_resource *resolve_tmp;
89 static inline struct virgl_resource *virgl_resource(struct pipe_resource *r) in virgl_resource() function
91 return (struct virgl_resource *)r; in virgl_resource()
141 struct virgl_resource *res,
144 struct virgl_resource *res,
Dvirgl_encode.h34 struct virgl_resource;
107 struct virgl_resource *res,
134 struct virgl_resource *res,
138 struct virgl_resource *res);
151 struct virgl_resource *res,
161 struct virgl_resource *res,
192 struct virgl_resource *res);
218 struct virgl_resource *dst_res,
221 struct virgl_resource *src_res,
226 struct virgl_resource *dst_res,
[all …]
Dvirgl_context.c83 struct virgl_resource *res; in virgl_attach_res_framebuffer()
88 res = virgl_resource(surf->texture); in virgl_attach_res_framebuffer()
95 res = virgl_resource(surf->texture); in virgl_attach_res_framebuffer()
107 struct virgl_resource *res; in virgl_attach_res_sampler_views()
114 res = virgl_resource(tinfo->views[i]->base.texture); in virgl_attach_res_sampler_views()
123 struct virgl_resource *res; in virgl_attach_res_vertex_buffers()
127 res = virgl_resource(vctx->vertex_buffer[i].buffer.resource); in virgl_attach_res_vertex_buffers()
137 struct virgl_resource *res; in virgl_attach_res_index_buffer()
139 res = virgl_resource(ib->buffer); in virgl_attach_res_index_buffer()
147 struct virgl_resource *res; in virgl_attach_res_so_targets()
[all …]
Dvirgl_encode.c53 struct virgl_resource *res) in virgl_encoder_write_res()
392 struct virgl_resource *res = virgl_resource(buffers[i].buffer.resource); in virgl_encoder_set_vertex_buffers()
404 struct virgl_resource *res = NULL; in virgl_encoder_set_index_buffer()
406 res = virgl_resource(ib->buffer); in virgl_encoder_set_index_buffer()
441 struct virgl_resource *res, in virgl_encoder_create_surface()
461 struct virgl_resource *res, in virgl_encoder_create_so_target()
474 struct virgl_resource *res, in virgl_encoder_iw_emit_header_1d()
493 struct virgl_resource *res, in virgl_encoder_inline_write()
532 struct virgl_resource *res) in virgl_encoder_flush_frontbuffer()
569 struct virgl_resource *res, in virgl_encode_sampler_view()
[all …]
DMakefile.sources11 virgl_resource.c \
12 virgl_resource.h \
Dvirgl_resource.c29 struct virgl_resource *res, in virgl_res_needs_flush_wait()
41 struct virgl_resource *res, in virgl_res_needs_readback()
Dvirgl_streamout.c37 struct virgl_resource *res = virgl_resource(buffer); in virgl_create_so_target()
Dvirgl_query.c33 struct virgl_resource *buf;
103 query->buf = (struct virgl_resource *)pipe_buffer_create(ctx->screen, PIPE_BIND_CUSTOM, in virgl_create_query()
Dmeson.build26 'virgl_resource.c',
Dvirgl_screen.c539 struct virgl_resource *vres = virgl_resource(res); in virgl_flush_frontbuffer()
Dvirgl_texture.c173 …trans->resolve_tmp = (struct virgl_resource *)ctx->screen->resource_create(ctx->screen, &tmp_resou… in virgl_texture_transfer_map()
/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()