Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/virgl/
Dvirgl_encode.h33 struct virgl_context;
82 extern int virgl_encode_blend_state(struct virgl_context *ctx,
85 extern int virgl_encode_rasterizer_state(struct virgl_context *ctx,
89 extern int virgl_encode_shader_state(struct virgl_context *ctx,
95 int virgl_encode_stream_output_info(struct virgl_context *ctx,
100 int virgl_encoder_set_so_targets(struct virgl_context *ctx,
105 int virgl_encoder_create_so_target(struct virgl_context *ctx,
111 int virgl_encode_clear(struct virgl_context *ctx,
116 int virgl_encode_bind_object(struct virgl_context *ctx,
118 int virgl_encode_delete_object(struct virgl_context *ctx,
[all …]
Dvirgl_context.c56 static void virgl_buffer_flush(struct virgl_context *vctx, in virgl_buffer_flush()
79 static void virgl_attach_res_framebuffer(struct virgl_context *vctx) in virgl_attach_res_framebuffer()
102 static void virgl_attach_res_sampler_views(struct virgl_context *vctx, in virgl_attach_res_sampler_views()
120 static void virgl_attach_res_vertex_buffers(struct virgl_context *vctx) in virgl_attach_res_vertex_buffers()
133 static void virgl_attach_res_index_buffer(struct virgl_context *vctx, in virgl_attach_res_index_buffer()
144 static void virgl_attach_res_so_targets(struct virgl_context *vctx) in virgl_attach_res_so_targets()
157 static void virgl_attach_res_uniform_buffers(struct virgl_context *vctx, in virgl_attach_res_uniform_buffers()
175 static void virgl_reemit_res(struct virgl_context *vctx) in virgl_reemit_res()
195 struct virgl_context *vctx = virgl_context(ctx); in virgl_create_surface()
230 struct virgl_context *vctx = virgl_context(ctx); in virgl_surface_destroy()
[all …]
Dvirgl_query.c84 struct virgl_context *vctx = virgl_context(ctx); in virgl_render_condition()
95 struct virgl_context *vctx = virgl_context(ctx); in virgl_create_query()
123 struct virgl_context *vctx = virgl_context(ctx); in virgl_destroy_query()
135 struct virgl_context *vctx = virgl_context(ctx); in virgl_begin_query()
146 struct virgl_context *vctx = virgl_context(ctx); in virgl_end_query()
165 struct virgl_context *vctx = virgl_context(ctx); in virgl_get_query_result()
206 void virgl_init_query_functions(struct virgl_context *vctx) in virgl_init_query_functions()
Dvirgl_encode.c40 static int virgl_encoder_write_cmd_dword(struct virgl_context *ctx, in virgl_encoder_write_cmd_dword()
52 static void virgl_encoder_write_res(struct virgl_context *ctx, in virgl_encoder_write_res()
64 int virgl_encode_bind_object(struct virgl_context *ctx, in virgl_encode_bind_object()
72 int virgl_encode_delete_object(struct virgl_context *ctx, in virgl_encode_delete_object()
80 int virgl_encode_blend_state(struct virgl_context *ctx, in virgl_encode_blend_state()
117 int virgl_encode_dsa_state(struct virgl_context *ctx, in virgl_encode_dsa_state()
147 int virgl_encode_rasterizer_state(struct virgl_context *ctx, in virgl_encode_rasterizer_state()
199 static void virgl_emit_shader_header(struct virgl_context *ctx, in virgl_emit_shader_header()
211 static void virgl_emit_shader_streamout(struct virgl_context *ctx, in virgl_emit_shader_streamout()
239 int virgl_encode_shader_state(struct virgl_context *ctx, in virgl_encode_shader_state()
[all …]
Dvirgl_context.h51 struct virgl_context { struct
91 static inline struct virgl_context *virgl_context(struct pipe_context *ctx) in virgl_context() argument
93 return (struct virgl_context *)ctx; in virgl_context()
99 void virgl_init_blit_functions(struct virgl_context *vctx);
100 void virgl_init_query_functions(struct virgl_context *vctx);
101 void virgl_init_so_functions(struct virgl_context *vctx);
Dvirgl_streamout.c36 struct virgl_context *vctx = virgl_context(ctx); in virgl_create_so_target()
59 struct virgl_context *vctx = virgl_context(ctx); in virgl_destroy_so_target()
72 struct virgl_context *vctx = virgl_context(ctx); in virgl_set_so_targets()
83 void virgl_init_so_functions(struct virgl_context *vctx) in virgl_init_so_functions()
Dvirgl_buffer.c48 struct virgl_context *vctx = virgl_context(ctx); in virgl_buffer_transfer_map()
102 struct virgl_context *vctx = virgl_context(ctx); in virgl_buffer_transfer_unmap()
124 struct virgl_context *vctx = virgl_context(ctx); in virgl_buffer_transfer_flush_region()
Dvirgl_resource.h37 struct virgl_context;
140 bool virgl_res_needs_flush_wait(struct virgl_context *vctx,
143 bool virgl_res_needs_readback(struct virgl_context *vctx,
DMakefile.sources3 virgl_context.c \
4 virgl_context.h \
Dvirgl_resource.c28 bool virgl_res_needs_flush_wait(struct virgl_context *vctx, in virgl_res_needs_flush_wait()
40 bool virgl_res_needs_readback(struct virgl_context *vctx, in virgl_res_needs_readback()
Dvirgl_texture.c129 struct virgl_context *vctx = virgl_context(ctx); in virgl_texture_transfer_map()
210 struct virgl_context *vctx = virgl_context(ctx); in virgl_texture_transfer_unmap()
Dmeson.build23 'virgl_context.c',
/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.h38 struct virgl_context { struct
39 void (*flush)(struct virgl_context *ctx); argument
70 int testvirgl_init_ctx_cmdbuf(struct virgl_context *ctx);
71 void testvirgl_fini_ctx_cmdbuf(struct virgl_context *ctx);
Dtestvirgl.c140 static void testvirgl_flush(struct virgl_context *ctx) in testvirgl_flush()
146 int testvirgl_init_ctx_cmdbuf(struct virgl_context *ctx) in testvirgl_init_ctx_cmdbuf()
170 void testvirgl_fini_ctx_cmdbuf(struct virgl_context *ctx) in testvirgl_fini_ctx_cmdbuf()
Dtest_virgl_cmd.c41 struct virgl_context ctx; in START_TEST()
73 struct virgl_context ctx; in START_TEST()
144 struct virgl_context ctx; in START_TEST()
257 struct virgl_context ctx; in START_TEST()
483 struct virgl_context ctx; in START_TEST()
749 struct virgl_context ctx; in START_TEST()
994 struct virgl_context ctx; in START_TEST()
Dtest_virgl_transfer.c681 struct virgl_context ctx; in virgl_test_transfer_inline()