Home
last modified time | relevance | path

Searched refs:newLayout (Results 1 – 25 of 141) sorted by relevance

123456

/third_party/vk-gl-cts/external/vulkan-docs/src/chapters/commonvalidity/
Dimage_memory_barrier_common.adoc34 pname:oldLayout and pname:newLayout define an
36 and pname:oldLayout or pname:newLayout is
42 pname:oldLayout and pname:newLayout define an
44 and pname:oldLayout or pname:newLayout is
51 pname:oldLayout and pname:newLayout define an
53 and pname:oldLayout or pname:newLayout is
60 pname:oldLayout and pname:newLayout define an
62 and pname:oldLayout or pname:newLayout is
69 pname:oldLayout and pname:newLayout define an
71 and pname:oldLayout or pname:newLayout is
[all …]
Dimage_memory_barrier_common.txt34 pname:oldLayout and pname:newLayout define an
36 and pname:oldLayout or pname:newLayout is
42 pname:oldLayout and pname:newLayout define an
44 and pname:oldLayout or pname:newLayout is
51 pname:oldLayout and pname:newLayout define an
53 and pname:oldLayout or pname:newLayout is
60 pname:oldLayout and pname:newLayout define an
62 and pname:oldLayout or pname:newLayout is
69 pname:oldLayout and pname:newLayout define an
71 and pname:oldLayout or pname:newLayout is
[all …]
/third_party/flutter/skia/src/gpu/vk/
DGrVkImage.cpp87 void GrVkImage::setImageLayout(const GrVkGpu* gpu, VkImageLayout newLayout, in setImageLayout() argument
91 SkASSERT(VK_IMAGE_LAYOUT_UNDEFINED != newLayout && in setImageLayout()
92 VK_IMAGE_LAYOUT_PREINITIALIZED != newLayout); in setImageLayout()
96 newLayout == currentLayout) { in setImageLayout()
103 if (newLayout == currentLayout && !releaseFamilyQueue && in setImageLayout()
143 newLayout, // newLayout in setImageLayout()
153 this->updateImageLayout(newLayout); in setImageLayout()
DGrVkImage.h92 VkImageLayout newLayout,
108 void updateImageLayout(VkImageLayout newLayout) { in updateImageLayout() argument
112 fLayout->setImageLayout(newLayout); in updateImageLayout()
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkBarrierUtil.cpp81 const VkImageLayout newLayout, in makeImageMemoryBarrier() argument
94 newLayout, // VkImageLayout newLayout; in makeImageMemoryBarrier()
107 const VkImageLayout newLayout, in makeImageMemoryBarrier2() argument
122 newLayout, // VkImageLayout newLayout; in makeImageMemoryBarrier2()
DvkBarrierUtil.hpp53 const VkImageLayout newLayout,
64 const VkImageLayout newLayout,
DvkImageUtil.hpp313 vk::VkImageLayout newLayout,
327 vk::VkImageLayout newLayout,
351 vk::VkImageLayout newLayout,
380 vk::VkImageLayout newLayout,
402 vk::VkImageLayout newLayout,
/third_party/skia/third_party/externals/swiftshader/tests/VulkanWrapper/
DUtil.cpp72 …ue queue, vk::Image image, vk::Format format, vk::ImageLayout oldLayout, vk::ImageLayout newLayout) in transitionImageLayout() argument
78 barrier.newLayout = newLayout; 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()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/mesh_shader/
DvktMeshShaderSyncTests.cpp966 …const auto newLayout = (useGeneralLayout ? VK_IMAGE_LAYOUT_GENERAL : VK_IMAGE_LAYOUT_TRANSFER_DST_… in iterate() local
967 if (newLayout != currentLayout) in iterate()
969 …makeImageMemoryBarrier(0u, VK_ACCESS_TRANSFER_WRITE_BIT, currentLayout, newLayout, imageResource->… in iterate()
971 currentLayout = newLayout; in iterate()
982 const auto newLayout = VK_IMAGE_LAYOUT_GENERAL; in iterate() local
983 if (newLayout != currentLayout) in iterate()
985 …VK_ACCESS_SHADER_READ_BIT | VK_ACCESS_SHADER_WRITE_BIT), currentLayout, newLayout, imageResource->… in iterate()
987 currentLayout = newLayout; in iterate()
1013 …const auto newLayout = (useGeneralLayout ? VK_IMAGE_LAYOUT_GENERAL : VK_IMAGE_LAYOUT_SHADER_READ_O… in iterate() local
1014 …akeImageMemoryBarrier(writeAccessFlags, readAccessFlags, currentLayout, newLayout, imageResource->… in iterate()
[all …]
DvktMeshShaderSyncTestsEXT.cpp1169 …const auto newLayout = (useGeneralLayout ? VK_IMAGE_LAYOUT_GENERAL : VK_IMAGE_LAYOUT_TRANSFER_DST_… in iterate() local
1170 if (newLayout != currentLayout) in iterate()
1172 …makeImageMemoryBarrier(0u, VK_ACCESS_TRANSFER_WRITE_BIT, currentLayout, newLayout, imageResource->… in iterate()
1174 currentLayout = newLayout; in iterate()
1185 const auto newLayout = VK_IMAGE_LAYOUT_GENERAL; in iterate() local
1186 if (newLayout != currentLayout) in iterate()
1188 …VK_ACCESS_SHADER_READ_BIT | VK_ACCESS_SHADER_WRITE_BIT), currentLayout, newLayout, imageResource->… in iterate()
1190 currentLayout = newLayout; in iterate()
1216 …const auto newLayout = (useGeneralLayout ? VK_IMAGE_LAYOUT_GENERAL : VK_IMAGE_LAYOUT_SHADER_READ_O… in iterate() local
1217 …akeImageMemoryBarrier(writeAccessFlags, readAccessFlags, currentLayout, newLayout, imageResource->… in iterate()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/mesh_shader/
DvktMeshShaderSyncTests.cpp966 …const auto newLayout = (useGeneralLayout ? VK_IMAGE_LAYOUT_GENERAL : VK_IMAGE_LAYOUT_TRANSFER_DST_… in iterate() local
967 if (newLayout != currentLayout) in iterate()
969 …makeImageMemoryBarrier(0u, VK_ACCESS_TRANSFER_WRITE_BIT, currentLayout, newLayout, imageResource->… in iterate()
971 currentLayout = newLayout; in iterate()
982 const auto newLayout = VK_IMAGE_LAYOUT_GENERAL; in iterate() local
983 if (newLayout != currentLayout) in iterate()
985 …VK_ACCESS_SHADER_READ_BIT | VK_ACCESS_SHADER_WRITE_BIT), currentLayout, newLayout, imageResource->… in iterate()
987 currentLayout = newLayout; in iterate()
1013 …const auto newLayout = (useGeneralLayout ? VK_IMAGE_LAYOUT_GENERAL : VK_IMAGE_LAYOUT_SHADER_READ_O… in iterate() local
1014 …akeImageMemoryBarrier(writeAccessFlags, readAccessFlags, currentLayout, newLayout, imageResource->… in iterate()
[all …]
DvktMeshShaderSyncTestsEXT.cpp1169 …const auto newLayout = (useGeneralLayout ? VK_IMAGE_LAYOUT_GENERAL : VK_IMAGE_LAYOUT_TRANSFER_DST_… in iterate() local
1170 if (newLayout != currentLayout) in iterate()
1172 …makeImageMemoryBarrier(0u, VK_ACCESS_TRANSFER_WRITE_BIT, currentLayout, newLayout, imageResource->… in iterate()
1174 currentLayout = newLayout; in iterate()
1185 const auto newLayout = VK_IMAGE_LAYOUT_GENERAL; in iterate() local
1186 if (newLayout != currentLayout) in iterate()
1188 …VK_ACCESS_SHADER_READ_BIT | VK_ACCESS_SHADER_WRITE_BIT), currentLayout, newLayout, imageResource->… in iterate()
1190 currentLayout = newLayout; in iterate()
1216 …const auto newLayout = (useGeneralLayout ? VK_IMAGE_LAYOUT_GENERAL : VK_IMAGE_LAYOUT_SHADER_READ_O… in iterate() local
1217 …akeImageMemoryBarrier(writeAccessFlags, readAccessFlags, currentLayout, newLayout, imageResource->… in iterate()
[all …]
/third_party/skia/src/gpu/vk/
DGrVkImage.h131 VkImageLayout newLayout,
138 VkImageLayout newLayout, in setImageLayout() argument
142 this->setImageLayoutAndQueueIndex(gpu, newLayout, dstAccessMask, dstStageMask, byRegion, in setImageLayout()
162 void updateImageLayout(VkImageLayout newLayout) { in updateImageLayout() argument
166 fMutableState->setImageLayout(newLayout); in updateImageLayout()
DGrVkImage.cpp369 VkImageLayout newLayout, in setImageLayoutAndQueueIndex() argument
384 SkASSERT(newLayout == this->currentLayout() || in setImageLayoutAndQueueIndex()
385 (VK_IMAGE_LAYOUT_UNDEFINED != newLayout && in setImageLayoutAndQueueIndex()
386 VK_IMAGE_LAYOUT_PREINITIALIZED != newLayout)); in setImageLayoutAndQueueIndex()
428 if (newLayout == currentLayout && currentQueueIndex == newQueueFamilyIndex && in setImageLayoutAndQueueIndex()
446 newLayout, // newLayout in setImageLayoutAndQueueIndex()
456 this->updateImageLayout(newLayout); in setImageLayoutAndQueueIndex()
/third_party/ffmpeg/libavfilter/
Dvf_avgblur_vulkan.c247 .newLayout = s->input_images[i].imageLayout,
260 .newLayout = s->tmp_images[i].imageLayout,
273 .newLayout = s->output_images[i].imageLayout,
287 in->layout[i] = bar[0].newLayout;
290 tmp->layout[i] = bar[1].newLayout;
293 out->layout[i] = bar[2].newLayout;
Dvf_overlay_vulkan.c278 .newLayout = s->main_images[i].imageLayout,
291 .newLayout = s->overlay_images[i].imageLayout,
304 .newLayout = s->output_images[i].imageLayout,
318 main->layout[i] = bar[0].newLayout;
321 overlay->layout[i] = bar[1].newLayout;
324 out->layout[i] = bar[2].newLayout;
Dvf_chromaber_vulkan.c209 .newLayout = s->input_images[i].imageLayout,
222 .newLayout = s->output_images[i].imageLayout,
236 in->layout[i] = bar[0].newLayout;
239 out->layout[i] = bar[1].newLayout;
Dvf_scale_vulkan.c334 .newLayout = s->input_images[i].imageLayout,
345 in->layout[i] = bar.newLayout;
355 .newLayout = s->output_images[i].imageLayout,
366 out->layout[i] = bar.newLayout;
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DTextureVk.cpp177 barrier.newLayout = VulkanImageLayout(texture, usage); in BuildMemoryBarrier()
792 barrier.newLayout = barrier.oldLayout; in ExportExternalTexture()
794 barrier.newLayout = desiredLayout; in ExportExternalTexture()
818 *releasedNewLayout = barrier.newLayout; in ExportExternalTexture()
920 VkImageLayout desiredLayout = barrier->newLayout; in TweakTransitionForExternalUsage()
929 barrier->newLayout = desiredLayout; in TweakTransitionForExternalUsage()
932 barrier->newLayout = mPendingAcquireNewLayout; in TweakTransitionForExternalUsage()
936 if (barrier->newLayout != desiredLayout) { in TweakTransitionForExternalUsage()
944 layoutBarrier.oldLayout = barrier->newLayout; in TweakTransitionForExternalUsage()
945 layoutBarrier.newLayout = desiredLayout; in TweakTransitionForExternalUsage()
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/
DVulkanHelper.h95 VkImageLayout newLayout,
104 VkImageLayout newLayout,
DVulkanHelper.cpp121 VkImageLayout newLayout) in ImageMemoryBarrier() argument
129 /* .newLayout = */ newLayout, in ImageMemoryBarrier()
810 VkImageLayout newLayout, in releaseImageAndSignalSemaphore() argument
838 VK_QUEUE_FAMILY_EXTERNAL, oldLayout, newLayout); in releaseImageAndSignalSemaphore()
870 VkImageLayout newLayout, in waitSemaphoreAndAcquireImage() argument
898 mGraphicsQueueFamilyIndex, oldLayout, newLayout); in waitSemaphoreAndAcquireImage()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dvk_helpers.h1702 void setCurrentImageLayout(ImageLayout newLayout) in setCurrentImageLayout() argument
1709 mCurrentLayout = newLayout; in setCurrentImageLayout()
1881 ImageLayout newLayout, in recordWriteBarrier() argument
1884 barrierImpl(context, aspectMask, newLayout, mCurrentQueueFamilyIndex, commandBuffer); in recordWriteBarrier()
1888 ImageLayout newLayout, in recordWriteBarrierOneOff() argument
1891 barrierImpl(context, getAspectFlags(), newLayout, mCurrentQueueFamilyIndex, commandBuffer); in recordWriteBarrierOneOff()
1895 bool isReadBarrierNecessary(ImageLayout newLayout) const;
1899 ImageLayout newLayout, in recordReadBarrier() argument
1902 if (!isReadBarrierNecessary(newLayout)) in recordReadBarrier()
1907 barrierImpl(context, aspectMask, newLayout, mCurrentQueueFamilyIndex, commandBuffer); in recordReadBarrier()
[all …]
/third_party/flutter/engine/flutter/shell/platform/fuchsia/flutter/
Dvulkan_surface_producer.cc199 .newLayout = VK_IMAGE_LAYOUT_GENERAL, in TransitionSurfacesToExternal()
214 backendRT.setVkImageLayout(image_barrier.newLayout); in TransitionSurfacesToExternal()
/third_party/mesa3d/src/virtio/vulkan/
Dvn_command_buffer.c38 img_barriers[i].newLayout == VK_IMAGE_LAYOUT_PRESENT_SRC_KHR) in vn_image_memory_barrier_has_present_src()
138 out_barrier->newLayout != VK_IMAGE_LAYOUT_PRESENT_SRC_KHR) in vn_cmd_fix_image_memory_barrier()
148 out_barrier->oldLayout == out_barrier->newLayout) { in vn_cmd_fix_image_memory_barrier()
151 if (out_barrier->newLayout == VK_IMAGE_LAYOUT_PRESENT_SRC_KHR) in vn_cmd_fix_image_memory_barrier()
152 out_barrier->newLayout = VN_PRESENT_SRC_INTERNAL_LAYOUT; in vn_cmd_fix_image_memory_barrier()
177 out_barrier->newLayout = out_barrier->oldLayout; in vn_cmd_fix_image_memory_barrier()
180 out_barrier->newLayout = VN_PRESENT_SRC_INTERNAL_LAYOUT; in vn_cmd_fix_image_memory_barrier()
201 out_barrier->oldLayout = out_barrier->newLayout; in vn_cmd_fix_image_memory_barrier()
316 .newLayout = att->acquire ? VN_PRESENT_SRC_INTERNAL_LAYOUT in vn_present_src_attachment_to_image_memory_barrier()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dvk_helpers.cpp1751 bool ImageHelper::isLayoutChangeNecessary(ImageLayout newLayout) const in isLayoutChangeNecessary()
1760 mCurrentLayout == newLayout && !layoutData.sameLayoutTransitionRequiresBarrier; in isLayoutChangeNecessary()
1766 ImageLayout newLayout, in changeLayout() argument
1769 if (!isLayoutChangeNecessary(newLayout)) in changeLayout()
1774 forceChangeLayoutAndQueue(aspectMask, newLayout, mCurrentQueueFamilyIndex, commandBuffer); in changeLayout()
1778 ImageLayout newLayout, in changeLayoutAndQueue() argument
1783 forceChangeLayoutAndQueue(aspectMask, newLayout, newQueueFamilyIndex, commandBuffer); in changeLayoutAndQueue()
1787 ImageLayout newLayout, in forceChangeLayoutAndQueue() argument
1797 if (mCurrentLayout == newLayout && mCurrentQueueFamilyIndex == newQueueFamilyIndex && in forceChangeLayoutAndQueue()
1811 const ImageMemoryBarrierData &transitionTo = kImageMemoryBarrierData[newLayout]; in forceChangeLayoutAndQueue()
[all …]

123456