| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/virgl/ |
| H A D | virgl_context.c | 68 virgl_can_rebind_resource(struct virgl_context *vctx, argument 88 virgl_rebind_resource(struct virgl_context *vctx, argument 101 assert(virgl_can_rebind_resource(vctx, res) && 105 for (i = 0; i < vctx->num_vertex_buffers; i++) { 106 if (vctx->vertex_buffer[i].buffer.resource == res) { 107 vctx->vertex_array_dirty = true; 114 uint32_t remaining_mask = vctx->atomic_buffer_enabled_mask; 117 if (vctx->atomic_buffers[i].buffer == res) { 118 const struct pipe_shader_buffer *abo = &vctx->atomic_buffers[i]; 119 virgl_encode_set_hw_atomic_buffers(vctx, 174 virgl_attach_res_framebuffer(struct virgl_context * vctx) argument 201 virgl_attach_res_sampler_views(struct virgl_context * vctx,enum pipe_shader_type shader_type) argument 218 virgl_attach_res_vertex_buffers(struct virgl_context * vctx) argument 231 virgl_attach_res_index_buffer(struct virgl_context * vctx,struct virgl_indexbuf * ib) argument 242 virgl_attach_res_so_targets(struct virgl_context * vctx) argument 255 virgl_attach_res_uniform_buffers(struct virgl_context * vctx,enum pipe_shader_type shader_type) argument 272 virgl_attach_res_shader_buffers(struct virgl_context * vctx,enum pipe_shader_type shader_type) argument 289 virgl_attach_res_shader_images(struct virgl_context * vctx,enum pipe_shader_type shader_type) argument 306 virgl_attach_res_atomic_buffers(struct virgl_context * vctx) argument 324 virgl_reemit_draw_resources(struct virgl_context * vctx) argument 343 virgl_reemit_compute_resources(struct virgl_context * vctx) argument 357 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_create_surface 397 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_surface_destroy 408 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_create_blend_state 420 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_bind_blend_state 428 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_delete_blend_state 436 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_create_depth_stencil_alpha_state 447 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_bind_depth_stencil_alpha_state 455 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_delete_depth_stencil_alpha_state 463 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_create_rasterizer_state 481 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_bind_rasterizer_state 494 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_delete_rasterizer_state 503 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_set_framebuffer_state 515 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_set_viewport_states 524 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_create_vertex_elements_state 554 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_delete_vertex_elements_state 564 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_bind_vertex_elements_state 580 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_set_vertex_buffers 600 virgl_hw_set_vertex_buffers(struct virgl_context * vctx) argument 623 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_set_stencil_ref 630 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_set_blend_color 634 virgl_hw_set_index_buffer(struct virgl_context * vctx,struct virgl_indexbuf * ib) argument 646 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_set_constant_buffer 683 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_shader_encoder 751 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_delete_fs_state 761 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_delete_gs_state 771 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_delete_vs_state 781 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_delete_tcs_state 791 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_delete_tes_state 800 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_bind_vs_state 809 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_bind_tcs_state 818 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_bind_tes_state 827 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_bind_gs_state 837 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_bind_fs_state 848 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_clear 863 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_clear_texture 890 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_draw_vbo 991 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_flush_from_st 1000 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_create_sampler_view 1034 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_set_sampler_views 1070 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_texture_barrier 1082 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_destroy_sampler_view 1093 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_create_sampler_state 1105 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_delete_sampler_state 1117 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_bind_sampler_states 1129 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_set_polygon_stipple 1138 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_set_scissor_states 1145 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_set_sample_mask 1152 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_set_min_samples 1163 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_set_clip_state 1171 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_set_tess_state 1181 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_set_patch_vertices 1194 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_resource_copy_region 1217 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_blit 1236 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_set_hw_atomic_buffers 1263 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_set_shader_buffers 1306 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_fence_server_sync 1319 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_set_shader_images 1356 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_memory_barrier 1367 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_create_compute_state 1399 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_bind_compute_state 1407 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_delete_compute_state 1415 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_launch_grid 1425 virgl_release_shader_binding(struct virgl_context * vctx,enum pipe_shader_type shader_type) argument 1456 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_emit_string_marker 1463 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_context_destroy 1497 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_get_sample_position 1530 virgl_send_tweaks(struct virgl_context * vctx,struct virgl_screen * rs) argument 1547 struct virgl_context *vctx; local in function:virgl_context_create [all...] |
| H A D | virgl_streamout.c | 36 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_create_so_target 57 virgl_encoder_create_so_target(vctx, handle, res, buffer_offset, buffer_size); 64 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_destroy_so_target 68 virgl_encode_delete_object(vctx, t->handle, VIRGL_OBJECT_STREAMOUT_TARGET); 77 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_set_so_targets 81 struct virgl_winsys *vws = virgl_screen(vctx->base.screen)->vws; 84 pipe_resource_reference(&vctx->so_targets[i].base.buffer, targets[i]->buffer); 86 vws->emit_res(vws, vctx->cbuf, res->hw_res, FALSE); 88 pipe_resource_reference(&vctx->so_targets[i].base.buffer, NULL); 91 for (i = num_targets; i < vctx 97 virgl_init_so_functions(struct virgl_context * vctx) argument [all...] |
| H A D | virgl_query.c | 87 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_render_condition 92 virgl_encoder_render_condition(vctx, handle, condition, mode); 98 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_create_query 121 virgl_encoder_create_query(vctx, query->handle, 130 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_destroy_query 133 virgl_encode_delete_object(vctx, query->handle, VIRGL_OBJECT_QUERY); 142 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_begin_query 145 virgl_encoder_begin_query(vctx, query->handle); 154 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_end_query 165 virgl_encoder_end_query(vctx, quer 183 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_get_query_result 246 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_get_query_result_resource 253 virgl_init_query_functions(struct virgl_context * vctx) argument [all...] |
| H A D | virgl_buffer.c | 34 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_buffer_transfer_unmap 42 virgl_resource_destroy_transfer(vctx, trans); 52 virgl_encode_copy_transfer(vctx, trans); 53 virgl_resource_destroy_transfer(vctx, trans); 55 virgl_transfer_queue_unmap(&vctx->queue, trans); 58 virgl_resource_destroy_transfer(vctx, trans);
|
| H A D | virgl_transfer_queue.h | 38 struct virgl_context *vctx; member in struct:virgl_transfer_queue 44 struct virgl_context *vctx);
|
| H A D | virgl_context.h | 127 void virgl_init_blit_functions(struct virgl_context *vctx); 128 void virgl_init_query_functions(struct virgl_context *vctx); 129 void virgl_init_so_functions(struct virgl_context *vctx); 134 virgl_can_rebind_resource(struct virgl_context *vctx, 138 virgl_rebind_resource(struct virgl_context *vctx,
|
| H A D | virgl_resource.c | 57 static bool virgl_res_needs_flush(struct virgl_context *vctx, argument 60 struct virgl_winsys *vws = virgl_screen(vctx->base.screen)->vws; 66 if (!vws->res_is_referenced(vws, vctx->cbuf, res->hw_res)) 82 static bool virgl_res_needs_readback(struct virgl_context *vctx, argument 97 virgl_resource_transfer_prepare(struct virgl_context *vctx, argument 100 struct virgl_screen *vs = virgl_screen(vctx->base.screen); 120 flush = virgl_res_needs_flush(vctx, xfer); 121 readback = virgl_res_needs_readback(vctx, res, xfer->base.usage, 159 can_realloc = virgl_can_rebind_resource(vctx, &res->b); 161 can_staging = vctx 269 virgl_staging_map(struct virgl_context * vctx,struct virgl_transfer * vtransfer) argument 334 virgl_resource_realloc(struct virgl_context * vctx,struct virgl_resource * res) argument 382 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_resource_transfer_map 653 struct virgl_context *vctx = virgl_context(pipe); local in function:virgl_buffer_subdata 686 virgl_resource_create_transfer(struct virgl_context * vctx,struct pipe_resource * pres,const struct virgl_resource_metadata * metadata,unsigned level,unsigned usage,const struct pipe_box * box) argument 750 virgl_resource_destroy_transfer(struct virgl_context * vctx,struct virgl_transfer * trans) argument [all...] |
| H A D | virgl_texture.c | 122 struct virgl_context *vctx = virgl_context(ctx); local in function:texture_transfer_map_resolve 127 trans = virgl_resource_create_transfer(vctx, resource, 216 virgl_resource_destroy_transfer(vctx, trans); 260 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_texture_transfer_unmap 289 virgl_resource_destroy_transfer(vctx, 295 virgl_encode_copy_transfer(vctx, trans); 296 virgl_resource_destroy_transfer(vctx, trans); 298 virgl_transfer_queue_unmap(&vctx->queue, trans); 301 virgl_resource_destroy_transfer(vctx, trans);
|
| H A D | virgl_transfer_queue.c | 166 virgl_resource_destroy_transfer(queue->vctx, queued); 265 struct virgl_context *vctx) 267 struct virgl_screen *vs = virgl_screen(vctx->base.screen); 270 queue->vctx = vctx; 296 queue->vctx = NULL; 264 virgl_transfer_queue_init(struct virgl_transfer_queue * queue,struct virgl_context * vctx) argument
|
| H A D | virgl_resource.h | 185 virgl_resource_create_transfer(struct virgl_context *vctx, 191 void virgl_resource_destroy_transfer(struct virgl_context *vctx,
|
| H A D | virgl_screen.c | 810 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_fence_finish 812 if (vctx && timeout) 813 virgl_flush_eq(vctx, NULL, NULL); 869 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_query_memory_info 887 virgl_encode_get_memory_info(vctx, res);
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/virgl/ |
| H A D | virgl_streamout.c | 36 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_create_so_target 52 virgl_encoder_create_so_target(vctx, handle, res, buffer_offset, buffer_size); 59 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_destroy_so_target 63 virgl_encode_delete_object(vctx, t->handle, VIRGL_OBJECT_STREAMOUT_TARGET); 72 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_set_so_targets 76 pipe_resource_reference(&vctx->so_targets[i].base.buffer, targets[i]->buffer); 78 pipe_resource_reference(&vctx->so_targets[i].base.buffer, NULL); 80 for (i = num_targets; i < vctx->num_so_targets; i++) 81 pipe_resource_reference(&vctx->so_targets[i].base.buffer, NULL); 82 vctx 86 virgl_init_so_functions(struct virgl_context * vctx) argument [all...] |
| H A D | virgl_context.c | 63 static void virgl_attach_res_framebuffer(struct virgl_context *vctx) argument 65 struct virgl_winsys *vws = virgl_screen(vctx->base.screen)->vws; 70 surf = vctx->framebuffer.zsbuf; 74 vws->emit_res(vws, vctx->cbuf, res->hw_res, FALSE); 78 for (i = 0; i < vctx->framebuffer.nr_cbufs; i++) { 79 surf = vctx->framebuffer.cbufs[i]; 83 vws->emit_res(vws, vctx->cbuf, res->hw_res, FALSE); 90 static void virgl_attach_res_sampler_views(struct virgl_context *vctx, argument 93 struct virgl_winsys *vws = virgl_screen(vctx->base.screen)->vws; 94 struct virgl_textures_info *tinfo = &vctx 108 virgl_attach_res_vertex_buffers(struct virgl_context * vctx) argument 121 virgl_attach_res_index_buffer(struct virgl_context * vctx,struct virgl_indexbuf * ib) argument 132 virgl_attach_res_so_targets(struct virgl_context * vctx) argument 145 virgl_attach_res_uniform_buffers(struct virgl_context * vctx,enum pipe_shader_type shader_type) argument 159 virgl_attach_res_shader_buffers(struct virgl_context * vctx,enum pipe_shader_type shader_type) argument 173 virgl_attach_res_shader_images(struct virgl_context * vctx,enum pipe_shader_type shader_type) argument 187 virgl_attach_res_atomic_buffers(struct virgl_context * vctx) argument 204 virgl_reemit_res(struct virgl_context * vctx) argument 227 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_create_surface 267 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_surface_destroy 278 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_create_blend_state 290 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_bind_blend_state 298 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_delete_blend_state 306 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_create_depth_stencil_alpha_state 317 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_bind_depth_stencil_alpha_state 325 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_delete_depth_stencil_alpha_state 333 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_create_rasterizer_state 348 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_bind_rasterizer_state 361 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_delete_rasterizer_state 370 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_set_framebuffer_state 382 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_set_viewport_states 391 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_create_vertex_elements_state 421 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_delete_vertex_elements_state 431 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_bind_vertex_elements_state 445 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_set_vertex_buffers 454 virgl_hw_set_vertex_buffers(struct virgl_context * vctx) argument 477 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_set_stencil_ref 484 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_set_blend_color 488 virgl_hw_set_index_buffer(struct virgl_context * vctx,struct virgl_indexbuf * ib) argument 499 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_set_constant_buffer 526 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_transfer_inline_write 554 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_shader_encoder 611 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_delete_fs_state 621 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_delete_gs_state 631 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_delete_vs_state 641 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_delete_tcs_state 651 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_delete_tes_state 660 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_bind_vs_state 669 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_bind_tcs_state 678 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_bind_tes_state 687 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_bind_gs_state 697 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_bind_fs_state 707 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_clear 715 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_draw_vbo 790 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_flush_from_st 799 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_create_sampler_view 831 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_set_sampler_views 871 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_texture_barrier 882 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_destroy_sampler_view 893 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_create_sampler_state 905 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_delete_sampler_state 917 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_bind_sampler_states 929 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_set_polygon_stipple 938 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_set_scissor_states 945 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_set_sample_mask 952 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_set_min_samples 963 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_set_clip_state 971 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_set_tess_state 987 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_resource_copy_region 1007 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_blit 1026 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_set_hw_atomic_buffers 1049 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_set_shader_buffers 1087 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_fence_server_sync 1099 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_set_shader_images 1125 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_memory_barrier 1136 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_create_compute_state 1157 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_bind_compute_state 1165 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_delete_compute_state 1173 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_launch_grid 1181 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_context_destroy 1204 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_get_sample_position 1241 struct virgl_context *vctx; local in function:virgl_context_create [all...] |
| H A D | virgl_query.c | 86 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_render_condition 91 virgl_encoder_render_condition(vctx, handle, condition, mode); 97 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_create_query 117 virgl_encoder_create_query(vctx, handle, query->type, index, query->buf, 0); 125 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_destroy_query 128 virgl_encode_delete_object(vctx, query->handle, VIRGL_OBJECT_QUERY); 137 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_begin_query 141 virgl_encoder_begin_query(vctx, query->handle); 148 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_end_query 158 virgl_encoder_end_query(vctx, quer 167 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_get_query_result 217 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_get_query_result_resource 224 virgl_init_query_functions(struct virgl_context * vctx) argument [all...] |
| H A D | virgl_buffer.c | 37 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_buffer_transfer_map 44 trans = virgl_resource_create_transfer(&vctx->transfer_pool, resource, 49 flush = virgl_res_needs_flush(vctx, trans); 54 readback = virgl_res_needs_readback(vctx, vbuf, usage, 0); 64 virgl_resource_destroy_transfer(&vctx->transfer_pool, trans); 75 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_buffer_transfer_unmap 81 virgl_resource_destroy_transfer(&vctx->transfer_pool, trans); 90 virgl_transfer_queue_unmap(&vctx->queue, trans); 92 virgl_resource_destroy_transfer(&vctx->transfer_pool, trans);
|
| H A D | virgl_context.h | 114 void virgl_init_blit_functions(struct virgl_context *vctx); 115 void virgl_init_query_functions(struct virgl_context *vctx); 116 void virgl_init_so_functions(struct virgl_context *vctx); 127 struct tgsi_token *virgl_tgsi_transform(struct virgl_context *vctx, const struct tgsi_token *tokens_in);
|
| H A D | virgl_texture.c | 125 struct virgl_context *vctx = virgl_context(ctx); local in function:texture_transfer_map_plain 131 trans = virgl_resource_create_transfer(&vctx->transfer_pool, resource, 137 flush = virgl_res_needs_flush(vctx, trans); 141 readback = virgl_res_needs_readback(vctx, vtex, usage, level); 151 virgl_resource_destroy_transfer(&vctx->transfer_pool, trans); 166 struct virgl_context *vctx = virgl_context(ctx); local in function:texture_transfer_map_resolve 171 trans = virgl_resource_create_transfer(&vctx->transfer_pool, resource, 248 virgl_resource_destroy_transfer(&vctx->transfer_pool, trans); 292 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_texture_transfer_unmap 322 virgl_resource_destroy_transfer(&vctx [all...] |
| H A D | virgl_resource.c | 30 bool virgl_res_needs_flush(struct virgl_context *vctx, argument 33 struct virgl_screen *vs = virgl_screen(vctx->base.screen); 38 if (!vs->vws->res_is_referenced(vs->vws, vctx->cbuf, res->hw_res)) 41 if (vctx->num_draws == 0 && vctx->num_compute == 0) 43 if (!virgl_transfer_queue_is_queued(&vctx->queue, trans)) 50 bool virgl_res_needs_readback(struct virgl_context *vctx, argument 142 struct virgl_context *vctx = virgl_context(ctx); local in function:virgl_buffer_transfer_extend 160 flush = virgl_res_needs_flush(vctx, &dummy_trans); 164 queued = virgl_transfer_queue_extend(&vctx [all...] |
| H A D | virgl_resource.h | 120 bool virgl_res_needs_flush(struct virgl_context *vctx, 122 bool virgl_res_needs_readback(struct virgl_context *vctx,
|
| H A D | virgl_tgsi.c | 104 struct tgsi_token *virgl_tgsi_transform(struct virgl_context *vctx, const struct tgsi_token *tokens_in) argument 106 struct virgl_screen *vscreen = (struct virgl_screen *)vctx->base.screen;
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/virgl/tests/ |
| H A D | virgl_staging_mgr_test.cpp | 88 struct virgl_context *vctx = CALLOC_STRUCT(virgl_context); local in function:fake_virgl_context_create 92 vctx->base.screen = &vs->base; 99 return &vctx->base; 105 struct virgl_context *vctx = virgl_context(ctx); local in function:fake_virgl_context_destroy 110 FREE(vctx);
|