Home
last modified time | relevance | path

Searched refs:virgl_context (Results 1 – 25 of 29) sorted by relevance

12

/external/mesa3d/src/gallium/drivers/virgl/
Dvirgl_encode.h34 struct virgl_context;
84 extern int virgl_encode_blend_state(struct virgl_context *ctx,
87 extern int virgl_encode_rasterizer_state(struct virgl_context *ctx,
91 extern int virgl_encode_shader_state(struct virgl_context *ctx,
98 int virgl_encode_stream_output_info(struct virgl_context *ctx,
103 int virgl_encoder_set_so_targets(struct virgl_context *ctx,
108 int virgl_encoder_create_so_target(struct virgl_context *ctx,
114 int virgl_encode_clear(struct virgl_context *ctx,
119 int virgl_encode_clear_texture(struct virgl_context *ctx,
125 int virgl_encode_bind_object(struct virgl_context *ctx,
[all …]
Dvirgl_context.c65 virgl_can_rebind_resource(struct virgl_context *vctx, in virgl_can_rebind_resource()
85 virgl_rebind_resource(struct virgl_context *vctx, in virgl_rebind_resource()
171 static void virgl_attach_res_framebuffer(struct virgl_context *vctx) in virgl_attach_res_framebuffer()
198 static void virgl_attach_res_sampler_views(struct virgl_context *vctx, in virgl_attach_res_sampler_views()
215 static void virgl_attach_res_vertex_buffers(struct virgl_context *vctx) in virgl_attach_res_vertex_buffers()
228 static void virgl_attach_res_index_buffer(struct virgl_context *vctx, in virgl_attach_res_index_buffer()
239 static void virgl_attach_res_so_targets(struct virgl_context *vctx) in virgl_attach_res_so_targets()
252 static void virgl_attach_res_uniform_buffers(struct virgl_context *vctx, in virgl_attach_res_uniform_buffers()
269 static void virgl_attach_res_shader_buffers(struct virgl_context *vctx, in virgl_attach_res_shader_buffers()
286 static void virgl_attach_res_shader_images(struct virgl_context *vctx, in virgl_attach_res_shader_images()
[all …]
Dvirgl_context.h69 struct virgl_context { struct
118 static inline struct virgl_context *virgl_context(struct pipe_context *ctx) in virgl_context() argument
120 return (struct virgl_context *)ctx; in virgl_context()
126 void virgl_init_blit_functions(struct virgl_context *vctx);
127 void virgl_init_query_functions(struct virgl_context *vctx);
128 void virgl_init_so_functions(struct virgl_context *vctx);
130 struct tgsi_token *virgl_tgsi_transform(struct virgl_context *vctx, const struct tgsi_token *tokens…
133 virgl_can_rebind_resource(struct virgl_context *vctx,
137 virgl_rebind_resource(struct virgl_context *vctx,
Dvirgl_query.c87 struct virgl_context *vctx = virgl_context(ctx); in virgl_render_condition()
98 struct virgl_context *vctx = virgl_context(ctx); in virgl_create_query()
130 struct virgl_context *vctx = virgl_context(ctx); in virgl_destroy_query()
142 struct virgl_context *vctx = virgl_context(ctx); in virgl_begin_query()
154 struct virgl_context *vctx = virgl_context(ctx); in virgl_end_query()
183 struct virgl_context *vctx = virgl_context(ctx); in virgl_get_query_result()
246 struct virgl_context *vctx = virgl_context(ctx); in virgl_get_query_result_resource()
253 void virgl_init_query_functions(struct virgl_context *vctx) in virgl_init_query_functions()
Dvirgl_streamout.c36 struct virgl_context *vctx = virgl_context(ctx); in virgl_create_so_target()
64 struct virgl_context *vctx = virgl_context(ctx); in virgl_destroy_so_target()
77 struct virgl_context *vctx = virgl_context(ctx); in virgl_set_so_targets()
97 void virgl_init_so_functions(struct virgl_context *vctx) in virgl_init_so_functions()
Dvirgl_encode.c271 static int virgl_encoder_write_cmd_dword(struct virgl_context *ctx, in virgl_encoder_write_cmd_dword()
295 static void virgl_encoder_write_res(struct virgl_context *ctx, in virgl_encoder_write_res()
302 int virgl_encode_bind_object(struct virgl_context *ctx, in virgl_encode_bind_object()
310 int virgl_encode_delete_object(struct virgl_context *ctx, in virgl_encode_delete_object()
318 int virgl_encode_blend_state(struct virgl_context *ctx, in virgl_encode_blend_state()
361 int virgl_encode_dsa_state(struct virgl_context *ctx, in virgl_encode_dsa_state()
391 int virgl_encode_rasterizer_state(struct virgl_context *ctx, in virgl_encode_rasterizer_state()
444 static void virgl_emit_shader_header(struct virgl_context *ctx, in virgl_emit_shader_header()
456 static void virgl_emit_shader_streamout(struct virgl_context *ctx, in virgl_emit_shader_streamout()
484 int virgl_encode_shader_state(struct virgl_context *ctx, in virgl_encode_shader_state()
[all …]
Dvirgl_transfer_queue.h32 struct virgl_context;
38 struct virgl_context *vctx;
44 struct virgl_context *vctx);
Dvirgl_resource.c57 static bool virgl_res_needs_flush(struct virgl_context *vctx, in virgl_res_needs_flush()
82 static bool virgl_res_needs_readback(struct virgl_context *vctx, in virgl_res_needs_readback()
97 virgl_resource_transfer_prepare(struct virgl_context *vctx, in virgl_resource_transfer_prepare()
269 virgl_staging_map(struct virgl_context *vctx, in virgl_staging_map()
334 virgl_resource_realloc(struct virgl_context *vctx, struct virgl_resource *res) in virgl_resource_realloc()
382 struct virgl_context *vctx = virgl_context(ctx); in virgl_resource_transfer_map()
603 struct virgl_context *vctx = virgl_context(pipe); in virgl_buffer_subdata()
634 virgl_resource_create_transfer(struct virgl_context *vctx, in virgl_resource_create_transfer()
698 void virgl_resource_destroy_transfer(struct virgl_context *vctx, in virgl_resource_destroy_transfer()
DMakefile.sources3 virgl_context.c \
4 virgl_context.h \
Dvirgl_resource.h42 struct virgl_context;
178 virgl_resource_create_transfer(struct virgl_context *vctx,
184 void virgl_resource_destroy_transfer(struct virgl_context *vctx,
Dvirgl_buffer.c34 struct virgl_context *vctx = virgl_context(ctx); in virgl_buffer_transfer_unmap()
Dvirgl_texture.c122 struct virgl_context *vctx = virgl_context(ctx); in texture_transfer_map_resolve()
260 struct virgl_context *vctx = virgl_context(ctx); in virgl_texture_transfer_unmap()
Dvirgl_tgsi.c104 struct tgsi_token *virgl_tgsi_transform(struct virgl_context *vctx, const struct tgsi_token *tokens… in virgl_tgsi_transform()
/external/virglrenderer/tests/
Dtestvirgl_encode.h71 extern int virgl_encode_blend_state(struct virgl_context *ctx,
74 extern int virgl_encode_rasterizer_state(struct virgl_context *ctx,
78 extern int virgl_encode_shader_state(struct virgl_context *ctx,
84 int virgl_encode_stream_output_info(struct virgl_context *ctx,
89 int virgl_encoder_set_so_targets(struct virgl_context *ctx,
94 int virgl_encoder_create_so_target(struct virgl_context *ctx,
100 int virgl_encode_clear(struct virgl_context *ctx,
105 int virgl_encode_bind_object(struct virgl_context *ctx,
107 int virgl_encode_delete_object(struct virgl_context *ctx,
110 int virgl_encoder_set_framebuffer_state(struct virgl_context *ctx,
[all …]
Dtestvirgl_encode.c36 static int virgl_encoder_write_cmd_dword(struct virgl_context *ctx, in virgl_encoder_write_cmd_dword()
48 static void virgl_encoder_write_res(struct virgl_context *ctx, in virgl_encoder_write_res()
57 int virgl_encode_bind_object(struct virgl_context *ctx, in virgl_encode_bind_object()
65 int virgl_encode_delete_object(struct virgl_context *ctx, in virgl_encode_delete_object()
73 int virgl_encode_blend_state(struct virgl_context *ctx, in virgl_encode_blend_state()
110 int virgl_encode_dsa_state(struct virgl_context *ctx, in virgl_encode_dsa_state()
140 int virgl_encode_rasterizer_state(struct virgl_context *ctx, in virgl_encode_rasterizer_state()
192 static void virgl_emit_shader_header(struct virgl_context *ctx, in virgl_emit_shader_header()
204 static void virgl_emit_shader_streamout(struct virgl_context *ctx, in virgl_emit_shader_streamout()
232 int virgl_encode_shader_state(struct virgl_context *ctx, in virgl_encode_shader_state()
[all …]
Dtestvirgl.h40 struct virgl_context { struct
41 void (*flush)(struct virgl_context *ctx); argument
72 int testvirgl_init_ctx_cmdbuf(struct virgl_context *ctx);
73 void testvirgl_fini_ctx_cmdbuf(struct virgl_context *ctx);
Dtestvirgl.c142 static void testvirgl_flush(struct virgl_context *ctx) in testvirgl_flush()
148 int testvirgl_init_ctx_cmdbuf(struct virgl_context *ctx) in testvirgl_init_ctx_cmdbuf()
172 void testvirgl_fini_ctx_cmdbuf(struct virgl_context *ctx) in testvirgl_fini_ctx_cmdbuf()
Dtest_virgl_transfer.c685 struct virgl_context ctx; in virgl_test_transfer_inline()
737 struct virgl_context ctx; in START_TEST()
764 struct virgl_context ctx = {0}; in START_TEST()
792 struct virgl_context ctx = {0}; in START_TEST()
827 struct virgl_context ctx = {0}; in START_TEST()
862 struct virgl_context ctx = {0}; in START_TEST()
896 struct virgl_context ctx = {0}; in START_TEST()
928 struct virgl_context ctx = {0}; in START_TEST()
Dtest_virgl_cmd.c41 struct virgl_context ctx; in START_TEST()
79 struct virgl_context ctx; in START_TEST()
150 struct virgl_context ctx; in START_TEST()
263 struct virgl_context ctx; in START_TEST()
489 struct virgl_context ctx; in START_TEST()
755 struct virgl_context ctx; in START_TEST()
1000 struct virgl_context ctx; in START_TEST()
/external/virglrenderer/src/
Dvirgl_context.h51 struct virgl_context;
53 typedef void (*virgl_context_fence_retire)(struct virgl_context *ctx,
61 struct virgl_context { struct
76 void (*destroy)(struct virgl_context *ctx); argument
78 void (*attach_resource)(struct virgl_context *ctx, argument
80 void (*detach_resource)(struct virgl_context *ctx, argument
83 int (*transfer_3d)(struct virgl_context *ctx, argument
97 int (*get_blob)(struct virgl_context *ctx, argument
101 void (*get_blob_done)(struct virgl_context *ctx, argument
105 int (*submit_cmd)(struct virgl_context *ctx, argument
[all …]
Dvirgl_context.c39 struct virgl_context *ctx = val; in virgl_context_destroy_func()
65 virgl_context_add(struct virgl_context *ctx) in virgl_context_add()
78 struct virgl_context *
89 struct virgl_context *ctx = val; in virgl_context_foreach_func()
Dvirglrenderer.c133 static bool detach_resource(struct virgl_context *ctx, void *data) in detach_resource()
168 static void per_context_fence_retire(struct virgl_context *ctx, in per_context_fence_retire()
185 struct virgl_context *ctx; in virgl_renderer_context_create_with_flags()
247 struct virgl_context *ctx = virgl_context_lookup(ctx_id); in virgl_renderer_submit_cmd()
281 struct virgl_context *ctx = virgl_context_lookup(ctx_id); in virgl_renderer_transfer_write_iov()
320 struct virgl_context *ctx = virgl_context_lookup(ctx_id); in virgl_renderer_transfer_read_iov()
375 struct virgl_context *ctx = virgl_context_lookup(ctx_id); in virgl_renderer_context_create_fence()
385 struct virgl_context *ctx = virgl_context_lookup(ctx_id); in virgl_renderer_context_poll()
394 struct virgl_context *ctx = virgl_context_lookup(ctx_id); in virgl_renderer_context_get_poll_fd()
410 struct virgl_context *ctx = virgl_context_lookup(ctx_id); in virgl_renderer_ctx_attach_resource()
[all …]
Dmeson.build28 'virgl_context.c',
29 'virgl_context.h',
Dvrend_decode.c48 struct virgl_context base;
1472 struct virgl_context *vrend_renderer_context_create(uint32_t handle, in vrend_renderer_context_create()
1497 static void vrend_decode_ctx_destroy(struct virgl_context *ctx) in vrend_decode_ctx_destroy()
1506 static void vrend_decode_ctx_attach_resource(struct virgl_context *ctx, in vrend_decode_ctx_attach_resource()
1514 static void vrend_decode_ctx_detach_resource(struct virgl_context *ctx, in vrend_decode_ctx_detach_resource()
1522 static int vrend_decode_ctx_transfer_3d(struct virgl_context *ctx, in vrend_decode_ctx_transfer_3d()
1533 static int vrend_decode_ctx_get_blob(struct virgl_context *ctx, in vrend_decode_ctx_get_blob()
1628 static int vrend_decode_ctx_submit_cmd(struct virgl_context *ctx, in vrend_decode_ctx_submit_cmd()
1681 static int vrend_decode_ctx_get_fencing_fd(UNUSED struct virgl_context *ctx) in vrend_decode_ctx_get_fencing_fd()
1686 static void vrend_decode_ctx_retire_fences(UNUSED struct virgl_context *ctx) in vrend_decode_ctx_retire_fences()
[all …]
/external/mesa3d/src/gallium/drivers/virgl/tests/
Dvirgl_staging_mgr_test.cpp88 struct virgl_context *vctx = CALLOC_STRUCT(virgl_context); in fake_virgl_context_create()
105 struct virgl_context *vctx = virgl_context(ctx); in fake_virgl_context_destroy()

12