Home
last modified time | relevance | path

Searched refs:currentLayout (Results 1 – 21 of 21) sorted by relevance

/external/skia/src/gpu/vk/
DGrVkImage.cpp133 SkASSERT(newLayout == this->currentLayout() || in setImageLayoutAndQueueIndex()
136 VkImageLayout currentLayout = this->currentLayout(); in setImageLayoutAndQueueIndex() local
177 if (newLayout == currentLayout && currentQueueIndex == newQueueFamilyIndex && in setImageLayoutAndQueueIndex()
178 (VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL == currentLayout || in setImageLayoutAndQueueIndex()
179 VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL == currentLayout || in setImageLayoutAndQueueIndex()
180 VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL == currentLayout)) { in setImageLayoutAndQueueIndex()
184 VkAccessFlags srcAccessMask = GrVkImage::LayoutToSrcAccessMask(currentLayout); in setImageLayoutAndQueueIndex()
185 VkPipelineStageFlags srcStageMask = GrVkImage::LayoutToPipelineSrcStageFlags(currentLayout); in setImageLayoutAndQueueIndex()
194 currentLayout, // oldLayout in setImageLayoutAndQueueIndex()
292 VkImageLayout layout = this->currentLayout(); in prepareForPresent()
[all …]
DGrVkCommandBuffer.cpp748 srcImage.currentLayout(), in blitImage()
751 dstImage.currentLayout(), in blitImage()
858 image->currentLayout(), in clearColorImage()
875 image->currentLayout(), in clearDepthStencilImage()
895 srcImage.currentLayout(), in resolveImage()
897 dstImage.currentLayout(), in resolveImage()
DGrVkImage.h83 VkImageLayout currentLayout() const { return fMutableState->getImageLayout(); } in currentLayout() function
DGrVkGpu.cpp501 if (VK_IMAGE_LAYOUT_PREINITIALIZED != texAttachment->currentLayout()) { in onWritePixels()
746 SkASSERT(VK_IMAGE_LAYOUT_PREINITIALIZED == texAttachment->currentLayout() || in uploadTexDataLinear()
747 VK_IMAGE_LAYOUT_GENERAL == texAttachment->currentLayout()); in uploadTexDataLinear()
1742 attachment->currentLayout(), in onUpdateCompressedBackendTexture()
1767 newLayout = image->currentLayout(); in set_layout_and_queue_from_mutable_state()
1803 previousState->setVulkanState(texture->currentLayout(), in setBackendSurfaceState()
1859 barrier.oldLayout = colorAttachment->currentLayout(); in xferBarrier()
DGrVkOpsRenderPass.cpp682 SkASSERT(vkTex->currentLayout() == VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL); in check_sampled_texture()
/external/skqp/src/gpu/vk/
DGrVkImage.cpp90 VkImageLayout currentLayout = this->currentLayout(); in setImageLayout() local
99 if (newLayout == currentLayout && in setImageLayout()
100 (VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL == currentLayout || in setImageLayout()
101 VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL == currentLayout || in setImageLayout()
102 VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL == currentLayout)) { in setImageLayout()
106 VkAccessFlags srcAccessMask = GrVkImage::LayoutToSrcAccessMask(currentLayout); in setImageLayout()
107 VkPipelineStageFlags srcStageMask = GrVkImage::LayoutToPipelineSrcStageFlags(currentLayout); in setImageLayout()
137 currentLayout, // oldLayout in setImageLayout()
219 this->setImageLayout(gpu, this->currentLayout(), 0, 0, false, true); in releaseImage()
DGrVkCommandBuffer.cpp673 srcImage.currentLayout(), in blitImage()
676 dstImage.currentLayout(), in blitImage()
775 image->currentLayout(), in clearColorImage()
791 image->currentLayout(), in clearDepthStencilImage()
810 srcImage.currentLayout(), in resolveImage()
812 dstImage.currentLayout(), in resolveImage()
DGrVkImage.h81 VkImageLayout currentLayout() const { in currentLayout() function
DGrVkGpu.cpp404 if (VK_IMAGE_LAYOUT_PREINITIALIZED != vkTex->currentLayout()) { in onWritePixels()
556 SkASSERT(VK_IMAGE_LAYOUT_PREINITIALIZED == tex->currentLayout() || in uploadTexDataLinear()
557 VK_IMAGE_LAYOUT_GENERAL == tex->currentLayout()); in uploadTexDataLinear()
/external/skqp/tests/
DVkBackendSurfaceTest.cpp74 REPORTER_ASSERT(reporter, initLayout == vkTexture->currentLayout()); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
86 REPORTER_ASSERT(reporter, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL == vkTexture->currentLayout()); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
/external/skia/tests/
DVkBackendSurfaceTest.cpp84 REPORTER_ASSERT(reporter, initLayout == vkTexture->currentLayout()); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
96 REPORTER_ASSERT(reporter, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL == vkTexture->currentLayout()); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
DBackendSurfaceMutableStateTest.cpp74 REPORTER_ASSERT(reporter, initLayout == vkTexture->currentLayout()); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
90 VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL == vkTexture->currentLayout()); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineImageUtil.hpp107 … vk::VkImageLayout currentLayout = vk::VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL);
124 … vk::VkImageLayout currentLayout = vk::VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL);
DvktPipelineImageUtil.cpp272 vk::VkImageLayout currentLayout) in readDepthAttachment() argument
330 …e.x(), renderSize.y()), VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT, currentLayout, 1u, barrierAs… in readDepthAttachment()
350 vk::VkImageLayout currentLayout) in readStencilAttachment() argument
388 …e.x(), renderSize.y()), VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT, currentLayout, 1u, barrierAs… in readStencilAttachment()
/external/deqp/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationMiscDrawTests.cpp244 …const VkImageLayout currentLayout = (tessLevelCaseNdx == 0 ? VK_IMAGE_LAYOUT_UNDEFINED : VK_IMAGE_… in runTest() local
249 currentLayout, VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL, in runTest()
DvktTessellationWindingTests.cpp496 …const VkImageLayout currentLayout = (caseNdx == 0 ? VK_IMAGE_LAYOUT_UNDEFINED : VK_IMAGE_LAYOUT_TR… in iterate() local
501 currentLayout, VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL, in iterate()
DvktTessellationGeometryPassthroughTests.cpp554 …const VkImageLayout currentLayout = (pipelineNdx == 0 ? VK_IMAGE_LAYOUT_UNDEFINED : VK_IMAGE_LAYOU… in iterate() local
559 currentLayout, VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL, in iterate()
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassUnusedClearAttachmentTests.cpp943 …const VkImageLayout currentLayout = (stencilOnly ? VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OP… in iterate() local
944 …milyIndex, allocator, *m_depthImage, m_testParams.depthStencilFormat, m_renderSize, currentLayout); in iterate()
/external/angle/src/libANGLE/renderer/vulkan/
Dvk_helpers.h1815 ImageLayout currentLayout,
Dvk_helpers.cpp4808 ImageLayout currentLayout, in acquireFromExternal() argument
4817 mCurrentLayout = currentLayout; in acquireFromExternal()
4825 if (currentLayout == ImageLayout::Undefined) in acquireFromExternal()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiCopiesAndBlittingTests.cpp4801 const auto currentLayout = VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL; in checkIntermediateCopy() local
4883 currentLayout, // VkImageLayout initialLayout; in checkIntermediateCopy()
4884 currentLayout, // VkImageLayout finalLayout; in checkIntermediateCopy()