Lines Matching refs:currentLayout
133 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()
304 this->setImageLayoutAndQueueIndex(gpu, this->currentLayout(), 0, in prepareForExternal()