/external/swiftshader/src/Vulkan/ |
D | VkImage.cpp | 170 …int bufferRowPitchBytes = ((region.bufferRowLength == 0) ? region.imageExtent.width : region.buffe… in copy() 173 region.imageExtent.height * bufferRowPitchBytes : in copy() 181 bool isSinglePlane = (region.imageExtent.depth == 1); in copy() 182 bool isSingleLine = (region.imageExtent.height == 1) && isSinglePlane; in copy() 183 bool isEntireLine = (region.imageExtent.width == mipLevelExtent.width) && in copy() 185 bool isEntirePlane = isEntireLine && (region.imageExtent.height == mipLevelExtent.height) && in copy() 200 copySize = region.imageExtent.width * imageBytesPerTexel; in copy() 204 copySize = region.imageExtent.height * imageRowPitchBytes; in copy() 208 copySize = region.imageExtent.depth * imageSlicePitchBytes; // Copy multiple planes in copy() 212 copySize = region.imageExtent.height * imageRowPitchBytes; in copy() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/api/ |
D | vktApiImageClearingTests.cpp | 466 VkExtent3D imageExtent; member 550 …, m_imageMipLevels (params.useSingleMipLevel ? 1u : getNumMipLevels(params.imageExtent, m_imageF… in ImageClearingTestInstance() 558 params.imageExtent, in ImageClearingTestInstance() 570 …t ? createFrameBuffer(*m_imageView, *m_renderPass, params.imageExtent.width, params.imageExtent.he… in ImageClearingTestInstance() 897 …<deUint32> mipLevelSizes = getImageMipLevelSizes(pixelSize, m_params.imageExtent, m_imageMipLeve… in readImage() 944 const VkExtent3D extent = getMipLevelExtent(m_params.imageExtent, mipLevel); in readImage() 987 const VkExtent3D extent = getMipLevelExtent(m_params.imageExtent, mipLevel); in readImage() 1002 DE_ASSERT((clearCoords == UVec4()) || m_params.imageExtent.depth == 1u); in verifyResultImage() 1014 for (deUint32 y = 0; y < m_params.imageExtent.height; ++y) in verifyResultImage() 1015 for (deUint32 x = 0; x < m_params.imageExtent.width; ++x) in verifyResultImage() [all …]
|
D | vktApiCopiesAndBlittingTests.cpp | 471 const VkExtent3D imageExtent = getExtent3D(parms); in uploadImageAspect() local 554 imageExtent.width >> mipLevelNdx, in uploadImageAspect() 555 imageExtent.height >> mipLevelNdx, in uploadImageAspect() 556 imageExtent.depth in uploadImageAspect() 674 const VkExtent3D imageExtent = getExtent3D(imageParms, mipLevel); in readImageAspect() local 758 imageExtent.width, // deUint32 bufferRowLength; in readImageAspect() 759 imageExtent.height, // deUint32 bufferImageHeight; in readImageAspect() 767 imageExtent // VkExtent3D imageExtent; in readImageAspect() 1534 rowLength = region.bufferImageCopy.imageExtent.width; in copyRegionToTextureLevel() 1538 imageHeight = region.bufferImageCopy.imageExtent.height; in copyRegionToTextureLevel() [all …]
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_meta_copy.c | 145 pRegions[r].bufferRowLength : pRegions[r].imageExtent.width, in meta_copy_buffer_to_image() 147 pRegions[r].bufferImageHeight : pRegions[r].imageExtent.height, in meta_copy_buffer_to_image() 154 meta_region_extent_el(image, image->type, &pRegions[r].imageExtent); in meta_copy_buffer_to_image() 258 pRegions[r].bufferRowLength : pRegions[r].imageExtent.width, in meta_copy_image_to_buffer() 260 pRegions[r].bufferImageHeight : pRegions[r].imageExtent.height, in meta_copy_image_to_buffer() 267 meta_region_extent_el(image, image->type, &pRegions[r].imageExtent); in meta_copy_image_to_buffer()
|
D | radv_private.h | 1508 const struct VkExtent3D imageExtent) in radv_sanitize_image_extent() argument 1512 return (VkExtent3D) { imageExtent.width, 1, 1 }; in radv_sanitize_image_extent() 1514 return (VkExtent3D) { imageExtent.width, imageExtent.height, 1 }; in radv_sanitize_image_extent() 1516 return imageExtent; in radv_sanitize_image_extent()
|
/external/mesa3d/src/vulkan/wsi/ |
D | wsi_common.c | 217 .width = pCreateInfo->imageExtent.width, in wsi_create_native_image() 218 .height = pCreateInfo->imageExtent.height, in wsi_create_native_image() 318 const uint32_t linear_stride = align_u32(pCreateInfo->imageExtent.width * cpp, in wsi_create_prime_image() 321 uint32_t linear_size = linear_stride * pCreateInfo->imageExtent.height; in wsi_create_prime_image() 384 .width = pCreateInfo->imageExtent.width, in wsi_create_prime_image() 385 .height = pCreateInfo->imageExtent.height, in wsi_create_prime_image() 466 .imageExtent = { in wsi_create_prime_image() 467 .width = pCreateInfo->imageExtent.width, in wsi_create_prime_image() 468 .height = pCreateInfo->imageExtent.height, in wsi_create_prime_image()
|
/external/deqp/external/vulkancts/modules/vulkan/wsi/ |
D | vktWsiSwapchainTests.cpp | 427 …cases.back().imageExtent.width = de::clamp(s_testSizes[ndx].width, capabilities.minImageExtent.wid… in generateSwapchainParameterCases() 428 …cases.back().imageExtent.height = de::clamp(s_testSizes[ndx].height, capabilities.minImageExtent.h… in generateSwapchainParameterCases() 435 cases.back().imageExtent = capabilities.currentExtent; in generateSwapchainParameterCases() 441 cases.back().imageExtent = capabilities.minImageExtent; in generateSwapchainParameterCases() 444 cases.back().imageExtent = capabilities.maxImageExtent; in generateSwapchainParameterCases() 1202 tcu::UVec2(swapchainInfo.imageExtent.width, swapchainInfo.imageExtent.height)); in basicRenderTest() 1353 tcu::UVec2(swapchainInfo.imageExtent.width, swapchainInfo.imageExtent.height)); in resizeSwapchainTest()
|
D | vktWsiSharedPresentableImageTests.cpp | 789 const deUint32 imageWidth = m_swapchainConfigs[m_swapchainConfigNdx].imageExtent.width; in initSwapchainResources() 790 const deUint32 imageHeight = m_swapchainConfigs[m_swapchainConfigNdx].imageExtent.height; in initSwapchainResources() 900 const deUint32 width = m_swapchainConfigs[m_swapchainConfigNdx].imageExtent.width; in render() 901 const deUint32 height = m_swapchainConfigs[m_swapchainConfigNdx].imageExtent.height; in render()
|
D | vktWsiDisplayTimingTests.cpp | 742 const deUint32 imageWidth = m_swapchainConfig.imageExtent.width; in initSwapchainResources() 743 const deUint32 imageHeight = m_swapchainConfig.imageExtent.height; in initSwapchainResources() 840 const deUint32 width = m_swapchainConfig.imageExtent.width; in render() 841 const deUint32 height = m_swapchainConfig.imageExtent.height; in render()
|
D | vktWsiIncrementalPresentTests.cpp | 881 const deUint32 imageWidth = m_swapchainConfigs[m_swapchainConfigNdx].imageExtent.width; in initSwapchainResources() 882 const deUint32 imageHeight = m_swapchainConfigs[m_swapchainConfigNdx].imageExtent.height; in initSwapchainResources() 953 const deUint32 width = m_swapchainConfigs[m_swapchainConfigNdx].imageExtent.width; in render() 954 const deUint32 height = m_swapchainConfigs[m_swapchainConfigNdx].imageExtent.height; in render()
|
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/ |
D | vktProtectedMemWsiSwapchainTests.cpp | 287 baseParameters.imageExtent.width, in generateSwapchainParameterCases() 288 baseParameters.imageExtent.height, in generateSwapchainParameterCases() 472 …cases.back().imageExtent.width = de::clamp(s_testSizes[ndx].width, capabilities.minImageExtent.wid… in generateSwapchainParameterCases() 473 …cases.back().imageExtent.height = de::clamp(s_testSizes[ndx].height, capabilities.minImageExtent.h… in generateSwapchainParameterCases() 514 cases.back().imageExtent = capabilities.currentExtent; in generateSwapchainParameterCases() 562 cases.back().imageExtent =s_testExtentSizes[ndx]; in generateSwapchainParameterCases() 1131 tcu::UVec2(swapchainInfo.imageExtent.width, swapchainInfo.imageExtent.height)); in basicRenderTest()
|
D | vktProtectedMemCopyBufferToImageTests.cpp | 245 const vk::VkExtent3D imageExtent = {(deUint32)RENDER_WIDTH, (deUint32)RENDER_HEIGHT, 1u}; in iterate() local 253 imageExtent, // VkExtent3D imageExtent in iterate()
|
D | vktProtectedMemCopyImageToBufferTests.cpp | 252 const vk::VkExtent3D imageExtent = {(deUint32)RENDER_WIDTH, (deUint32)RENDER_HEIGHT, 1u}; in iterate() local 260 imageExtent, // VkExtent3D imageExtent in iterate()
|
D | vktProtectedMemCopyImageTests.cpp | 279 const vk::VkExtent3D imageExtent = {(deUint32)RENDER_WIDTH, (deUint32)RENDER_HEIGHT, 1u}; in iterate() local 286 imageExtent, // VkExtent3D extent; in iterate()
|
/external/mesa3d/include/vulkan/ |
D | vk_icd.h | 128 VkExtent2D imageExtent; member
|
/external/vulkan-headers/include/vulkan/ |
D | vk_icd.h | 167 VkExtent2D imageExtent; member
|
/external/swiftshader/include/vulkan/ |
D | vk_icd.h | 167 VkExtent2D imageExtent; member
|
/external/deqp/external/vulkancts/modules/vulkan/renderpass/ |
D | vktRenderPassSampleReadTests.cpp | 160 const VkExtent3D imageExtent = in createImage() local 167 if (imageFormatProperties.maxExtent.width < imageExtent.width in createImage() 168 || imageFormatProperties.maxExtent.height < imageExtent.height in createImage() 174 …return createImage(vkd, device, 0u, imageType, vkFormat, imageExtent, 1u, 1u, sampleCountBit, imag… in createImage()
|
D | vktRenderPassDepthStencilResolveTests.cpp | 311 const VkExtent3D imageExtent = in createImage() local 321 if (imageFormatProperties.maxExtent.width < imageExtent.width in createImage() 322 || imageFormatProperties.maxExtent.height < imageExtent.height in createImage() 336 imageExtent, in createImage()
|
/external/skqp/src/gpu/vk/ |
D | GrVkGpu.cpp | 461 region.imageExtent = { (uint32_t)width, (uint32_t)height, 1 }; in onTransferPixels() 746 region.imageExtent = { (uint32_t)currentWidth, (uint32_t)currentHeight, 1 }; in uploadTexDataOptimal() 881 region.imageExtent = { (uint32_t)currentWidth, (uint32_t)currentHeight, 1 }; in uploadTexDataCompressed() 1566 region.imageExtent = {(uint32_t)currentWidth, (uint32_t)currentHeight, 1}; in createTestingOnlyVkImage() 2144 region.imageExtent = { (uint32_t)(left + width), (uint32_t)(top + height), 1 }; in onReadPixels() 2148 region.imageExtent = { (uint32_t)width, (uint32_t)height, 1 }; in onReadPixels() 2151 size_t transBufferRowBytes = bpp * region.imageExtent.width; in onReadPixels() 2152 size_t imageRows = region.imageExtent.height; in onReadPixels() 2188 uint32_t skipRows = region.imageExtent.height - height; in onReadPixels()
|
/external/skia/src/gpu/vk/ |
D | GrVkGpu.cpp | 464 region.imageExtent = { (uint32_t)width, (uint32_t)height, 1 }; in onTransferPixels() 748 region.imageExtent = { (uint32_t)currentWidth, (uint32_t)currentHeight, 1 }; in uploadTexDataOptimal() 883 region.imageExtent = { (uint32_t)currentWidth, (uint32_t)currentHeight, 1 }; in uploadTexDataCompressed() 1578 region.imageExtent = {(uint32_t)currentWidth, (uint32_t)currentHeight, 1}; in createTestingOnlyVkImage() 2192 region.imageExtent = { (uint32_t)(left + width), (uint32_t)(top + height), 1 }; in onReadPixels() 2196 region.imageExtent = { (uint32_t)width, (uint32_t)height, 1 }; in onReadPixels() 2199 size_t transBufferRowBytes = bpp * region.imageExtent.width; in onReadPixels() 2200 size_t imageRows = region.imageExtent.height; in onReadPixels() 2236 uint32_t skipRows = region.imageExtent.height - height; in onReadPixels()
|
/external/deqp/external/vulkancts/modules/vulkan/geometry/ |
D | vktGeometryTestsUtil.cpp | 469 const vk::VkExtent3D& imageExtent) in makeBufferImageCopy() argument 478 imageExtent, // VkExtent3D imageExtent; in makeBufferImageCopy()
|
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/ |
D | vktDynamicStateRSTests.cpp | 132 const vk::VkExtent3D imageExtent = { WIDTH, HEIGHT, 1 }; in initialize() local 133 …ImageCreateInfo targetImageCreateInfo(vk::VK_IMAGE_TYPE_2D, m_colorAttachmentFormat, imageExtent, … in initialize() 138 …Info depthStencilImageCreateInfo(vk::VK_IMAGE_TYPE_2D, m_depthStencilAttachmentFormat, imageExtent, in initialize()
|
/external/vulkan-validation-layers/layers/ |
D | buffer_validation.cpp | 2091 …skip |= CheckItgExtent(device_data, cb_node, ®ion->imageExtent, ®ion->imageOffset, &granular… in ValidateCopyBufferImageTransferGranularityRequirements() 4592 if ((pRegions[i].imageOffset.y != 0) || (pRegions[i].imageExtent.height != 1)) { in ValidateBufferImageCopyData() 4597 … function, i, pRegions[i].imageOffset.y, pRegions[i].imageExtent.height); in ValidateBufferImageCopyData() 4602 if ((pRegions[i].imageOffset.z != 0) || (pRegions[i].imageExtent.depth != 1)) { in ValidateBufferImageCopyData() 4607 … function, i, pRegions[i].imageOffset.z, pRegions[i].imageExtent.depth); in ValidateBufferImageCopyData() 4641 …egions[i].bufferRowLength != 0) && (pRegions[i].bufferRowLength < pRegions[i].imageExtent.width)) { in ValidateBufferImageCopyData() 4646 function, i, pRegions[i].bufferRowLength, pRegions[i].imageExtent.width); in ValidateBufferImageCopyData() 4650 …s[i].bufferImageHeight != 0) && (pRegions[i].bufferImageHeight < pRegions[i].imageExtent.height)) { in ValidateBufferImageCopyData() 4655 function, i, pRegions[i].bufferImageHeight, pRegions[i].imageExtent.height); in ValidateBufferImageCopyData() 4722 if ((SafeModulo(pRegions[i].imageExtent.width, block_size.width) != 0) && in ValidateBufferImageCopyData() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineTimestampTests.cpp | 1720 const VkExtent3D imageExtent = {(deUint32)m_imageWidth, (deUint32)m_imageHeight, 1u}; in configCommandBuffer() local 1743 imageExtent, // VkExtent3D extent; in configCommandBuffer() 1758 imageExtent, // VkExtent3D imageExtent; in configCommandBuffer() 1772 imageExtent, // VkExtent3D imageExtent; in configCommandBuffer() 1840 imageExtent, // VkExtent3D extent; in configCommandBuffer()
|