Home
last modified time | relevance | path

Searched refs:imageExtent (Results 1 – 25 of 124) sorted by relevance

12345

/third_party/skia/third_party/externals/angle2/src/libANGLE/
DOverlayWidgets.cpp105 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 …]
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DUtilsVulkan.cpp142 Extent3D imageExtent = ComputeTextureCopyExtent(textureCopy, copySize); in ComputeBufferImageCopyRegion() local
143 region.imageExtent.width = imageExtent.width; in ComputeBufferImageCopyRegion()
144 region.imageExtent.height = imageExtent.height; in ComputeBufferImageCopyRegion()
145 region.imageExtent.depth = 1; in ComputeBufferImageCopyRegion()
157 Extent3D imageExtent = ComputeTextureCopyExtent(textureCopy, copySize); in ComputeBufferImageCopyRegion() local
158 region.imageExtent.width = imageExtent.width; in ComputeBufferImageCopyRegion()
159 region.imageExtent.height = imageExtent.height; in ComputeBufferImageCopyRegion()
160 region.imageExtent.depth = imageExtent.depthOrArrayLayers; in ComputeBufferImageCopyRegion()
DNativeSwapChainImplVk.cpp124 createInfo.imageExtent.width = width; in Configure()
125 createInfo.imageExtent.height = height; in Configure()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DOverlayVk.cpp143 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()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
DvktDrawMultiExtTests.cpp704 const auto imageExtent = makeExtent3D(imageDim, imageDim, 1u); in iterate() local
709 const auto pixelCount = imageExtent.width * imageExtent.height; in iterate()
730 imageExtent, // VkExtent3D extent; in iterate()
754 imageExtent, // VkExtent3D extent; in iterate()
818 …<deUint32>(attachments.size()), de::dataOrNull(attachments), imageExtent.width, imageExtent.height… in iterate()
822 const auto viewport = makeViewport(imageExtent); in iterate()
824 const auto scissor = makeRect2D(imageExtent); in iterate()
921 …triangleGen = TriangleGeneratorPtr(new TriangleMosaicGenerator(imageExtent.width, imageExtent.heig… in iterate()
923 …triangleGen = TriangleGeneratorPtr(new TriangleOverlapGenerator(imageExtent.width, imageExtent.hei… in iterate()
931 for (deUint32 y = 0u; y < imageExtent.height; ++y) in iterate()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/mesh_shader/
DvktMeshShaderMiscTests.cpp257 const auto imageExtent = makeExtent3D(m_params->width, m_params->height, 1u); in iterate() local
267 imageExtent, // VkExtent3D extent; in iterate()
286 …const auto verificationBufferSize = static_cast<VkDeviceSize>(imageExtent.width * imageExtent.he… in iterate()
312 …eFramebuffer(vkd, device, renderPass.get(), colorView.get(), imageExtent.width, imageExtent.height… in iterate()
315 const std::vector<VkViewport> viewports (1u, makeViewport(imageExtent)); in iterate()
316 const std::vector<VkRect2D> scissors (1u, makeRect2D(imageExtent)); in iterate()
344 const auto copyRegion = makeBufferImageCopy(imageExtent, colorSRL); in iterate()
354 …const tcu::IVec3 iExtent (static_cast<int>(imageExtent.width), static_cast<int>(imageExtent in iterate()
2075 const auto imageExtent = makeExtent3D(m_params->width, m_params->height, 1u); in iterate() local
2089 imageExtent, // VkExtent3D extent; in iterate()
[all …]
DvktMeshShaderSyncTests.cpp701 const auto imageExtent = getImageExtent(); in iterate() local
724 imageExtent, // VkExtent3D extent; in iterate()
780 imageExtent, // VkExtent3D extent; in iterate()
900 …buffer(vkd, device, renderPass.get(), colorBufferView.get(), imageExtent.width, imageExtent.height… in iterate()
903 std::vector<VkViewport> viewports (1u, makeViewport(imageExtent)); in iterate()
904 std::vector<VkRect2D> scissors (1u, makeRect2D(imageExtent)); in iterate()
946 const auto copyRegion = makeBufferImageCopy(imageExtent, colorSRL); in iterate()
1046 const auto copyRegion = makeBufferImageCopy(imageExtent, colorSRL); in iterate()
1068 const auto copyRegion = makeBufferImageCopy(imageExtent, colorSRL); in iterate()
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkImage.cpp567 VkExtent3D imageExtent = imageExtentInBlocks(region.imageExtent, aspect); in copy() local
569 if(imageExtent.width == 0 || imageExtent.height == 0 || imageExtent.depth == 0) in copy()
574 VkExtent2D bufferExtent = bufferExtentInBlocks(Extent2D(imageExtent), region); in copy()
593 bool isSingleSlice = (imageExtent.depth == 1); in copy()
594 bool isSingleRow = (imageExtent.height == 1) && isSingleSlice; in copy()
595 bool isEntireRow = (imageExtent.width == mipLevelExtent.width) && in copy()
597 bool isEntireSlice = isEntireRow && (imageExtent.height == mipLevelExtent.height) && in copy()
603 copySize = imageExtent.width * bytesPerBlock; in copy()
607 copySize = (imageExtent.height - 1) * imageRowPitchBytes + imageExtent.width * bytesPerBlock; in copy()
611 …copySize = (imageExtent.depth - 1) * imageSlicePitchBytes + (imageExtent.height - 1) * imageRowPit… in copy()
[all …]
DVkStructConversion.hpp148 pRegions[i].imageExtent
183 pRegions[i].imageExtent
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiImageClearingTests.cpp469 VkExtent3D imageExtent; member
500 …void preClearImage (const deUint32 imageMipLevels, VkExtent3D imageExtent, deUint32 ima…
568 …, m_imageMipLevels (params.useSingleMipLevel ? 1u : getNumMipLevels(params.imageExtent, m_imageF… in ImageClearingTestInstance()
577 params.imageExtent, in ImageClearingTestInstance()
603 …r = createFrameBuffer(*m_imageView, *m_renderPass, params.imageExtent.width, params.imageExtent.he… in ImageClearingTestInstance()
1066 …<deUint32> mipLevelSizes = getImageMipLevelSizes(pixelSize, m_params.imageExtent, m_imageMipLeve… in readImage()
1113 const VkExtent3D extent = getMipLevelExtent(m_params.imageExtent, mipLevel); in readImage()
1158 const VkExtent3D extent = getMipLevelExtent(m_params.imageExtent, mipLevel); in readImage()
1173 DE_ASSERT((clearCoords == UVec4()) || m_params.imageExtent.depth == 1u); in verifyResultImage()
1185 for (deUint32 y = 0; y < m_params.imageExtent.height; ++y) in verifyResultImage()
[all …]
/third_party/mesa3d/src/vulkan/wsi/
Dwsi_common_drm.c136 .width = pCreateInfo->imageExtent.width, in wsi_create_native_image()
137 .height = pCreateInfo->imageExtent.height, in wsi_create_native_image()
471 const uint32_t linear_stride = align_u32(pCreateInfo->imageExtent.width * cpp, in wsi_create_prime_image()
474 uint32_t linear_size = linear_stride * pCreateInfo->imageExtent.height; in wsi_create_prime_image()
541 .width = pCreateInfo->imageExtent.width, in wsi_create_prime_image()
542 .height = pCreateInfo->imageExtent.height, in wsi_create_prime_image()
622 .imageExtent = { in wsi_create_prime_image()
623 .width = pCreateInfo->imageExtent.width, in wsi_create_prime_image()
624 .height = pCreateInfo->imageExtent.height, in wsi_create_prime_image()
Dwsi_common_win32.c355 .width = pCreateInfo->imageExtent.width, in wsi_create_native_image()
356 .height = pCreateInfo->imageExtent.height, in wsi_create_native_image()
481 info.bmiHeader.biWidth = create_info->imageExtent.width; in wsi_win32_image_init()
482 info.bmiHeader.biHeight = -create_info->imageExtent.height; in wsi_win32_image_init()
633 chain->extent = create_info->imageExtent; in wsi_win32_surface_create_swapchain()
/third_party/mesa3d/src/vulkan/util/
Dvk_cmd_copy.c129 .imageExtent = pRegions[r].imageExtent, in vk_common_CmdCopyBufferToImage()
170 .imageExtent = pRegions[r].imageExtent, in vk_common_CmdCopyImageToBuffer()
Dvk_image.c41 const VkExtent3D imageExtent) in sanitize_image_extent() argument
45 return (VkExtent3D) { imageExtent.width, 1, 1 }; in sanitize_image_extent()
47 return (VkExtent3D) { imageExtent.width, imageExtent.height, 1 }; in sanitize_image_extent()
49 return imageExtent; in sanitize_image_extent()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
DvktImageMisalignedCubeTests.cpp105 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()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/descriptor_indexing/
DvktDescriptorSetsIndexingTestsUtils.cpp259 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()
DvktDescriptorSetsIndexingTests.cpp326 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 …]
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_meta_copy.c397 num_layers = region->imageExtent.depth; in copy_image_to_buffer_tlb()
408 const uint32_t width = DIV_ROUND_UP(region->imageExtent.width, block_w); in copy_image_to_buffer_tlb()
409 const uint32_t height = DIV_ROUND_UP(region->imageExtent.height, block_h); in copy_image_to_buffer_tlb()
565 buf_width = region->imageExtent.width; in copy_image_to_buffer_blit()
570 buf_height = region->imageExtent.height; in copy_image_to_buffer_blit()
585 num_layers = region->imageExtent.depth; 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()
710 DIV_ROUND_UP(region->imageExtent.width, block_width), in copy_image_to_buffer_blit()
711 DIV_ROUND_UP(region->imageExtent.height, block_height), in copy_image_to_buffer_blit()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/linux/display/
DWindowSurfaceVkSimple.cpp60 info.imageExtent.width = displayWindow->width; in createSurfaceVk()
61 info.imageExtent.height = displayWindow->height; in createSurfaceVk()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineBindPointTests.cpp397 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()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DCommandBufferVk.cpp89 Extent3D imageExtent = ComputeTextureCopyExtent(textureCopy, copySize); in ComputeBufferImageCopyRegion() local
90 region.imageExtent.width = imageExtent.width; in ComputeBufferImageCopyRegion()
91 region.imageExtent.height = imageExtent.height; in ComputeBufferImageCopyRegion()
92 region.imageExtent.depth = copySize.depth; in ComputeBufferImageCopyRegion()
127 Extent3D imageExtent = imageExtentDst; in ComputeImageCopyRegion() local
128 region.extent.width = imageExtent.width; in ComputeImageCopyRegion()
129 region.extent.height = imageExtent.height; in ComputeImageCopyRegion()
130 region.extent.depth = imageExtent.depth; in ComputeImageCopyRegion()
DNativeSwapChainImplVk.cpp92 createInfo.imageExtent.width = width; in Configure()
93 createInfo.imageExtent.height = height; in Configure()
/third_party/mesa3d/src/amd/vulkan/
Dradv_meta_copy.c164 .width = region->bufferRowLength ? region->bufferRowLength : region->imageExtent.width, in copy_buffer_to_image()
165 .height = region->bufferImageHeight ? region->bufferImageHeight : region->imageExtent.height, in copy_buffer_to_image()
170 const VkExtent3D img_extent_el = meta_region_extent_el(image, image->type, &region->imageExtent); in copy_buffer_to_image()
291 .width = region->bufferRowLength ? region->bufferRowLength : region->imageExtent.width, in copy_image_to_buffer()
292 .height = region->bufferImageHeight ? region->bufferImageHeight : region->imageExtent.height, in copy_image_to_buffer()
297 const VkExtent3D img_extent_el = meta_region_extent_el(image, image->type, &region->imageExtent); in copy_image_to_buffer()
/third_party/mesa3d/src/virtio/vulkan/
Dvn_wsi.c160 pCreateInfo->minImageCount, pCreateInfo->imageExtent.width, in vn_CreateSwapchainKHR()
161 pCreateInfo->imageExtent.height, in vn_CreateSwapchainKHR()
/third_party/skia/third_party/externals/swiftshader/src/WSI/
DVkSwapchainKHR.cpp112 imageInfo.extent.height = pCreateInfo->imageExtent.height; in createImages()
113 imageInfo.extent.width = pCreateInfo->imageExtent.width; in createImages()

12345