/third_party/skia/third_party/externals/angle2/src/common/ |
D | PackedGLEnums_autogen.cpp | 728 ImageLayout FromGLenum<ImageLayout>(GLenum from) in FromGLenum() 733 return ImageLayout::Undefined; in FromGLenum() 735 return ImageLayout::General; in FromGLenum() 737 return ImageLayout::ColorAttachment; in FromGLenum() 739 return ImageLayout::DepthStencilAttachment; in FromGLenum() 741 return ImageLayout::DepthStencilReadOnlyAttachment; in FromGLenum() 743 return ImageLayout::ShaderReadOnly; in FromGLenum() 745 return ImageLayout::TransferSrc; in FromGLenum() 747 return ImageLayout::TransferDst; in FromGLenum() 749 return ImageLayout::DepthReadOnlyStencilAttachment; in FromGLenum() [all …]
|
D | PackedGLEnums_autogen.h | 203 enum class ImageLayout : uint8_t enum 221 ImageLayout FromGLenum<ImageLayout>(GLenum from); 222 GLenum ToGLenum(ImageLayout from); 223 std::ostream &operator<<(std::ostream &os, ImageLayout value);
|
/third_party/skia/third_party/externals/swiftshader/tests/VulkanWrapper/ |
D | Util.cpp | 72 …vk::Queue queue, vk::Image image, vk::Format format, vk::ImageLayout oldLayout, vk::ImageLayout ne… in transitionImageLayout() 91 if(oldLayout == vk::ImageLayout::eUndefined && newLayout == vk::ImageLayout::eTransferDstOptimal) in transitionImageLayout() 99 …else if(oldLayout == vk::ImageLayout::eTransferDstOptimal && newLayout == vk::ImageLayout::eShader… in transitionImageLayout() 132 commandBuffer.copyBufferToImage(buffer, image, vk::ImageLayout::eTransferDstOptimal, 1, ®ion); in copyBufferToImage()
|
D | DrawTester.cpp | 122 attachments[0].initialLayout = vk::ImageLayout::eUndefined; in createRenderPass() 123 attachments[0].finalLayout = vk::ImageLayout::eColorAttachmentOptimal; in createRenderPass() 132 attachments[1].initialLayout = vk::ImageLayout::eUndefined; in createRenderPass() 133 attachments[1].finalLayout = vk::ImageLayout::ePresentSrcKHR; in createRenderPass() 143 attachments[0].initialLayout = vk::ImageLayout::eUndefined; in createRenderPass() 144 attachments[0].finalLayout = vk::ImageLayout::ePresentSrcKHR; in createRenderPass() 149 attachment0.layout = vk::ImageLayout::eColorAttachmentOptimal; in createRenderPass() 153 attachment1.layout = vk::ImageLayout::eColorAttachmentOptimal; in createRenderPass()
|
D | Util.hpp | 31 …vk::Queue queue, vk::Image image, vk::Format format, vk::ImageLayout oldLayout, vk::ImageLayout ne…
|
D | Image.cpp | 25 imageInfo.initialLayout = vk::ImageLayout::eGeneral; in Image()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
D | vk_helpers.cpp | 117 constexpr angle::PackedEnumMap<ImageLayout, ImageMemoryBarrierData> kImageMemoryBarrierData = { 119 ImageLayout::Undefined, 134 ImageLayout::ColorAttachment, 149 ImageLayout::ColorAttachmentAndFragmentShaderRead, 164 ImageLayout::ColorAttachmentAndAllShadersRead, 180 ImageLayout::DSAttachmentWriteAndFragmentShaderRead, 195 ImageLayout::DSAttachmentWriteAndAllShadersRead, 211 ImageLayout::DSAttachmentReadAndFragmentShaderRead, 226 ImageLayout::DSAttachmentReadAndAllShadersRead, 241 ImageLayout::DepthStencilAttachmentReadOnly, [all …]
|
D | vk_helpers.h | 1039 ImageLayout imageLayout, 1046 ImageLayout imageLayout, 1250 ImageLayout imageLayout); 1393 enum class ImageLayout enum 1434 ImageLayout GetImageLayoutFromGLImageLayout(GLenum layout); 1436 GLenum ConvertImageLayoutToGLImageLayout(ImageLayout imageLayout); 1438 VkImageLayout ConvertImageLayoutToVkImageLayout(ImageLayout imageLayout); 1511 ImageLayout initialLayout, 1702 void setCurrentImageLayout(ImageLayout newLayout) in setCurrentImageLayout() 1705 if (mCurrentLayout == ImageLayout::SharedPresent) in setCurrentImageLayout() [all …]
|
D | SemaphoreVk.cpp | 103 vk::ImageLayout layout = vk::GetImageLayoutFromGLImageLayout(textureBarrier.layout); in wait() 158 vk::ImageLayout layout = vk::GetImageLayoutFromGLImageLayout(textureBarrier.layout); in signal() 163 if (layout == vk::ImageLayout::Undefined) in signal()
|
D | ContextVk.cpp | 122 constexpr gl::ShaderMap<vk::ImageLayout> kShaderReadOnlyImageLayouts = { 123 {gl::ShaderType::Vertex, vk::ImageLayout::VertexShaderReadOnly}, 124 {gl::ShaderType::TessControl, vk::ImageLayout::PreFragmentShadersReadOnly}, 125 {gl::ShaderType::TessEvaluation, vk::ImageLayout::PreFragmentShadersReadOnly}, 126 {gl::ShaderType::Geometry, vk::ImageLayout::PreFragmentShadersReadOnly}, 127 {gl::ShaderType::Fragment, vk::ImageLayout::FragmentShaderReadOnly}, 128 {gl::ShaderType::Compute, vk::ImageLayout::ComputeShaderReadOnly}}; 130 constexpr gl::ShaderMap<vk::ImageLayout> kShaderWriteImageLayouts = { 131 {gl::ShaderType::Vertex, vk::ImageLayout::VertexShaderWrite}, 132 {gl::ShaderType::TessControl, vk::ImageLayout::PreFragmentShadersWrite}, [all …]
|
D | RenderbufferVk.cpp | 109 usage, vk::kVkImageCreateFlagsNone, vk::ImageLayout::Undefined, in setStorageImpl() 184 mImage->changeLayoutAndQueue(contextVk, aspect, vk::ImageLayout::ColorAttachment, in setStorageEGLImageTarget()
|
D | vk_cache_utils.h | 54 enum class ImageLayout; variable 326 ImageLayout initialLayout, 327 ImageLayout finalLayout); 330 ImageLayout initialLayout, 331 ImageLayout finalLayout);
|
D | vk_cache_utils.cpp | 199 ConvertImageLayoutToVkImageLayout(static_cast<ImageLayout>(ops.initialLayout)); in UnpackAttachmentDesc() 201 ConvertImageLayoutToVkImageLayout(static_cast<ImageLayout>(ops.finalLayout)); in UnpackAttachmentDesc() 1015 static_cast<ImageLayout>(ops[attachmentCount].initialLayout)); in InitializeRenderPassFromDesc() 1050 static_cast<ImageLayout>(ops[attachmentCount].initialLayout)); in InitializeRenderPassFromDesc() 2716 ImageLayout initialLayout, in initWithLoadStore() 2717 ImageLayout finalLayout) in initWithLoadStore() 2725 ImageLayout initialLayout, in setLayouts() 2726 ImageLayout finalLayout) in setLayouts() 3557 ops.initWithLoadStore(colorIndexVk, vk::ImageLayout::ColorAttachment, in addRenderPass() 3558 vk::ImageLayout::ColorAttachment); in addRenderPass() [all …]
|
D | MemoryObjectVk.cpp | 208 imageUsageFlags, createFlags, vk::ImageLayout::ExternalPreInitialized, in createImage()
|
D | SurfaceVk.cpp | 148 renderableFormatId, samples, usage, imageCreateFlags, vk::ImageLayout::Undefined, nullptr, in InitImageHelper() 1513 image.image.recordReadBarrier(contextVk, VK_IMAGE_ASPECT_COLOR_BIT, vk::ImageLayout::Present, in present() 1701 (image.image.getCurrentImageLayout() == vk::ImageLayout::SharedPresent)) in acquireNextSwapchainImage() 1726 (image.image.getCurrentImageLayout() != vk::ImageLayout::SharedPresent)) in acquireNextSwapchainImage() 1734 image.image.recordWriteBarrierOneOff(context, vk::ImageLayout::SharedPresent, in acquireNextSwapchainImage()
|
D | RenderTargetVk.cpp | 121 VK_IMAGE_ASPECT_COLOR_BIT, vk::ImageLayout::ColorAttachment, in onColorResolve()
|
D | UtilsVk.cpp | 1951 vk::ImageLayout::ColorAttachment, in startRenderPass() 1952 vk::ImageLayout::ColorAttachment); in startRenderPass() 2186 VK_IMAGE_ASPECT_COLOR_BIT, vk::ImageLayout::ColorAttachment, in clearImage() 2415 contextVk->onImageRenderPassRead(src->getAspectFlags(), vk::ImageLayout::FragmentShaderReadOnly, in blitResolveImpl() 2860 vk::ImageLayout::FragmentShaderReadOnly, src); in copyImage() 2862 vk::ImageLayout::ColorAttachment, dst); in copyImage()
|
/third_party/skia/third_party/externals/swiftshader/tests/VulkanBenchmarks/ |
D | TriangleBenchmarks.cpp | 245 …ue, texture.getImage(), vk::Format::eR8G8B8A8Unorm, vk::ImageLayout::eUndefined, vk::ImageLayout::… in TriangleSampleTexture() 247 …texture.getImage(), vk::Format::eR8G8B8A8Unorm, vk::ImageLayout::eTransferDstOptimal, vk::ImageLay… in TriangleSampleTexture() 265 imageInfo.imageLayout = vk::ImageLayout::eShaderReadOnlyOptimal; in TriangleSampleTexture()
|
D | ClearImageBenchmarks.cpp | 33 imageInfo.initialLayout = vk::ImageLayout::eGeneral; in initialize() 83 commandBuffer.clearColorImage(image, vk::ImageLayout::eGeneral, &clearColorValue, 1, &range); in initialize() 91 …commandBuffer.clearDepthStencilImage(image, vk::ImageLayout::eGeneral, &clearDepthStencilValue, 1,… in initialize()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
D | validationESEXT.cpp | 51 bool IsValidImageLayout(ImageLayout layout) in IsValidImageLayout() 55 case ImageLayout::Undefined: in IsValidImageLayout() 56 case ImageLayout::General: in IsValidImageLayout() 57 case ImageLayout::ColorAttachment: in IsValidImageLayout() 58 case ImageLayout::DepthStencilAttachment: in IsValidImageLayout() 59 case ImageLayout::DepthStencilReadOnlyAttachment: in IsValidImageLayout() 60 case ImageLayout::ShaderReadOnly: in IsValidImageLayout() 61 case ImageLayout::TransferSrc: in IsValidImageLayout() 62 case ImageLayout::TransferDst: in IsValidImageLayout() 63 case ImageLayout::DepthReadOnlyStencilAttachment: in IsValidImageLayout() [all …]
|
/third_party/vulkan-headers/include/vulkan/ |
D | vulkan_to_string.hpp | 4940 VULKAN_HPP_INLINE std::string to_string( ImageLayout value ) in to_string() 4944 case ImageLayout::eUndefined: return "Undefined"; in to_string() 4945 case ImageLayout::eGeneral: return "General"; in to_string() 4946 case ImageLayout::eColorAttachmentOptimal: return "ColorAttachmentOptimal"; in to_string() 4947 case ImageLayout::eDepthStencilAttachmentOptimal: return "DepthStencilAttachmentOptimal"; in to_string() 4948 case ImageLayout::eDepthStencilReadOnlyOptimal: return "DepthStencilReadOnlyOptimal"; in to_string() 4949 case ImageLayout::eShaderReadOnlyOptimal: return "ShaderReadOnlyOptimal"; in to_string() 4950 case ImageLayout::eTransferSrcOptimal: return "TransferSrcOptimal"; in to_string() 4951 case ImageLayout::eTransferDstOptimal: return "TransferDstOptimal"; in to_string() 4952 case ImageLayout::ePreinitialized: return "Preinitialized"; in to_string() [all …]
|
D | vulkan_structs.hpp | 5551 …VULKAN_HPP_NAMESPACE::ImageLayout initialLayout_ = VULKAN_HPP_NAMESPACE::ImageLayo… 5552 …VULKAN_HPP_NAMESPACE::ImageLayout finalLayout_ = VULKAN_HPP_NAMESPACE::ImageLayout:… 5624 …XPR_14 AttachmentDescription & setInitialLayout( VULKAN_HPP_NAMESPACE::ImageLayout initialLayout_ … in setInitialLayout() 5630 …TEXPR_14 AttachmentDescription & setFinalLayout( VULKAN_HPP_NAMESPACE::ImageLayout finalLayout_ ) … in setFinalLayout() 5658 VULKAN_HPP_NAMESPACE::ImageLayout const &, 5659 VULKAN_HPP_NAMESPACE::ImageLayout const &> 5695 …VULKAN_HPP_NAMESPACE::ImageLayout initialLayout = VULKAN_HPP_NAMESPACE::ImageLayou… 5696 …VULKAN_HPP_NAMESPACE::ImageLayout finalLayout = VULKAN_HPP_NAMESPACE::ImageLayou… 5714 …VULKAN_HPP_NAMESPACE::ImageLayout initialLayout_ = VULKAN_HPP_NAMESPACE::ImageLayout::eUn… 5715 …VULKAN_HPP_NAMESPACE::ImageLayout finalLayout_ = VULKAN_HPP_NAMESPACE::ImageLayout::eUn… [all …]
|
/third_party/skia/third_party/externals/swiftshader/include/vulkan/ |
D | vulkan_enums.hpp | 3356 enum class ImageLayout enum 3398 VULKAN_HPP_INLINE std::string to_string( ImageLayout value ) in to_string() 3402 case ImageLayout::eUndefined: return "Undefined"; in to_string() 3403 case ImageLayout::eGeneral: return "General"; in to_string() 3404 case ImageLayout::eColorAttachmentOptimal: return "ColorAttachmentOptimal"; in to_string() 3405 case ImageLayout::eDepthStencilAttachmentOptimal: return "DepthStencilAttachmentOptimal"; in to_string() 3406 case ImageLayout::eDepthStencilReadOnlyOptimal: return "DepthStencilReadOnlyOptimal"; in to_string() 3407 case ImageLayout::eShaderReadOnlyOptimal: return "ShaderReadOnlyOptimal"; in to_string() 3408 case ImageLayout::eTransferSrcOptimal: return "TransferSrcOptimal"; in to_string() 3409 case ImageLayout::eTransferDstOptimal: return "TransferDstOptimal"; in to_string() [all …]
|
D | vulkan_structs.hpp | 4372 …VULKAN_HPP_NAMESPACE::ImageLayout initialLayout_ = VULKAN_HPP_NAMESPACE::ImageLayou… 4373 …VULKAN_HPP_NAMESPACE::ImageLayout finalLayout_ = VULKAN_HPP_NAMESPACE::ImageLayou… 4446 …AttachmentDescription & setInitialLayout( VULKAN_HPP_NAMESPACE::ImageLayout initialLayout_ ) VULKA… in setInitialLayout() 4452 …AttachmentDescription & setFinalLayout( VULKAN_HPP_NAMESPACE::ImageLayout finalLayout_ ) VULKAN_HP… in setFinalLayout() 4494 …VULKAN_HPP_NAMESPACE::ImageLayout initialLayout = VULKAN_HPP_NAMESPACE::ImageLayou… 4495 …VULKAN_HPP_NAMESPACE::ImageLayout finalLayout = VULKAN_HPP_NAMESPACE::ImageLayou… 4520 …VULKAN_HPP_NAMESPACE::ImageLayout initialLayout_ = VULKAN_HPP_NAMESPACE::ImageLayou… 4521 …VULKAN_HPP_NAMESPACE::ImageLayout finalLayout_ = VULKAN_HPP_NAMESPACE::ImageLayou… 4600 …AttachmentDescription2 & setInitialLayout( VULKAN_HPP_NAMESPACE::ImageLayout initialLayout_ ) VULK… in setInitialLayout() 4606 …AttachmentDescription2 & setFinalLayout( VULKAN_HPP_NAMESPACE::ImageLayout finalLayout_ ) VULKAN_H… in setFinalLayout() [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/android/ |
D | HardwareBufferImageSiblingVkAndroid.cpp | 299 imageCreateFlags, vk::ImageLayout::ExternalPreInitialized, in initImpl()
|