/third_party/flutter/skia/src/gpu/vk/ |
D | GrVkImage.cpp | 87 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()
|
D | GrVkImage.h | 92 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/ |
D | vkBarrierUtil.cpp | 81 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()
|
D | vkBarrierUtil.hpp | 53 const VkImageLayout newLayout, 64 const VkImageLayout newLayout,
|
D | vkImageUtil.hpp | 274 vk::VkImageLayout newLayout, 286 vk::VkImageLayout newLayout, 307 vk::VkImageLayout newLayout, 335 vk::VkImageLayout newLayout, 356 vk::VkImageLayout newLayout,
|
D | vkWsiUtil.cpp | 878 …const auto newLayout = (m_explicitLayoutTransitions ? VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL : V… in recordFrame() local 884 …makeImageMemoryBarrier(srcMask, dstMask, m_attachmentLayouts[imageNdx], newLayout, m_aliasImages[i… in recordFrame() 887 m_attachmentLayouts[imageNdx] = newLayout; in recordFrame() 930 …const auto newLayout = (m_explicitLayoutTransitions ? VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL : V… in recordDeviceGroupFrame() local 936 …makeImageMemoryBarrier(srcMask, dstMask, m_attachmentLayouts[imageNdx], newLayout, m_aliasImages[i… in recordDeviceGroupFrame() 939 m_attachmentLayouts[imageNdx] = newLayout; in recordDeviceGroupFrame()
|
/third_party/skia/third_party/externals/swiftshader/tests/VulkanWrapper/ |
D | Util.cpp | 72 …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()
|
D | Util.hpp | 31 …e queue, vk::Image image, vk::Format format, vk::ImageLayout oldLayout, vk::ImageLayout newLayout);
|
/third_party/skia/src/gpu/vk/ |
D | GrVkImage.h | 131 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()
|
D | GrVkImage.cpp | 369 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/vk-gl-cts/external/vulkancts/modules/vulkan/mesh_shader/ |
D | vktMeshShaderSyncTests.cpp | 939 …const auto newLayout = (useGeneralLayout ? VK_IMAGE_LAYOUT_GENERAL : VK_IMAGE_LAYOUT_TRANSFER_DST_… in iterate() local 940 if (newLayout != currentLayout) in iterate() 942 …makeImageMemoryBarrier(0u, VK_ACCESS_TRANSFER_WRITE_BIT, currentLayout, newLayout, imageResource->… in iterate() 944 currentLayout = newLayout; in iterate() 955 const auto newLayout = VK_IMAGE_LAYOUT_GENERAL; in iterate() local 956 if (newLayout != currentLayout) in iterate() 958 …VK_ACCESS_SHADER_READ_BIT | VK_ACCESS_SHADER_WRITE_BIT), currentLayout, newLayout, imageResource->… in iterate() 960 currentLayout = newLayout; in iterate() 986 …const auto newLayout = (useGeneralLayout ? VK_IMAGE_LAYOUT_GENERAL : VK_IMAGE_LAYOUT_SHADER_READ_O… in iterate() local 987 …akeImageMemoryBarrier(writeAccessFlags, readAccessFlags, currentLayout, newLayout, imageResource->… in iterate() [all …]
|
/third_party/ffmpeg/libavfilter/ |
D | vf_avgblur_vulkan.c | 247 .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;
|
D | vf_overlay_vulkan.c | 278 .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;
|
D | vf_chromaber_vulkan.c | 209 .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;
|
D | vf_scale_vulkan.c | 334 .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/angle2/src/tests/test_utils/ |
D | VulkanHelper.h | 95 VkImageLayout newLayout, 104 VkImageLayout newLayout,
|
D | VulkanHelper.cpp | 121 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/dawn/src/dawn_native/vulkan/ |
D | TextureVk.cpp | 177 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/flutter/engine/flutter/shell/platform/fuchsia/flutter/ |
D | vulkan_surface_producer.cc | 199 .newLayout = VK_IMAGE_LAYOUT_GENERAL, in TransitionSurfacesToExternal() 214 backendRT.setVkImageLayout(image_barrier.newLayout); in TransitionSurfacesToExternal()
|
/third_party/flutter/engine/flutter/vulkan/ |
D | vulkan_image.cc | 42 .newLayout = dest_layout, in InsertImageMemoryBarrier()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
D | vk_helpers.h | 1702 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/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
D | vk_helpers.cpp | 1751 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 …]
|
/third_party/mesa3d/src/virtio/vulkan/ |
D | vn_command_buffer.c | 26 img_barriers[i].newLayout == VK_IMAGE_LAYOUT_PRESENT_SRC_KHR) in vn_image_memory_barrier_has_present_src() 126 out_barrier->newLayout != VK_IMAGE_LAYOUT_PRESENT_SRC_KHR) in vn_cmd_fix_image_memory_barrier() 136 out_barrier->oldLayout == out_barrier->newLayout) { in vn_cmd_fix_image_memory_barrier() 139 if (out_barrier->newLayout == VK_IMAGE_LAYOUT_PRESENT_SRC_KHR) in vn_cmd_fix_image_memory_barrier() 140 out_barrier->newLayout = VN_PRESENT_SRC_INTERNAL_LAYOUT; in vn_cmd_fix_image_memory_barrier() 165 out_barrier->newLayout = out_barrier->oldLayout; in vn_cmd_fix_image_memory_barrier() 168 out_barrier->newLayout = VN_PRESENT_SRC_INTERNAL_LAYOUT; in vn_cmd_fix_image_memory_barrier() 189 out_barrier->oldLayout = out_barrier->newLayout; in vn_cmd_fix_image_memory_barrier() 312 .newLayout = att->acquire ? VN_PRESENT_SRC_INTERNAL_LAYOUT in vn_present_src_attachment_to_image_memory_barrier()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/multiview/ |
D | vktMultiViewRenderUtil.hpp | 52 …sourceRange, const vk::VkImageLayout oldLayout, const vk::VkImageLayout newLayout, const vk::VkAcc…
|
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/vulkan/ |
D | gstvkswapper.c | 1078 .newLayout = VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, in _build_render_buffer_cmd() 1094 swap_img->barrier.image_layout = image_memory_barrier.newLayout; in _build_render_buffer_cmd() 1146 .newLayout = VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, in _build_render_buffer_cmd() 1169 img_mem->barrier.image_layout = image_memory_barrier.newLayout; in _build_render_buffer_cmd() 1185 .newLayout = VK_IMAGE_LAYOUT_PRESENT_SRC_KHR, in _build_render_buffer_cmd() 1201 swap_img->barrier.image_layout = image_memory_barrier.newLayout; in _build_render_buffer_cmd()
|