Home
last modified time | relevance | path

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

/external/skia/src/gpu/vk/
DGrVkImage.cpp93 VkImageLayout currentLayout = this->currentLayout(); in setImageLayout() local
96 newLayout == currentLayout) { in setImageLayout()
103 if (newLayout == currentLayout && in setImageLayout()
105 (VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL == currentLayout || in setImageLayout()
106 VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL == currentLayout || in setImageLayout()
107 VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL == currentLayout)) { in setImageLayout()
111 VkAccessFlags srcAccessMask = GrVkImage::LayoutToSrcAccessMask(currentLayout); in setImageLayout()
112 VkPipelineStageFlags srcStageMask = GrVkImage::LayoutToPipelineSrcStageFlags(currentLayout); in setImageLayout()
142 currentLayout, // oldLayout in setImageLayout()
224 VkImageLayout layout = this->currentLayout(); in prepareForPresent()
[all …]
DGrVkCommandBuffer.cpp683 srcImage.currentLayout(), in blitImage()
686 dstImage.currentLayout(), in blitImage()
785 image->currentLayout(), in clearColorImage()
801 image->currentLayout(), in clearDepthStencilImage()
820 srcImage.currentLayout(), in resolveImage()
822 dstImage.currentLayout(), in resolveImage()
DGrVkImage.h86 VkImageLayout currentLayout() const { in currentLayout() function
DGrVkGpu.cpp407 if (VK_IMAGE_LAYOUT_PREINITIALIZED != vkTex->currentLayout()) { in onWritePixels()
559 SkASSERT(VK_IMAGE_LAYOUT_PREINITIALIZED == tex->currentLayout() || in uploadTexDataLinear()
560 VK_IMAGE_LAYOUT_GENERAL == tex->currentLayout()); in uploadTexDataLinear()
/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.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/deqp/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationMiscDrawTests.cpp243 …const VkImageLayout currentLayout = (tessLevelCaseNdx == 0 ? VK_IMAGE_LAYOUT_UNDEFINED : VK_IMAGE_… in runTest() local
248 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.cpp539 …const VkImageLayout currentLayout = (pipelineNdx == 0 ? VK_IMAGE_LAYOUT_UNDEFINED : VK_IMAGE_LAYOU… in iterate() local
544 currentLayout, VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL, in iterate()