Home
last modified time | relevance | path

Searched refs:VkImageLayout (Results 1 – 25 of 36) sorted by relevance

12

/hardware/google/gfxstream/host/vulkan/
DBorrowedImageVk.h36 VkImageLayout preBorrowLayout = VK_IMAGE_LAYOUT_UNDEFINED;
48 VkImageLayout postBorrowLayout = VK_IMAGE_LAYOUT_UNDEFINED;
59 VkImageLayout usedInitialImageLayout, VkImageLayout usedFinalImageLayout,
DBorrowedImageVk.cpp22 VkImageLayout usedInitialImageLayout, VkImageLayout usedFinalImageLayout, in addNeededBarriersToUseBorrowedImage()
DColorBufferVk.cpp34 VkImageLayout currentLayout = static_cast<VkImageLayout>(stream->getBe32()); in create()
DVkSubDecoder.cpp594 VkImageLayout srcImageLayout; in subDecode()
596 VkImageLayout dstImageLayout; in subDecode()
604 memcpy((VkImageLayout*)&srcImageLayout, *readStreamPtrPtr, sizeof(VkImageLayout)); in subDecode()
605 *readStreamPtrPtr += sizeof(VkImageLayout); in subDecode()
610 memcpy((VkImageLayout*)&dstImageLayout, *readStreamPtrPtr, sizeof(VkImageLayout)); in subDecode()
611 *readStreamPtrPtr += sizeof(VkImageLayout); in subDecode()
640 VkImageLayout srcImageLayout; in subDecode()
642 VkImageLayout dstImageLayout; in subDecode()
651 memcpy((VkImageLayout*)&srcImageLayout, *readStreamPtrPtr, sizeof(VkImageLayout)); in subDecode()
652 *readStreamPtrPtr += sizeof(VkImageLayout); in subDecode()
[all …]
DCompositorVk.h199 VkImageLayout preCompositionLayout = VK_IMAGE_LAYOUT_UNDEFINED;
201 VkImageLayout postCompositionLayout = VK_IMAGE_LAYOUT_UNDEFINED;
DVkDecoderInternalStructs.h267 VkImageLayout layout = VK_IMAGE_LAYOUT_UNDEFINED;
438 std::unordered_map<HandleType, VkImageLayout> cbLayouts;
439 std::unordered_map<VkImage, VkImageLayout> imageLayouts;
DVkCommonOperations.h310 VkImageLayout currentLayout = VK_IMAGE_LAYOUT_UNDEFINED;
394 void setColorBufferCurrentLayout(uint32_t colorBufferHandle, VkImageLayout);
396 VkImageLayout getColorBufferCurrentLayout(uint32_t colorBufferHandle);
Dvk_util.h466 VkImageLayout oldLayout, in recordImageLayoutTransformCommands()
467 VkImageLayout newLayout) const { in recordImageLayoutTransformCommands()
DVkDecoderGlobalState.h385 VkImage dstImage, VkImageLayout dstImageLayout,
391 VkImageLayout srcImageLayout, VkImage dstImage,
392 VkImageLayout dstImageLayout, uint32_t regionCount,
397 VkImageLayout srcImageLayout, VkBuffer dstBuffer,
DCompositorVk.cpp27 constexpr const VkImageLayout kSourceImageInitialLayoutUsed =
29 constexpr const VkImageLayout kSourceImageFinalLayoutUsed =
32 constexpr const VkImageLayout kTargetImageInitialLayoutUsed = VK_IMAGE_LAYOUT_UNDEFINED;
33 constexpr const VkImageLayout kTargetImageFinalLayoutUsed = VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL;
DVkDecoderSnapshot.h567 VkImageLayout srcImageLayout, VkImage dstImage,
568 VkImageLayout dstImageLayout, uint32_t regionCount,
573 VkImageLayout srcImageLayout, VkImage dstImage,
574 VkImageLayout dstImageLayout, uint32_t regionCount,
579 VkImageLayout dstImageLayout, uint32_t regionCount,
584 VkImageLayout srcImageLayout, VkBuffer dstBuffer,
597 VkImageLayout imageLayout, const VkClearColorValue* pColor,
603 VkImageLayout imageLayout,
614 VkImageLayout srcImageLayout, VkImage dstImage,
615 VkImageLayout dstImageLayout, uint32_t regionCount,
DVkDecoder.cpp7339 VkImageLayout srcImageLayout; in decode()
7341 VkImageLayout dstImageLayout; in decode()
7355 memcpy((VkImageLayout*)&srcImageLayout, *readStreamPtrPtr, sizeof(VkImageLayout)); in decode()
7356 *readStreamPtrPtr += sizeof(VkImageLayout); in decode()
7361 memcpy((VkImageLayout*)&dstImageLayout, *readStreamPtrPtr, sizeof(VkImageLayout)); in decode()
7362 *readStreamPtrPtr += sizeof(VkImageLayout); in decode()
7404 VkImageLayout srcImageLayout; in decode()
7406 VkImageLayout dstImageLayout; in decode()
7423 memcpy((VkImageLayout*)&srcImageLayout, *readStreamPtrPtr, sizeof(VkImageLayout)); in decode()
7424 *readStreamPtrPtr += sizeof(VkImageLayout); in decode()
[all …]
DVkCommonOperations.cpp3086 VkImageLayout currentLayout = colorBufferInfo->currentLayout; in readColorBufferToBytesLocked()
3087 VkImageLayout transferSrcLayout = VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL; in readColorBufferToBytesLocked()
3340 VkImageLayout currentLayout = colorBufferInfo->currentLayout; in updateColorBufferFromBytesLocked()
4011 void VkEmulation::setColorBufferCurrentLayout(uint32_t colorBufferHandle, VkImageLayout layout) { in setColorBufferCurrentLayout()
4022 VkImageLayout VkEmulation::getColorBufferCurrentLayout(uint32_t colorBufferHandle) { in getColorBufferCurrentLayout()
4090 const VkImageLayout kGuestUseDefaultImageLayout = VK_IMAGE_LAYOUT_PRESENT_SRC_KHR;
/hardware/google/gfxstream/host/vulkan/emulated_textures/
DAstcTexture.h41 VkImageLayout dstImageLayout, uint32_t regionCount,
53 VkImageLayout dstImageLayout, uint32_t regionCount,
DAstcTexture.cpp163 VkImageLayout dstImageLayout, uint32_t regionCount, in on_vkCmdCopyBufferToImageImpl()
271 VkImageLayout dstImageLayout, uint32_t regionCount, in on_vkCmdCopyBufferToImage()
DCompressedImageInfo.h91 VkImage dstImage, VkImageLayout dstImageLayout, uint32_t regionCount,
DCompressedImageInfo.cpp136 bool isReadableImageLayout(VkImageLayout layout) { in isReadableImageLayout()
148 bool isWritableImageLayout(VkImageLayout layout) { in isWritableImageLayout()
509 VkImageLayout dstImageLayout, uint32_t regionCount, in decompressOnCpu()
/hardware/google/gfxstream/host/vulkan/testing/
DVulkanTestHelper.h87 void transitionImageLayout(VkCommandBuffer cmdBuf, VkImage image, VkImageLayout oldLayout,
88 VkImageLayout newLayout);
DVkDecoderTestDispatch.h70 VkImageLayout srcImageLayout, VkImage dstImage, in vkCmdBlitImage()
71 VkImageLayout dstImageLayout, uint32_t regionCount, in vkCmdBlitImage()
78 VkImageLayout dstImageLayout, uint32_t regionCount, in vkCmdCopyBufferToImage()
86 VkImageLayout srcImageLayout, VkImage dstImage, in vkCmdCopyImage()
87 VkImageLayout dstImageLayout, uint32_t regionCount, in vkCmdCopyImage()
113 VkImageLayout srcImageLayout, VkBuffer dstBuffer, in vkCmdCopyImageToBuffer()
DVulkanTestHelper.cpp293 VkImageLayout oldLayout, VkImageLayout newLayout) { in transitionImageLayout()
/hardware/google/gfxstream/host/tests/
DVkTestUtils.h49 template <VkImageLayout imageLayout, VkImageUsageFlags imageUsage>
54 static constexpr VkImageLayout k_vkImageLayout = imageLayout;
/hardware/google/gfxstream/host/vulkan/cereal/common/
Dgoldfish_vk_marshaling.cpp324 vkStream->write((VkImageLayout*)&forMarshaling->oldLayout, sizeof(VkImageLayout)); in marshal_VkImageMemoryBarrier()
325 vkStream->write((VkImageLayout*)&forMarshaling->newLayout, sizeof(VkImageLayout)); in marshal_VkImageMemoryBarrier()
357 vkStream->read((VkImageLayout*)&forUnmarshaling->oldLayout, sizeof(VkImageLayout)); in unmarshal_VkImageMemoryBarrier()
358 vkStream->read((VkImageLayout*)&forUnmarshaling->newLayout, sizeof(VkImageLayout)); in unmarshal_VkImageMemoryBarrier()
2161 vkStream->write((VkImageLayout*)&forMarshaling->initialLayout, sizeof(VkImageLayout)); in marshal_VkImageCreateInfo()
2204 vkStream->read((VkImageLayout*)&forUnmarshaling->initialLayout, sizeof(VkImageLayout)); in unmarshal_VkImageCreateInfo()
3787 vkStream->write((VkImageLayout*)&forMarshaling->imageLayout, sizeof(VkImageLayout)); in marshal_VkDescriptorImageInfo()
3801 vkStream->read((VkImageLayout*)&forUnmarshaling->imageLayout, sizeof(VkImageLayout)); in unmarshal_VkDescriptorImageInfo()
4206 vkStream->write((VkImageLayout*)&forMarshaling->initialLayout, sizeof(VkImageLayout)); in marshal_VkAttachmentDescription()
4207 vkStream->write((VkImageLayout*)&forMarshaling->finalLayout, sizeof(VkImageLayout)); in marshal_VkAttachmentDescription()
[all …]
Dgoldfish_vk_reserved_marshaling.cpp272 memcpy((VkImageLayout*)&forUnmarshaling->oldLayout, *ptr, sizeof(VkImageLayout)); in reservedunmarshal_VkImageMemoryBarrier()
273 *ptr += sizeof(VkImageLayout); in reservedunmarshal_VkImageMemoryBarrier()
274 memcpy((VkImageLayout*)&forUnmarshaling->newLayout, *ptr, sizeof(VkImageLayout)); in reservedunmarshal_VkImageMemoryBarrier()
275 *ptr += sizeof(VkImageLayout); in reservedunmarshal_VkImageMemoryBarrier()
1695 memcpy((VkImageLayout*)&forUnmarshaling->initialLayout, *ptr, sizeof(VkImageLayout)); in reservedunmarshal_VkImageCreateInfo()
1696 *ptr += sizeof(VkImageLayout); in reservedunmarshal_VkImageCreateInfo()
2856 memcpy((VkImageLayout*)&forUnmarshaling->imageLayout, *ptr, sizeof(VkImageLayout)); in reservedunmarshal_VkDescriptorImageInfo()
2857 *ptr += sizeof(VkImageLayout); in reservedunmarshal_VkDescriptorImageInfo()
3160 memcpy((VkImageLayout*)&forUnmarshaling->initialLayout, *ptr, sizeof(VkImageLayout)); in reservedunmarshal_VkAttachmentDescription()
3161 *ptr += sizeof(VkImageLayout); in reservedunmarshal_VkAttachmentDescription()
[all …]
/hardware/google/gfxstream/scripts/print_gfx_logs/
Dvulkan_printer.py87 printer.write_enum("imageLayout", VkImageLayout, indent)
96 printer.write_enum("dstImageLayout", VkImageLayout, indent)
103 printer.write_enum("srcImageLayout", VkImageLayout, indent)
547 printer.write_enum("initialLayout", VkImageLayout, indent)
548 printer.write_enum("finalLayout", VkImageLayout, indent)
552 printer.write_enum("layout", VkImageLayout, indent)
647 printer.write_enum("imageLayout", VkImageLayout, indent)
735 printer.write_enum("initialLayout", VkImageLayout, indent)
741 printer.write_enum("oldLayout", VkImageLayout, indent)
742 printer.write_enum("newLayout", VkImageLayout, indent)
[all …]
/hardware/google/gfxstream/common/vulkan/include/vulkan/
Dvulkan_core.h1336 typedef enum VkImageLayout { enum
1381 } VkImageLayout; typedef
2946 VkImageLayout oldLayout;
2947 VkImageLayout newLayout;
3454 VkImageLayout initialLayout;
3752 VkImageLayout imageLayout;
3814 VkImageLayout initialLayout;
3815 VkImageLayout finalLayout;
3820 VkImageLayout layout;
4099 …ommandBuffer commandBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkImage dstImage, VkIm…
[all …]

12