/external/angle/src/libANGLE/ |
D | OverlayWidgets.cpp | 105 const gl::Extents &imageExtent, in GetWidgetCoordinates() argument 108 dstCoordsOut[0] = GetWidgetCoord(srcCoords[0], imageExtent.width); in GetWidgetCoordinates() 109 dstCoordsOut[1] = GetWidgetCoord(srcCoords[1], imageExtent.height); in GetWidgetCoordinates() 110 dstCoordsOut[2] = GetWidgetCoord(srcCoords[2], imageExtent.width); in GetWidgetCoordinates() 111 dstCoordsOut[3] = GetWidgetCoord(srcCoords[3], imageExtent.height); in GetWidgetCoordinates() 176 const gl::Extents &imageExtent, 185 static void Append##WIDGET_ID(const overlay::Widget *widget, const gl::Extents &imageExtent, \ 205 const gl::Extents &imageExtent, 212 const gl::Extents &imageExtent, 221 const gl::Extents &imageExtent, [all …]
|
/external/angle/src/libANGLE/renderer/vulkan/ |
D | OverlayVk.cpp | 143 copy.imageExtent.width = gl::overlay::kFontImageWidth; in createFont() 144 copy.imageExtent.height = gl::overlay::kFontImageHeight; in createFont() 145 copy.imageExtent.depth = 1; in createFont() 233 const VkExtent3D &imageExtent = imageToPresent->getExtents(); in onPresent() local 236 mPresentImageExtent.width != imageExtent.width || in onPresent() 237 mPresentImageExtent.height != imageExtent.height; in onPresent() 241 mPresentImageExtent.width = imageExtent.width; in onPresent() 242 mPresentImageExtent.height = imageExtent.height; in onPresent()
|
/external/swiftshader/src/Vulkan/ |
D | VkImage.cpp | 537 VkExtent3D imageExtent = imageExtentInBlocks(region.imageExtent, aspect); in copy() local 539 if(imageExtent.width == 0 || imageExtent.height == 0 || imageExtent.depth == 0) in copy() 544 VkExtent2D bufferExtent = bufferExtentInBlocks({ imageExtent.width, imageExtent.height }, region); in copy() 563 bool isSingleSlice = (imageExtent.depth == 1); in copy() 564 bool isSingleRow = (imageExtent.height == 1) && isSingleSlice; in copy() 565 bool isEntireRow = (imageExtent.width == mipLevelExtent.width) && in copy() 567 bool isEntireSlice = isEntireRow && (imageExtent.height == mipLevelExtent.height) && in copy() 573 copySize = imageExtent.width * bytesPerBlock; in copy() 577 copySize = (imageExtent.height - 1) * imageRowPitchBytes + imageExtent.width * bytesPerBlock; in copy() 581 …copySize = (imageExtent.depth - 1) * imageSlicePitchBytes + (imageExtent.height - 1) * imageRowPit… in copy() [all …]
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_meta_copy.c | 165 region->bufferRowLength : region->imageExtent.width, in copy_buffer_to_image() 167 region->bufferImageHeight : region->imageExtent.height, in copy_buffer_to_image() 174 meta_region_extent_el(image, image->type, ®ion->imageExtent); in copy_buffer_to_image() 274 .imageExtent = pRegions[r].imageExtent, in radv_CmdCopyBufferToImage() 332 region->bufferRowLength : region->imageExtent.width, in copy_image_to_buffer() 334 region->bufferImageHeight : region->imageExtent.height, in copy_image_to_buffer() 341 meta_region_extent_el(image, image->type, ®ion->imageExtent); in copy_image_to_buffer() 431 .imageExtent = pRegions[r].imageExtent, in radv_CmdCopyImageToBuffer()
|
/external/mesa3d/src/vulkan/wsi/ |
D | wsi_common_drm.c | 110 .width = pCreateInfo->imageExtent.width, in wsi_create_native_image() 111 .height = pCreateInfo->imageExtent.height, in wsi_create_native_image() 431 const uint32_t linear_stride = align_u32(pCreateInfo->imageExtent.width * cpp, in wsi_create_prime_image() 434 uint32_t linear_size = linear_stride * pCreateInfo->imageExtent.height; in wsi_create_prime_image() 497 .width = pCreateInfo->imageExtent.width, in wsi_create_prime_image() 498 .height = pCreateInfo->imageExtent.height, in wsi_create_prime_image() 579 .imageExtent = { in wsi_create_prime_image() 580 .width = pCreateInfo->imageExtent.width, in wsi_create_prime_image() 581 .height = pCreateInfo->imageExtent.height, in wsi_create_prime_image()
|
/external/deqp/external/vulkancts/modules/vulkan/image/ |
D | vktImageMisalignedCubeTests.cpp | 105 const vk::VkExtent3D& imageExtent) in makeBufferImageCopy() argument 114 imageExtent, // VkExtent3D imageExtent; in makeBufferImageCopy() 162 const VkExtent3D imageExtent = makeExtent3D(m_size.x(), m_size.y(), 1u); in iterate() local 164 const deUint32 layerSize = imageExtent.width * imageExtent.height * pixelSize; in iterate() 232 …egion = makeBufferImageCopy(bufferOffset, imageSubresource, makeOffset3D(0u, 0u, 0u), imageExtent); in iterate()
|
D | vktImageSubresourceLayoutTests.cpp | 420 VkExtent3D imageExtent = m_params.dimensions; in iterateAspect() local 422 imageExtent.depth = 1u; in iterateAspect() 432 imageExtent, // VkExtent3D extent; in iterateAspect() 468 region.imageExtent = levelExtent; in iterateAspect()
|
/external/deqp/external/vulkancts/modules/vulkan/api/ |
D | vktApiImageClearingTests.cpp | 483 VkExtent3D imageExtent; member 575 …, m_imageMipLevels (params.useSingleMipLevel ? 1u : getNumMipLevels(params.imageExtent, m_imageF… in ImageClearingTestInstance() 583 params.imageExtent, in ImageClearingTestInstance() 604 …r = createFrameBuffer(*m_imageView, *m_renderPass, params.imageExtent.width, params.imageExtent.he… in ImageClearingTestInstance() 1051 …<deUint32> mipLevelSizes = getImageMipLevelSizes(pixelSize, m_params.imageExtent, m_imageMipLeve… in readImage() 1098 const VkExtent3D extent = getMipLevelExtent(m_params.imageExtent, mipLevel); in readImage() 1143 const VkExtent3D extent = getMipLevelExtent(m_params.imageExtent, mipLevel); in readImage() 1158 DE_ASSERT((clearCoords == UVec4()) || m_params.imageExtent.depth == 1u); in verifyResultImage() 1170 for (deUint32 y = 0; y < m_params.imageExtent.height; ++y) in verifyResultImage() 1171 for (deUint32 x = 0; x < m_params.imageExtent.width; ++x) in verifyResultImage() [all …]
|
D | vktApiCommandBuffersTests.cpp | 4166 VkExtent3D imageExtent; member 4171 , imageExtent (extent_) in ManyDrawsParams() 4273 …ceInterface &vkd, VkDevice device, Allocator &alloc, const VkExtent3D& imageExtent, VkFormat color… in ManyDrawsAllocatedData() 4275 const auto numPixels = calcNumPixels(imageExtent); in ManyDrawsAllocatedData() 4276 const auto vertexBufferSize = calcVertexBufferSize(imageExtent); in ManyDrawsAllocatedData() 4291 imageExtent, // VkExtent3D extent; in ManyDrawsAllocatedData() 4311 imageExtent, // VkExtent3D extent; in ManyDrawsAllocatedData() 4353 …ManyDrawsAllocatedData allocatedData(vkd, device, alloc, m_params.imageExtent, getColorFormat(), d… in checkSupport() 4430 const auto vertexBufferSize = ManyDrawsAllocatedData::calcVertexBufferSize(m_params.imageExtent); in iterate() 4432 const auto numPixels = ManyDrawsAllocatedData::calcNumPixels(m_params.imageExtent); in iterate() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/descriptor_indexing/ |
D | vktDescriptorSetsIndexingTestsUtils.cpp | 259 const VkExtent3D& imageExtent, in recordCopyBufferToImage() argument 271 deUint32 width = imageExtent.width; in recordCopyBufferToImage() 272 deUint32 height = imageExtent.height; in recordCopyBufferToImage() 277 VkDeviceSize imageSize = computeImageSize(imageExtent, imageFormat, true, mipIdx); in recordCopyBufferToImage() 375 const VkExtent3D& imageExtent, in recordCopyImageToBuffer() argument 388 imageExtent.width, // bufferRowLength in recordCopyImageToBuffer() 389 imageExtent.height, // bufferImageHeight in recordCopyImageToBuffer() 397 imageExtent // imageExtent in recordCopyImageToBuffer()
|
D | vktDescriptorSetsIndexingTests.cpp | 326 const VkExtent3D& imageExtent, 345 const VkExtent3D& imageExtent, 972 const VkExtent3D& imageExtent, in createImages() argument 979 const deUint32 imageSize = ut::computeImageSize(imageExtent, imageFormat, withMipMaps); in createImages() 986 ut::createImageAndBind(image, m_context, imageFormat, imageExtent, imageLayout, withMipMaps); in createImages() 1092 const VkExtent3D& imageExtent, in getPixelAccess() argument 1099 …DE_ASSERT(ut::computeImageSize(imageExtent, imageFormat, true, (mipLevel ? ut::maxDeUint32 : 0)) <… in getPixelAccess() 1100 DE_ASSERT(imageExtent.width >> mipLevel); in getPixelAccess() 1101 DE_ASSERT(imageExtent.height >> mipLevel); in getPixelAccess() 1107 mipOffset += ut::computeImageSize(imageExtent, imageFormat, true, level); in getPixelAccess() [all …]
|
D | vktDescriptorSetsIndexingTests.hpp | 171 const VkExtent3D& imageExtent, 182 const VkExtent3D& imageExtent,
|
/external/angle/src/libANGLE/renderer/vulkan/display/ |
D | WindowSurfaceVkSimple.cpp | 60 info.imageExtent.width = displayWindow->width; in createSurfaceVk() 61 info.imageExtent.height = displayWindow->height; in createSurfaceVk()
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineBindPointTests.cpp | 397 const auto imageExtent = makeExtent3D(1u, 1u, 1u); in iterate() local 402 const auto viewport = makeViewport(imageExtent); in iterate() 403 const auto scissor = makeRect2D(imageExtent); in iterate() 441 imageExtent, // VkExtent3D extent; in iterate() 499 …er(vkd, device, renderPass.get(), colorAttachmentView.get(), imageExtent.width, imageExtent.height… in iterate() 763 …ndex, alloc, colorAttachment->get(), imageFormat, tcu::UVec2(imageExtent.width, imageExtent.height… in iterate() 765 const auto iWidth = static_cast<int>(imageExtent.width); in iterate() 766 const auto iHeight = static_cast<int>(imageExtent.height); in iterate()
|
D | vktPipelinePushConstantTests.cpp | 2723 const auto imageExtent = makeExtent3D(2u, 2u, 1u); in iterate() local 2733 imageExtent, // VkExtent3D extent; in iterate() 2751 const auto bufferSize = pixelSize * imageExtent.width * imageExtent.height * imageExtent.depth; in iterate() 2786 const std::vector<VkViewport> viewports (1, makeViewport(imageExtent)); in iterate() 2787 const std::vector<VkRect2D> scissors (1, makeRect2D(imageExtent)); in iterate() 2818 … makeFramebuffer(vkd, device, renderPass.get(), 0u, nullptr, imageExtent.width, imageExtent.height… in iterate() 2877 …const auto copyRegion = makeBufferImageCopy(imageExtent, makeImageSubresourceLayers(VK_IMAGE_ASPEC… in iterate() 2891 const int iWidth = static_cast<int>(imageExtent.width); in iterate() 2892 const int iHeight = static_cast<int>(imageExtent.height); in iterate() 2893 const int iDepth = static_cast<int>(imageExtent.depth); in iterate()
|
/external/mesa3d/src/broadcom/vulkan/ |
D | v3dv_meta_copy.c | 646 width = region->imageExtent.width; in emit_copy_layer_to_buffer_per_tile_list() 651 height = region->imageExtent.height; in emit_copy_layer_to_buffer_per_tile_list() 746 num_layers = region->imageExtent.depth; in copy_image_to_buffer_tlb() 757 const uint32_t width = DIV_ROUND_UP(region->imageExtent.width, block_w); in copy_image_to_buffer_tlb() 758 const uint32_t height = DIV_ROUND_UP(region->imageExtent.height, block_h); in copy_image_to_buffer_tlb() 912 buf_width = region->imageExtent.width; in copy_image_to_buffer_blit() 917 buf_height = region->imageExtent.height; in copy_image_to_buffer_blit() 932 num_layers = region->imageExtent.depth; in copy_image_to_buffer_blit() 1038 DIV_ROUND_UP(region->imageOffset.x + region->imageExtent.width, in copy_image_to_buffer_blit() 1040 DIV_ROUND_UP(region->imageOffset.y + region->imageExtent.height, in copy_image_to_buffer_blit() [all …]
|
/external/swiftshader/src/WSI/ |
D | VkSwapchainKHR.cpp | 107 imageInfo.extent.height = pCreateInfo->imageExtent.height; in createImages() 108 imageInfo.extent.width = pCreateInfo->imageExtent.width; in createImages()
|
/external/vulkan-validation-layers/tests/ |
D | vklayertests_command.cpp | 1318 region.imageExtent = {32, 32, 1}; in TEST_F() 1324 region.imageExtent = {8, 8, 1}; in TEST_F() 1330 region.imageExtent = {4, 4, 1}; in TEST_F() 1336 region.imageExtent = {2, 2, 1}; in TEST_F() 1341 region.imageExtent = {1, 1, 1}; in TEST_F() 1356 region.imageExtent = {1, 2, 1}; in TEST_F() 1374 region.imageExtent = {2, 1, 1}; in TEST_F() 1392 region.imageExtent = {1, 1, 1}; in TEST_F() 1408 region.imageExtent = {3, 4, 1}; in TEST_F() 1416 region.imageExtent = {3, 3, 1}; in TEST_F() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/wsi/ |
D | vktWsiSwapchainTests.cpp | 538 …cases.back().imageExtent.width = de::clamp(s_testSizes[ndx].width, capabilities.minImageExtent.wid… in generateSwapchainParameterCases() 539 …cases.back().imageExtent.height = de::clamp(s_testSizes[ndx].height, capabilities.minImageExtent.h… in generateSwapchainParameterCases() 546 cases.back().imageExtent = capabilities.currentExtent; in generateSwapchainParameterCases() 552 cases.back().imageExtent = capabilities.minImageExtent; in generateSwapchainParameterCases() 555 cases.back().imageExtent = capabilities.maxImageExtent; in generateSwapchainParameterCases() 753 capabilities.maxImageExtent.width == curParams.imageExtent.width && in createSwapchainTest() 754 capabilities.maxImageExtent.height == curParams.imageExtent.height) in createSwapchainTest() 1000 capabilities.maxImageExtent.width == curParams.imageExtent.width && in createSwapchainSimulateOOMTest() 1001 capabilities.maxImageExtent.height == curParams.imageExtent.height) in createSwapchainSimulateOOMTest() 1377 tcu::UVec2(swapchainInfo.imageExtent.width, swapchainInfo.imageExtent.height)); in basicRenderTest() [all …]
|
/external/angle/src/tests/test_utils/ |
D | VulkanExternalHelper.cpp | 846 VkExtent3D imageExtent, in readPixels() argument 852 ASSERT(imageExtent.depth == 1); in readPixels() 853 ASSERT(pixelsSize == 4 * imageExtent.width * imageExtent.height); in readPixels() 932 /* .imageExtent = */ imageExtent, in readPixels()
|
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/ |
D | vktProtectedMemWsiSwapchainTests.cpp | 298 baseParameters.imageExtent.width, in generateSwapchainParameterCases() 299 baseParameters.imageExtent.height, in generateSwapchainParameterCases() 489 …cases.back().imageExtent.width = de::clamp(s_testSizes[ndx].width, capabilities.minImageExtent.wid… in generateSwapchainParameterCases() 490 …cases.back().imageExtent.height = de::clamp(s_testSizes[ndx].height, capabilities.minImageExtent.h… in generateSwapchainParameterCases() 531 cases.back().imageExtent = capabilities.currentExtent; in generateSwapchainParameterCases() 579 cases.back().imageExtent =s_testExtentSizes[ndx]; in generateSwapchainParameterCases() 1153 tcu::UVec2(swapchainInfo.imageExtent.width, swapchainInfo.imageExtent.height)); in basicRenderTest()
|
/external/mesa3d/src/gallium/drivers/zink/ |
D | zink_resource.c | 417 copyRegion.imageExtent.depth = 1; in zink_transfer_copy_bufimage() 420 copyRegion.imageExtent.depth = trans->base.box.depth; in zink_transfer_copy_bufimage() 425 copyRegion.imageExtent.width = trans->base.box.width; in zink_transfer_copy_bufimage() 426 copyRegion.imageExtent.height = trans->base.box.height; in zink_transfer_copy_bufimage()
|
/external/mesa3d/src/gallium/frontends/lavapipe/ |
D | lvp_execute.c | 1529 box.width = copycmd->regions[i].imageExtent.width; in handle_copy_image_to_buffer() 1530 box.height = copycmd->regions[i].imageExtent.height; in handle_copy_image_to_buffer() 1531 …box.depth = copycmd->src->type == VK_IMAGE_TYPE_3D ? copycmd->regions[i].imageExtent.depth : copyc… in handle_copy_image_to_buffer() 1565 buffer_row_len = util_format_get_stride(dst_format, copycmd->regions[i].imageExtent.width); in handle_copy_image_to_buffer() 1568 buffer_image_height = copycmd->regions[i].imageExtent.height; in handle_copy_image_to_buffer() 1575 copycmd->regions[i].imageExtent.width, in handle_copy_image_to_buffer() 1576 copycmd->regions[i].imageExtent.height, in handle_copy_image_to_buffer() 1583 copycmd->regions[i].imageExtent.width, in handle_copy_image_to_buffer() 1584 copycmd->regions[i].imageExtent.height, in handle_copy_image_to_buffer() 1623 box.width = copycmd->regions[i].imageExtent.width; in handle_copy_buffer_to_image() [all …]
|
/external/swiftshader/tests/VulkanWrapper/ |
D | Swapchain.cpp | 32 swapchainCreateInfo.imageExtent = extent; in Swapchain()
|
/external/deqp/external/vulkancts/modules/vulkan/geometry/ |
D | vktGeometryTestsUtil.cpp | 400 const vk::VkExtent3D& imageExtent) in makeBufferImageCopy() argument 409 imageExtent, // VkExtent3D imageExtent; in makeBufferImageCopy()
|