Home
last modified time | relevance | path

Searched refs:dst_buffer (Results 1 – 25 of 34) sorted by relevance

12

/third_party/mesa3d/src/gallium/drivers/i915/
Di915_blit.c35 unsigned short dst_pitch, struct i915_winsys_buffer *dst_buffer, in i915_fill_blit() argument
42 dst_buffer, dst_pitch, dst_offset, x, y, w, h); in i915_fill_blit()
44 if (!i915_winsys_validate_buffers(i915->batch, &dst_buffer, 1)) { in i915_fill_blit()
46 assert(i915_winsys_validate_buffers(i915->batch, &dst_buffer, 1)); in i915_fill_blit()
72 OUT_RELOC_FENCED(dst_buffer, I915_USAGE_2D_TARGET, dst_offset); in i915_fill_blit()
82 struct i915_winsys_buffer *dst_buffer, unsigned dst_offset, in i915_copy_blit() argument
89 struct i915_winsys_buffer *buffers[2] = {src_buffer, dst_buffer}; in i915_copy_blit()
94 dst_buffer, dst_pitch, dst_offset, dst_x, dst_y, w, h); in i915_copy_blit()
135 OUT_RELOC_FENCED(dst_buffer, I915_USAGE_2D_TARGET, dst_offset); in i915_copy_blit()
Di915_blit.h37 struct i915_winsys_buffer *dst_buffer,
43 struct i915_winsys_buffer *dst_buffer,
/third_party/mesa3d/src/amd/vulkan/
Dradv_meta_buffer.c300 RADV_FROM_HANDLE(radv_buffer, dst_buffer, dstBuffer); in radv_CmdFillBuffer()
302 fillSize = vk_buffer_range(&dst_buffer->vk, dstOffset, fillSize) & ~3ull; in radv_CmdFillBuffer()
304 radv_fill_buffer(cmd_buffer, NULL, dst_buffer->bo, in radv_CmdFillBuffer()
305 radv_buffer_get_va(dst_buffer->bo) + dst_buffer->offset + dstOffset, fillSize, in radv_CmdFillBuffer()
311 struct radv_buffer *dst_buffer, const VkBufferCopy2 *region) in copy_buffer() argument
321 radv_copy_buffer(cmd_buffer, src_buffer->bo, dst_buffer->bo, in copy_buffer()
322 src_buffer->offset + region->srcOffset, dst_buffer->offset + region->dstOffset, in copy_buffer()
334 RADV_FROM_HANDLE(radv_buffer, dst_buffer, pCopyBufferInfo->dstBuffer); in radv_CmdCopyBuffer2()
337 copy_buffer(cmd_buffer, src_buffer, dst_buffer, &pCopyBufferInfo->pRegions[r]); in radv_CmdCopyBuffer2()
369 RADV_FROM_HANDLE(radv_buffer, dst_buffer, dstBuffer); in radv_CmdUpdateBuffer()
[all …]
Dradv_query.c973 struct radv_buffer src_buffer, dst_buffer; in radv_query_shader() local
994 radv_buffer_init(&dst_buffer, device, dst_bo, dst_buffer_size, dst_offset); in radv_query_shader()
1008 .pBufferInfo = &(VkDescriptorBufferInfo){.buffer = radv_buffer_to_handle(&dst_buffer), in radv_query_shader()
1052 radv_buffer_finish(&dst_buffer); in radv_query_shader()
1489 RADV_FROM_HANDLE(radv_buffer, dst_buffer, dstBuffer); in radv_CmdCopyQueryPoolResults()
1492 uint64_t dest_va = radv_buffer_get_va(dst_buffer->bo); in radv_CmdCopyQueryPoolResults()
1494 dest_va += dst_buffer->offset + dstOffset; in radv_CmdCopyQueryPoolResults()
1500 radv_cs_add_buffer(cmd_buffer->device->ws, cmd_buffer->cs, dst_buffer->bo); in radv_CmdCopyQueryPoolResults()
1534 pool->bo, dst_buffer->bo, firstQuery * pool->stride, in radv_CmdCopyQueryPoolResults()
1535 dst_buffer->offset + dstOffset, pool->stride, stride, dst_size, queryCount, in radv_CmdCopyQueryPoolResults()
[all …]
Dradv_meta_copy.c343 RADV_FROM_HANDLE(radv_buffer, dst_buffer, pCopyImageToBufferInfo->dstBuffer); in radv_CmdCopyImageToBuffer2()
346 copy_image_to_buffer(cmd_buffer, dst_buffer, src_image, in radv_CmdCopyImageToBuffer2()
/third_party/skia/third_party/externals/libjpeg-turbo/
Dtransupp.c242 JBLOCKARRAY src_buffer, dst_buffer; in do_drop() local
252 dst_buffer = (*srcinfo->mem->access_virt_barray) in do_drop()
261 dst_buffer[offset_y] + x_drop_blocks, comp_width); in do_drop()
265 MEMZERO(dst_buffer[offset_y] + x_drop_blocks, in do_drop()
283 JBLOCKARRAY src_buffer, dst_buffer; in do_crop() local
295 dst_buffer = (*srcinfo->mem->access_virt_barray) in do_crop()
303 dst_buffer[offset_y], compptr->width_in_blocks); in do_crop()
325 JBLOCKARRAY src_buffer, dst_buffer; in do_crop_ext_zero() local
341 dst_buffer = (*srcinfo->mem->access_virt_barray) in do_crop_ext_zero()
348 MEMZERO(dst_buffer[offset_y], in do_crop_ext_zero()
[all …]
/third_party/ffmpeg/libavfilter/
Daf_atempo.c151 AVFrame *dst_buffer; member
217 av_frame_free(&atempo->dst_buffer); in yae_clear()
1030 atempo->dst_buffer->sample_rate = outlink->sample_rate; in push_samples()
1031 atempo->dst_buffer->nb_samples = n_out; in push_samples()
1034 atempo->dst_buffer->pts = atempo->start_pts + in push_samples()
1039 ret = ff_filter_frame(outlink, atempo->dst_buffer); in push_samples()
1040 atempo->dst_buffer = NULL; in push_samples()
1069 if (!atempo->dst_buffer) { in filter_frame()
1070 atempo->dst_buffer = ff_get_audio_buffer(outlink, n_out); in filter_frame()
1071 if (!atempo->dst_buffer) { in filter_frame()
[all …]
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_prim_restart.c105 struct pipe_resource **dst_buffer) in util_translate_prim_restart_ib() argument
127 *dst_buffer = pipe_buffer_create(screen, PIPE_BIND_INDEX_BUFFER, in util_translate_prim_restart_ib()
130 if (!*dst_buffer) in util_translate_prim_restart_ib()
134 dst_map = pipe_buffer_map(context, *dst_buffer, in util_translate_prim_restart_ib()
165 if (*dst_buffer) in util_translate_prim_restart_ib()
166 pipe_resource_reference(dst_buffer, NULL); in util_translate_prim_restart_ib()
Du_prim_restart.h54 struct pipe_resource **dst_buffer);
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_state_constants.c751 struct pipe_resource *dst_buffer = NULL; in emit_constbuf() local
792 &dst_buffer, &dst_map); in emit_constbuf()
817 if (svga->state.hw_draw.const0_buffer == dst_buffer && in emit_constbuf()
826 dst_handle = svga_buffer_handle(svga, dst_buffer, in emit_constbuf()
829 pipe_resource_reference(&dst_buffer, NULL); in emit_constbuf()
868 pipe_resource_reference(&dst_buffer, NULL); in emit_constbuf()
873 if (dst_buffer != buffer && dst_buffer) { in emit_constbuf()
874 pipe_resource_reference(&svga->state.hw_draw.const0_buffer, dst_buffer); in emit_constbuf()
883 pipe_resource_reference(&svga->state.hw_draw.constbuf[shader][slot], dst_buffer); in emit_constbuf()
887 pipe_resource_reference(&dst_buffer, NULL); in emit_constbuf()
/third_party/mesa3d/src/intel/vulkan/
Danv_blorp.c603 ANV_FROM_HANDLE(anv_buffer, dst_buffer, pCopyImageToBufferInfo->dstBuffer); in anv_CmdCopyImageToBuffer2()
609 copy_buffer_to_image(cmd_buffer, &batch, dst_buffer, src_image, in anv_CmdCopyImageToBuffer2()
804 struct anv_buffer *dst_buffer, in copy_buffer() argument
814 .buffer = dst_buffer->address.bo, in copy_buffer()
815 .offset = dst_buffer->address.offset + region->dstOffset, in copy_buffer()
816 .mocs = anv_mocs(device, dst_buffer->address.bo, in copy_buffer()
829 ANV_FROM_HANDLE(anv_buffer, dst_buffer, pCopyBufferInfo->dstBuffer); in anv_CmdCopyBuffer2()
835 copy_buffer(cmd_buffer->device, &batch, src_buffer, dst_buffer, in anv_CmdCopyBuffer2()
853 ANV_FROM_HANDLE(anv_buffer, dst_buffer, dstBuffer); in anv_CmdUpdateBuffer()
888 .buffer = dst_buffer->address.bo, in anv_CmdUpdateBuffer()
[all …]
/third_party/skia/third_party/externals/angle2/src/libGLESv2/
Dcl_stubs.cpp790 cl_mem dst_buffer, in EnqueueCopyBuffer() argument
799 src_buffer, dst_buffer, src_offset, dst_offset, size, num_events_in_wait_list, in EnqueueCopyBuffer()
805 cl_mem dst_buffer, in EnqueueCopyBufferRect() argument
818 src_buffer, dst_buffer, src_origin, dst_origin, region, src_row_pitch, src_slice_pitch, in EnqueueCopyBufferRect()
886 cl_mem dst_buffer, in EnqueueCopyImageToBuffer() argument
895 src_image, dst_buffer, src_origin, region, dst_offset, num_events_in_wait_list, in EnqueueCopyImageToBuffer()
Dentry_points_cl_autogen.cpp803 cl_mem dst_buffer, in clEnqueueCopyBuffer() argument
816 (uintptr_t)command_queue, (uintptr_t)src_buffer, (uintptr_t)dst_buffer, src_offset, in clEnqueueCopyBuffer()
820 ANGLE_CL_VALIDATE_ERROR(EnqueueCopyBuffer, command_queue, src_buffer, dst_buffer, src_offset, in clEnqueueCopyBuffer()
823 return EnqueueCopyBuffer(command_queue, src_buffer, dst_buffer, src_offset, dst_offset, size, in clEnqueueCopyBuffer()
917 cl_mem dst_buffer, in clEnqueueCopyImageToBuffer() argument
931 (uintptr_t)command_queue, (uintptr_t)src_image, (uintptr_t)dst_buffer, in clEnqueueCopyImageToBuffer()
935 ANGLE_CL_VALIDATE_ERROR(EnqueueCopyImageToBuffer, command_queue, src_image, dst_buffer, in clEnqueueCopyImageToBuffer()
939 return EnqueueCopyImageToBuffer(command_queue, src_image, dst_buffer, src_origin, region, in clEnqueueCopyImageToBuffer()
1526 cl_mem dst_buffer, in clEnqueueCopyBufferRect() argument
1545 (uintptr_t)command_queue, (uintptr_t)src_buffer, (uintptr_t)dst_buffer, in clEnqueueCopyBufferRect()
[all …]
Dcl_stubs_autogen.h345 cl_mem dst_buffer,
354 cl_mem dst_buffer,
406 cl_mem dst_buffer,
Dentry_points_cl_autogen.h191 cl_mem dst_buffer,
231 cl_mem dst_buffer,
386 cl_mem dst_buffer,
/third_party/opencl-headers/CL/
Dcl_ext.h126 cl_mem dst_buffer,
140 cl_mem dst_buffer,
186 cl_mem dst_buffer,
289 cl_mem dst_buffer,
303 cl_mem dst_buffer,
349 cl_mem dst_buffer,
Dcl_function_types.h409 cl_mem dst_buffer,
469 cl_mem dst_buffer,
749 cl_mem dst_buffer,
Dcl.h1583 cl_mem dst_buffer,
1596 cl_mem dst_buffer,
1664 cl_mem dst_buffer,
Dcl_icd.h508 cl_command_queue command_queue, cl_mem src_buffer, cl_mem dst_buffer,
516 cl_command_queue command_queue, cl_mem src_buffer, cl_mem dst_buffer,
564 cl_command_queue command_queue, cl_mem src_image, cl_mem dst_buffer,
/third_party/skia/third_party/externals/angle2/src/libOpenCL/
DlibOpenCL_autogen.cpp387 cl_mem dst_buffer, in clEnqueueCopyBuffer() argument
395 return cl::GetDispatch().clEnqueueCopyBuffer(command_queue, src_buffer, dst_buffer, src_offset, in clEnqueueCopyBuffer()
451 cl_mem dst_buffer, in clEnqueueCopyImageToBuffer() argument
460 command_queue, src_image, dst_buffer, src_origin, region, dst_offset, in clEnqueueCopyImageToBuffer()
732 cl_mem dst_buffer, in clEnqueueCopyBufferRect() argument
745 command_queue, src_buffer, dst_buffer, src_origin, dst_origin, region, src_row_pitch, in clEnqueueCopyBufferRect()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DvalidationCL.cpp1643 cl_mem dst_buffer, in ValidateEnqueueCopyBuffer() argument
1658 ANGLE_CL_TRY(ValidateEnqueueBuffer(queue, dst_buffer, false, false)); in ValidateEnqueueCopyBuffer()
1659 const Buffer &dst = dst_buffer->cast<Buffer>(); in ValidateEnqueueCopyBuffer()
1802 cl_mem dst_buffer, in ValidateEnqueueCopyImageToBuffer() argument
1817 ANGLE_CL_TRY(ValidateEnqueueBuffer(queue, dst_buffer, false, false)); in ValidateEnqueueCopyImageToBuffer()
1818 const Buffer &dst = dst_buffer->cast<Buffer>(); in ValidateEnqueueCopyImageToBuffer()
2601 cl_mem dst_buffer, in ValidateEnqueueCopyBufferRect() argument
2624 ANGLE_CL_TRY(ValidateEnqueueBuffer(queue, dst_buffer, false, false)); in ValidateEnqueueCopyBufferRect()
2625 const Buffer &dst = dst_buffer->cast<Buffer>(); in ValidateEnqueueCopyBufferRect()
DvalidationCL_autogen.h182 cl_mem dst_buffer,
222 cl_mem dst_buffer,
370 cl_mem dst_buffer,
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_clear_blit.c1286 void (*dst_buffer)(struct tu_cs *cs, enum pipe_format format, uint64_t va, uint32_t pitch, member
1310 .dst_buffer = r2d_dst_buffer,
1324 .dst_buffer = r3d_dst_buffer,
1414 ops->dst_buffer(cs, PIPE_FORMAT_Z16_UNORM, in tu6_clear_lrz()
1442 ops->dst_buffer(cs, PIPE_FORMAT_R32_UINT, in tu6_dirty_lrz_fc()
1778 struct tu_buffer *dst_buffer, in tu_copy_image_to_buffer() argument
1817 uint64_t dst_va = dst_buffer->iova + info->bufferOffset + layer_size * i; in tu_copy_image_to_buffer()
1821 ops->dst_buffer(cs, dst_format, dst_va & ~63, 0, src_format); in tu_copy_image_to_buffer()
1828 ops->dst_buffer(cs, dst_format, dst_va, pitch, src_format); in tu_copy_image_to_buffer()
1843 TU_FROM_HANDLE(tu_buffer, dst_buffer, pCopyImageToBufferInfo->dstBuffer); in tu_CmdCopyImageToBuffer2KHR()
[all …]
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_meta_copy.c1197 V3DV_FROM_HANDLE(v3dv_buffer, dst_buffer, pCopyBufferInfo->dstBuffer); in v3dv_CmdCopyBuffer2KHR()
1204 dst_buffer->mem->bo, dst_buffer->mem_offset, in v3dv_CmdCopyBuffer2KHR()
1230 V3DV_FROM_HANDLE(v3dv_buffer, dst_buffer, dstBuffer); in v3dv_CmdUpdateBuffer()
1259 (cmd_buffer, dst_buffer->mem->bo, dst_buffer->mem_offset, in v3dv_CmdUpdateBuffer()
1278 V3DV_FROM_HANDLE(v3dv_buffer, dst_buffer, dstBuffer); in v3dv_CmdFillBuffer()
1282 struct v3dv_bo *bo = dst_buffer->mem->bo; in v3dv_CmdFillBuffer()
1290 size = dst_buffer->size - dstOffset; in v3dv_CmdFillBuffer()
/third_party/mesa3d/include/CL/
Dcl.h1574 cl_mem dst_buffer,
1587 cl_mem dst_buffer,
1655 cl_mem dst_buffer,

12