Home
last modified time | relevance | path

Searched refs:stagingImage (Results 1 – 2 of 2) sorted by relevance

/external/vulkan-validation-layers/tests/
Dvkrenderframework.cpp1374 VkImageObj stagingImage(m_device); in Read() local
1377stagingImage.Init(16, 16, 1, VK_FORMAT_B8G8R8A8_UNORM, VK_IMAGE_USAGE_TRANSFER_DST_BIT | VK_IMAGE_… in Read()
1379 stagingImage.SetLayout(VK_IMAGE_ASPECT_COLOR_BIT, VK_IMAGE_LAYOUT_GENERAL); in Read()
1380 …VkSubresourceLayout layout = stagingImage.subresource_layout(subresource(VK_IMAGE_ASPECT_COLOR_BIT… in Read()
1381 CopyImageOut(stagingImage); in Read()
1382 void *data = stagingImage.MapMemory(); in Read()
1385 for (uint32_t y = 0; y < stagingImage.extent().height; y++) { in Read()
1387 for (uint32_t x = 0; x < stagingImage.extent().width; x++) m[y][x] = row[x]; in Read()
1390 stagingImage.UnmapMemory(); in Read()
1400 VkImageObj stagingImage(device); in VkTextureObj() local
[all …]
/external/angle/src/libANGLE/renderer/vulkan/
DTextureVk.cpp1008 std::unique_ptr<vk::RefCounted<vk::ImageHelper>> stagingImage; in copySubImageImplWithTransfer() local
1009 stagingImage = std::make_unique<vk::RefCounted<vk::ImageHelper>>(); in copySubImageImplWithTransfer()
1012 stagingImage->get().init2DStaging(contextVk, false, renderer->getMemoryProperties(), in copySubImageImplWithTransfer()
1017 &stagingImage->get()); in copySubImageImplWithTransfer()
1034 vk::ImageHelper::Copy(srcImage, &stagingImage->get(), srcOffset, gl::kOffsetZero, extents, in copySubImageImplWithTransfer()
1041 mImage->stageSubresourceUpdateFromImage(stagingImage.release(), stagingIndex, in copySubImageImplWithTransfer()
1159 std::unique_ptr<vk::RefCounted<vk::ImageHelper>> stagingImage; in copySubImageImplWithDraw() local
1160 stagingImage = std::make_unique<vk::RefCounted<vk::ImageHelper>>(); in copySubImageImplWithDraw()
1163 stagingImage->get().init2DStaging(contextVk, false, renderer->getMemoryProperties(), in copySubImageImplWithDraw()
1177 ANGLE_TRY(stagingImage->get().initLayerImageView( in copySubImageImplWithDraw()
[all …]