Home
last modified time | relevance | path

Searched refs:imageOffset (Results 1 – 25 of 56) sorted by relevance

123

/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DUtilsVulkan.cpp135 region.imageOffset.x = textureCopy.origin.x; in ComputeBufferImageCopyRegion()
136 region.imageOffset.y = textureCopy.origin.y; in ComputeBufferImageCopyRegion()
137 region.imageOffset.z = 0; in ComputeBufferImageCopyRegion()
150 region.imageOffset.x = textureCopy.origin.x; in ComputeBufferImageCopyRegion()
151 region.imageOffset.y = textureCopy.origin.y; in ComputeBufferImageCopyRegion()
152 region.imageOffset.z = textureCopy.origin.z; in ComputeBufferImageCopyRegion()
/third_party/mesa3d/src/vulkan/util/
Dvk_cmd_copy.c128 .imageOffset = pRegions[r].imageOffset, in vk_common_CmdCopyBufferToImage()
169 .imageOffset = pRegions[r].imageOffset, in vk_common_CmdCopyImageToBuffer()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_meta_copy.c385 if (!v3dv_meta_can_use_tlb(image, &region->imageOffset, &fb_format)) in copy_image_to_buffer_tlb()
689 DIV_ROUND_UP(region->imageOffset.x, block_width), in copy_image_to_buffer_blit()
690 DIV_ROUND_UP(region->imageOffset.y, block_height), in copy_image_to_buffer_blit()
691 region->imageOffset.z + i, in copy_image_to_buffer_blit()
694 DIV_ROUND_UP(region->imageOffset.x + region->imageExtent.width, in copy_image_to_buffer_blit()
696 DIV_ROUND_UP(region->imageOffset.y + region->imageExtent.height, in copy_image_to_buffer_blit()
698 region->imageOffset.z + i + 1, in copy_image_to_buffer_blit()
1282 const uint32_t offset_x = region->imageOffset.x; in copy_buffer_to_image_tfu()
1283 const uint32_t offset_y = region->imageOffset.y; in copy_buffer_to_image_tfu()
1339 layer = region->imageOffset.z + i; in copy_buffer_to_image_tfu()
[all …]
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkStructConversion.hpp147 pRegions[i].imageOffset,
182 pRegions[i].imageOffset,
DVkImage.cpp581 …uint8_t *imageMemory = static_cast<uint8_t *>(getTexelPointer(region.imageOffset, ImageSubresource… in copy()
743 …ASSERT((adjustedExtent.width % blockWidth == 0) || (adjustedExtent.width + region.imageOffset.x ==… in bufferExtentInBlocks()
755 …ASSERT((adjustedExtent.height % blockHeight == 0) || (adjustedExtent.height + region.imageOffset.y… in bufferExtentInBlocks()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemBlitImageTests.cpp284 const vk::VkOffset3D imageOffset = {RENDER_WIDTH, RENDER_HEIGHT, 1}; in iterate() local
290 imageOffset, in iterate()
295 imageOffset, in iterate()
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_meta_copy.c1133 unsigned minx = MAX2(region->imageOffset.x, 0); in panvk_meta_copy_buf2img()
1134 unsigned miny = MAX2(region->imageOffset.y, 0); in panvk_meta_copy_buf2img()
1135 unsigned maxx = MAX2(region->imageOffset.x + region->imageExtent.width - 1, 0); in panvk_meta_copy_buf2img()
1136 unsigned maxy = MAX2(region->imageOffset.y + region->imageExtent.height - 1, 0); in panvk_meta_copy_buf2img()
1210 assert(region->imageOffset.z >= 0); in panvk_meta_copy_buf2img()
1211 unsigned first_layer = MAX2(region->imageSubresource.baseArrayLayer, region->imageOffset.z); in panvk_meta_copy_buf2img()
1618 .img.offset.x = MAX2(region->imageOffset.x & ~15, 0), in panvk_meta_copy_img2buf()
1619 .img.extent.minx = MAX2(region->imageOffset.x, 0), in panvk_meta_copy_img2buf()
1620 .img.extent.maxx = MAX2(region->imageOffset.x + region->imageExtent.width - 1, 0), in panvk_meta_copy_img2buf()
1626 info.img.offset.y = MAX2(region->imageOffset.y & ~15, 0); in panvk_meta_copy_img2buf()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/geometry/
DvktGeometryTestsUtil.cpp399 const vk::VkOffset3D& imageOffset, in makeBufferImageCopy() argument
408 imageOffset, // VkOffset3D imageOffset; in makeBufferImageCopy()
DvktGeometryTestsUtil.hpp171 … vk::VkImageSubresourceLayers& imageSubresource, const vk::VkOffset3D& imageOffset, const vk::VkEx…
DvktGeometryLayeredRenderingTests.cpp1405 const VkOffset3D imageOffset = makeOffset3D(0u, 0u, imageDepth); in testLayeredReadBack() local
1411 …ferImageCopyRegion = makeBufferImageCopy(bufferOffset, imageSubresource, imageOffset, imageExtent); in testLayeredReadBack()
1684 const VkOffset3D imageOffset = makeOffset3D(0u, 0u, imageDepth); in testSecondaryCmdBuffer() local
1692 …ferImageCopyRegion = makeBufferImageCopy(bufferOffset, imageSubresource, imageOffset, imageExtent); in testSecondaryCmdBuffer()
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/
DVulkanHelper.h112 VkOffset3D imageOffset,
DVulkanHelper.cpp937 VkOffset3D imageOffset, in readPixels() argument
1023 /* .imageOffset = */ imageOffset, in readPixels()
/third_party/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_fbo.c765 GLuint imageOffset; in radeon_render_texture() local
802 imageOffset = radeon_miptree_image_offset(radeon_image->mt, in radeon_render_texture()
807 imageOffset += radeon_image->mt->levels[att->TextureLevel].rowstride * in radeon_render_texture()
814 rrb->draw_offset = imageOffset; in radeon_render_texture()
/third_party/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_fbo.c765 GLuint imageOffset; in radeon_render_texture() local
802 imageOffset = radeon_miptree_image_offset(radeon_image->mt, in radeon_render_texture()
807 imageOffset += radeon_image->mt->levels[att->TextureLevel].rowstride * in radeon_render_texture()
814 rrb->draw_offset = imageOffset; in radeon_render_texture()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationSmokeTests.cpp531 VkOffset3D imageOffset; member
546 copyState.imageOffset = transferInfo->imageOffset; in copyToCPU()
975 transferInfo.imageOffset.x = 0; in generateWork()
976 transferInfo.imageOffset.y = 0; in generateWork()
977 transferInfo.imageOffset.z = 0; in generateWork()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
DvktImageMisalignedCubeTests.cpp104 const vk::VkOffset3D& imageOffset, in makeBufferImageCopy() argument
113 imageOffset, // VkOffset3D imageOffset; in makeBufferImageCopy()
/third_party/skia/third_party/externals/swiftshader/tests/VulkanWrapper/
DUtil.cpp129 region.imageOffset = vk::Offset3D{ 0, 0, 0 }; in copyBufferToImage()
/third_party/mesa3d/src/amd/vulkan/
Dradv_meta_copy.c162 const VkOffset3D img_offset_el = meta_region_offset_el(image, &region->imageOffset); in copy_buffer_to_image()
289 const VkOffset3D img_offset_el = meta_region_offset_el(image, &region->imageOffset); in copy_image_to_buffer()
Dradv_private.h2377 radv_sanitize_image_offset(const VkImageType imageType, const struct VkOffset3D imageOffset) in radv_sanitize_image_offset() argument
2381 return (VkOffset3D){imageOffset.x, 0, 0}; in radv_sanitize_image_offset()
2383 return (VkOffset3D){imageOffset.x, imageOffset.y, 0}; in radv_sanitize_image_offset()
2385 return imageOffset; in radv_sanitize_image_offset()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DCommandBufferVk.cpp85 region.imageOffset.x = textureCopy.origin.x; in ComputeBufferImageCopyRegion()
86 region.imageOffset.y = textureCopy.origin.y; in ComputeBufferImageCopyRegion()
87 region.imageOffset.z = textureCopy.origin.z; in ComputeBufferImageCopyRegion()
/third_party/flutter/skia/src/gpu/vk/
DGrVkGpu.cpp498 region.imageOffset = { left, top, 0 }; in onTransferPixelsTo()
563 region.imageOffset = { left, top, 0 }; in onTransferPixelsFrom()
841 region.imageOffset = {uploadLeft, uploadTop, 0}; in uploadTexDataOptimal()
926 region.imageOffset = { uploadLeft, uploadTop, 0 }; in uploadTexDataCompressed()
1742 region.imageOffset = {0, 0, 0}; in createVkImageForBackendSurface()
2383 region.imageOffset = { 0, 0, 0 }; in onReadPixels()
2387 region.imageOffset = offset; in onReadPixels()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DUtilsVk.cpp2698 region.imageOffset.x = params.blitArea.x; in stencilBlitResolveNoShaderExport()
2699 region.imageOffset.y = params.blitArea.y; in stencilBlitResolveNoShaderExport()
2700 region.imageOffset.z = 0; in stencilBlitResolveNoShaderExport()
2987 srcRegion.imageOffset.x = params.srcOffset[0]; in copyImageBits()
2988 srcRegion.imageOffset.y = params.srcOffset[1]; in copyImageBits()
2989 srcRegion.imageOffset.z = isSrc3D ? params.srcOffset[2] : 0; in copyImageBits()
3112 dstRegion.imageOffset.x = params.dstOffset[0]; in copyImageBits()
3113 dstRegion.imageOffset.y = params.dstOffset[1]; in copyImageBits()
3114 dstRegion.imageOffset.z = isDst3D ? params.dstOffset[2] : 0; in copyImageBits()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dvk_helpers.cpp2183 gl_vk::GetOffset(offset, &copy.imageOffset); in stageSubresourceUpdate()
2189 copy.imageOffset.z = 0; in stageSubresourceUpdate()
2223 stencilCopy.imageOffset = copy.imageOffset; in stageSubresourceUpdate()
2280 gl_vk::GetOffset(offset, &copy.imageOffset); in stageSubresourceUpdateAndGetData()
2377 gl_vk::GetOffset(dstOffset, &copyToImage.imageOffset); in stageSubresourceUpdateFromFramebuffer()
/third_party/skia/src/gpu/vk/
DGrVkGpu.cpp591 region.imageOffset = { rect.left(), rect.top(), 0 }; in onTransferPixelsTo()
661 region.imageOffset = {rect.left(), rect.top(), 0}; in onTransferPixelsFrom()
845 region.imageOffset = {0, 0, 0}; in fill_in_compressed_regions()
938 region.imageOffset = {uploadLeft, uploadTop, 0}; in uploadTexDataOptimal()
2437 region.imageOffset = offset; in onReadPixels()
/third_party/mesa3d/src/intel/vulkan/
Danv_private.h4423 const VkOffset3D imageOffset) in anv_sanitize_image_offset() argument
4427 return (VkOffset3D) { imageOffset.x, 0, 0 }; in anv_sanitize_image_offset()
4429 return (VkOffset3D) { imageOffset.x, imageOffset.y, 0 }; in anv_sanitize_image_offset()
4431 return imageOffset; in anv_sanitize_image_offset()

123