Home
last modified time | relevance | path

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

/third_party/flutter/skia/src/gpu/vk/
DGrVkImage.cpp93 VkImageLayout currentLayout = this->currentLayout(); in setImageLayout() local
96 newLayout == currentLayout) { in setImageLayout()
103 if (newLayout == currentLayout && !releaseFamilyQueue && in setImageLayout()
106 (VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL == currentLayout || in setImageLayout()
107 VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL == currentLayout || in setImageLayout()
108 VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL == currentLayout)) { in setImageLayout()
112 VkAccessFlags srcAccessMask = GrVkImage::LayoutToSrcAccessMask(currentLayout); in setImageLayout()
113 VkPipelineStageFlags srcStageMask = GrVkImage::LayoutToPipelineSrcStageFlags(currentLayout); in setImageLayout()
142 currentLayout, // oldLayout in setImageLayout()
233 VkImageLayout layout = this->currentLayout(); in prepareForPresent()
[all …]
DGrVkCommandBuffer.cpp691 srcImage.currentLayout(), in blitImage()
694 dstImage.currentLayout(), in blitImage()
798 image->currentLayout(), in clearColorImage()
815 image->currentLayout(), in clearDepthStencilImage()
835 srcImage.currentLayout(), in resolveImage()
837 dstImage.currentLayout(), in resolveImage()
DGrVkImage.h87 VkImageLayout currentLayout() const { in currentLayout() function
DGrVkGpu.cpp443 if (VK_IMAGE_LAYOUT_PREINITIALIZED != vkTex->currentLayout()) { in onWritePixels()
652 SkASSERT(VK_IMAGE_LAYOUT_PREINITIALIZED == tex->currentLayout() || in uploadTexDataLinear()
653 VK_IMAGE_LAYOUT_GENERAL == tex->currentLayout()); in uploadTexDataLinear()
/third_party/skia/src/gpu/vk/
DGrVkImage.cpp384 SkASSERT(newLayout == this->currentLayout() || in setImageLayoutAndQueueIndex()
387 VkImageLayout currentLayout = this->currentLayout(); in setImageLayoutAndQueueIndex() local
428 if (newLayout == currentLayout && currentQueueIndex == newQueueFamilyIndex && in setImageLayoutAndQueueIndex()
429 (VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL == currentLayout || in setImageLayoutAndQueueIndex()
430 VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL == currentLayout || in setImageLayoutAndQueueIndex()
431 VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL == currentLayout)) { in setImageLayoutAndQueueIndex()
435 VkAccessFlags srcAccessMask = GrVkImage::LayoutToSrcAccessMask(currentLayout); in setImageLayoutAndQueueIndex()
436 VkPipelineStageFlags srcStageMask = GrVkImage::LayoutToPipelineSrcStageFlags(currentLayout); in setImageLayoutAndQueueIndex()
445 currentLayout, // oldLayout in setImageLayoutAndQueueIndex()
549 VkImageLayout layout = this->currentLayout(); in prepareForPresent()
[all …]
DGrVkCommandBuffer.cpp743 srcImage.currentLayout(), in blitImage()
746 dstImage.currentLayout(), in blitImage()
853 image->currentLayout(), in clearColorImage()
870 image->currentLayout(), in clearDepthStencilImage()
890 srcImage.currentLayout(), in resolveImage()
892 dstImage.currentLayout(), in resolveImage()
DGrVkGpu.cpp504 if (VK_IMAGE_LAYOUT_PREINITIALIZED != texImage->currentLayout()) { in onWritePixels()
755 SkASSERT(VK_IMAGE_LAYOUT_PREINITIALIZED == texImage->currentLayout() || in uploadTexDataLinear()
756 VK_IMAGE_LAYOUT_GENERAL == texImage->currentLayout()); in uploadTexDataLinear()
1766 image->currentLayout(), in onUpdateCompressedBackendTexture()
1791 newLayout = image->currentLayout(); in set_layout_and_queue_from_mutable_state()
1831 previousState->setVulkanState(texture->currentLayout(), in setBackendSurfaceState()
1887 barrier.oldLayout = image->currentLayout(); in xferBarrier()
DGrVkImage.h128 VkImageLayout currentLayout() const { return fMutableState->getImageLayout(); } in currentLayout() function
DGrVkOpsRenderPass.cpp682 SkASSERT(vkTex->currentLayout() == VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL); in check_sampled_texture()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/mesh_shader/
DvktMeshShaderSyncTests.cpp745 VkImageLayout currentLayout = VK_IMAGE_LAYOUT_UNDEFINED; in iterate() local
940 if (newLayout != currentLayout) in iterate()
942 …opyBarrier = makeImageMemoryBarrier(0u, VK_ACCESS_TRANSFER_WRITE_BIT, currentLayout, newLayout, im… in iterate()
944 currentLayout = newLayout; in iterate()
947 …erToImage(cmdBuffer, hostCoherentBuffer->get(), imageResource->get(), currentLayout, 1u, &copyRegi… in iterate()
956 if (newLayout != currentLayout) in iterate()
958 …Barrier(0u, (VK_ACCESS_SHADER_READ_BIT | VK_ACCESS_SHADER_WRITE_BIT), currentLayout, newLayout, im… in iterate()
960 currentLayout = newLayout; in iterate()
987 …geBarrier = makeImageMemoryBarrier(writeAccessFlags, readAccessFlags, currentLayout, newLayout, im… in iterate()
990 currentLayout = newLayout; in iterate()
[all …]
/third_party/skia/tests/
DVkBackendSurfaceTest.cpp139 REPORTER_ASSERT(reporter, initLayout == vkTexture->currentLayout()); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
151 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()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineImageUtil.hpp108 … vk::VkImageLayout currentLayout = vk::VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL);
125 … vk::VkImageLayout currentLayout = vk::VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL);
DvktPipelineImageUtil.cpp273 vk::VkImageLayout currentLayout) in readDepthAttachment() argument
331 …e.x(), renderSize.y()), VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT, currentLayout, 1u, barrierAs… in readDepthAttachment()
351 vk::VkImageLayout currentLayout) in readStencilAttachment() argument
389 …e.x(), renderSize.y()), VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT, currentLayout, 1u, barrierAs… in readStencilAttachment()
/third_party/flutter/skia/tests/
DVkBackendSurfaceTest.cpp78 REPORTER_ASSERT(reporter, initLayout == vkTexture->currentLayout()); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
90 REPORTER_ASSERT(reporter, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL == vkTexture->currentLayout()); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassUnusedClearAttachmentTests.cpp1032 …const VkImageLayout currentLayout = (stencilOnly ? VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OP… in iterate() local
1033 …milyIndex, allocator, *m_depthImage, m_testParams.depthStencilFormat, m_renderSize, currentLayout); in iterate()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dvk_helpers.h1931 ImageLayout currentLayout,
Dvk_helpers.cpp5056 ImageLayout currentLayout, in acquireFromExternal() argument
5065 mCurrentLayout = currentLayout; in acquireFromExternal()
5074 if (currentLayout == ImageLayout::Undefined) in acquireFromExternal()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiCopiesAndBlittingTests.cpp6131 const auto currentLayout = m_params.src.image.operationLayout; in checkIntermediateCopy() local
6213 currentLayout, // VkImageLayout initialLayout; in checkIntermediateCopy()
6214 currentLayout, // VkImageLayout finalLayout; in checkIntermediateCopy()