Searched refs:staging_buffer (Results 1 – 8 of 8) sorted by relevance
/third_party/mesa3d/src/imagination/vulkan/ |
D | pvr_pipeline.c | 72 uint32_t *staging_buffer; in pvr_pds_coeff_program_create_and_upload() local 81 (program.code_size + program.data_size) * sizeof(*staging_buffer); in pvr_pds_coeff_program_create_and_upload() 83 staging_buffer = vk_alloc2(&device->vk.alloc, in pvr_pds_coeff_program_create_and_upload() 88 if (!staging_buffer) in pvr_pds_coeff_program_create_and_upload() 100 staging_buffer, in pvr_pds_coeff_program_create_and_upload() 105 &staging_buffer[0], in pvr_pds_coeff_program_create_and_upload() 108 &staging_buffer[program.data_size], in pvr_pds_coeff_program_create_and_upload() 114 vk_free2(&device->vk.alloc, allocator, staging_buffer); in pvr_pds_coeff_program_create_and_upload() 118 vk_free2(&device->vk.alloc, allocator, staging_buffer); in pvr_pds_coeff_program_create_and_upload() 138 uint32_t *staging_buffer; in pvr_pds_fragment_program_create_and_upload() local [all …]
|
D | pvr_job_context.c | 91 uint32_t *staging_buffer; in pvr_pds_pt_store_program_create_and_upload() local 109 sizeof(*staging_buffer); in pvr_pds_pt_store_program_create_and_upload() 111 staging_buffer = vk_zalloc(&device->vk.alloc, in pvr_pds_pt_store_program_create_and_upload() 115 if (!staging_buffer) in pvr_pds_pt_store_program_create_and_upload() 118 data_buffer = staging_buffer; in pvr_pds_pt_store_program_create_and_upload() 145 vk_free(&device->vk.alloc, staging_buffer); in pvr_pds_pt_store_program_create_and_upload() 160 uint32_t *staging_buffer; in pvr_pds_pt_resume_program_create_and_upload() local 180 sizeof(*staging_buffer); in pvr_pds_pt_resume_program_create_and_upload() 182 staging_buffer = vk_zalloc(&device->vk.alloc, in pvr_pds_pt_resume_program_create_and_upload() 186 if (!staging_buffer) in pvr_pds_pt_resume_program_create_and_upload() [all …]
|
D | pvr_device.c | 1120 uint32_t *staging_buffer; in pvr_device_init_compute_fence_program() local 1154 staging_buffer = vk_alloc(&device->vk.alloc, in pvr_device_init_compute_fence_program() 1158 if (!staging_buffer) in pvr_device_init_compute_fence_program() 1161 data_buffer = staging_buffer; in pvr_device_init_compute_fence_program() 1178 vk_free(&device->vk.alloc, staging_buffer); in pvr_device_init_compute_fence_program() 1198 uint32_t *staging_buffer; in pvr_pds_idfwdf_programs_create_and_upload() local 1219 (program.code_size + program.data_size) * sizeof(*staging_buffer); in pvr_pds_idfwdf_programs_create_and_upload() 1221 staging_buffer = vk_alloc(&device->vk.alloc, in pvr_pds_idfwdf_programs_create_and_upload() 1225 if (!staging_buffer) in pvr_pds_idfwdf_programs_create_and_upload() 1230 staging_buffer, in pvr_pds_idfwdf_programs_create_and_upload() [all …]
|
D | pvr_pass.c | 170 uint32_t *staging_buffer; in pvr_pds_unitex_state_program_create_and_upload() local 175 staging_buffer_size = program.code_size * sizeof(*staging_buffer); in pvr_pds_unitex_state_program_create_and_upload() 177 staging_buffer = vk_alloc2(&device->vk.alloc, in pvr_pds_unitex_state_program_create_and_upload() 182 if (!staging_buffer) in pvr_pds_unitex_state_program_create_and_upload() 185 pvr_pds_generate_pixel_shader_sa_code_segment(&program, staging_buffer); in pvr_pds_unitex_state_program_create_and_upload() 192 staging_buffer, in pvr_pds_unitex_state_program_create_and_upload() 198 vk_free2(&device->vk.alloc, allocator, staging_buffer); in pvr_pds_unitex_state_program_create_and_upload() 202 vk_free2(&device->vk.alloc, allocator, staging_buffer); in pvr_pds_unitex_state_program_create_and_upload()
|
D | pvr_cmd_buffer.c | 435 uint32_t *staging_buffer; in pvr_sub_cmd_gfx_per_job_fragment_programs_create_and_upload() local 469 staging_buffer = vk_alloc(allocator, in pvr_sub_cmd_gfx_per_job_fragment_programs_create_and_upload() 473 if (!staging_buffer) { in pvr_sub_cmd_gfx_per_job_fragment_programs_create_and_upload() 482 staging_buffer, in pvr_sub_cmd_gfx_per_job_fragment_programs_create_and_upload() 487 staging_buffer, in pvr_sub_cmd_gfx_per_job_fragment_programs_create_and_upload() 494 vk_free(allocator, staging_buffer); in pvr_sub_cmd_gfx_per_job_fragment_programs_create_and_upload() 499 vk_free(allocator, staging_buffer); in pvr_sub_cmd_gfx_per_job_fragment_programs_create_and_upload() 587 uint32_t *staging_buffer; in pvr_load_op_pds_data_create_and_upload() local 608 staging_buffer_size = program.data_size * sizeof(*staging_buffer); in pvr_load_op_pds_data_create_and_upload() 610 staging_buffer = vk_alloc(&cmd_buffer->vk.pool->alloc, in pvr_load_op_pds_data_create_and_upload() [all …]
|
/third_party/gstreamer/gstplugins_bad/sys/d3d11/ |
D | gstd3d11download.cpp | 81 GstBuffer *staging_buffer; member 158 gst_clear_buffer (&self->staging_buffer); in gst_d3d11_download_dispose() 168 gst_clear_buffer (&self->staging_buffer); in gst_d3d11_download_stop() 181 gst_clear_buffer (&self->staging_buffer); in gst_d3d11_download_sink_event() 381 if (self->staging_buffer) in gst_d3d11_download_can_use_staging_buffer() 384 self->staging_buffer = gst_d3d11_allocate_staging_buffer_for (inbuf, in gst_d3d11_download_can_use_staging_buffer() 387 if (!self->staging_buffer) { in gst_d3d11_download_can_use_staging_buffer() 413 if (!gst_d3d11_buffer_copy_into (self->staging_buffer, in gst_d3d11_download_transform() 420 target_inbuf = self->staging_buffer; in gst_d3d11_download_transform() 462 gst_clear_buffer (&self->staging_buffer); in gst_d3d11_download_set_info()
|
D | gstd3d11upload.cpp | 77 GstBuffer *staging_buffer; member 153 gst_clear_buffer (&self->staging_buffer); in gst_d3d11_upload_dispose() 163 gst_clear_buffer (&self->staging_buffer); in gst_d3d11_upload_stop() 176 gst_clear_buffer (&self->staging_buffer); in gst_d3d11_upload_sink_event() 482 if (self->staging_buffer) in gst_d3d11_upload_can_use_staging_buffer() 485 self->staging_buffer = gst_d3d11_allocate_staging_buffer_for (outbuf, in gst_d3d11_upload_can_use_staging_buffer() 488 if (!self->staging_buffer) { in gst_d3d11_upload_can_use_staging_buffer() 512 target_outbuf = self->staging_buffer; in gst_d3d11_upload_transform() 539 self->staging_buffer, &filter->out_info)) { in gst_d3d11_upload_transform() 563 gst_clear_buffer (&self->staging_buffer); in gst_d3d11_upload_set_info()
|
D | gstd3d11pluginutils.cpp | 601 GstBuffer *staging_buffer = NULL; in gst_d3d11_allocate_staging_buffer_for() local 634 staging_buffer = gst_buffer_new (); in gst_d3d11_allocate_staging_buffer_for() 663 gst_buffer_append_memory (staging_buffer, GST_MEMORY_CAST (new_mem)); in gst_d3d11_allocate_staging_buffer_for() 673 gst_buffer_add_video_meta_full (staging_buffer, GST_VIDEO_FRAME_FLAG_NONE, in gst_d3d11_allocate_staging_buffer_for() 681 return staging_buffer; in gst_d3d11_allocate_staging_buffer_for() 684 gst_clear_buffer (&staging_buffer); in gst_d3d11_allocate_staging_buffer_for()
|