Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(655)

Unified Diff: src/gpu/vk/GrVkGpu.cpp

Issue 2373503004: Revert of Add command buffer submits before copy calls in vulkan. (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/gpu/vk/GrVkCommandBuffer.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/vk/GrVkGpu.cpp
diff --git a/src/gpu/vk/GrVkGpu.cpp b/src/gpu/vk/GrVkGpu.cpp
index ec6804013d166414780844e14df6b7cb1f433161..a72b51734049ef907edaf61b8e5990adf5240974 100644
--- a/src/gpu/vk/GrVkGpu.cpp
+++ b/src/gpu/vk/GrVkGpu.cpp
@@ -380,10 +380,6 @@
SkASSERT(dst);
SkASSERT(src && src->numColorSamples() > 1 && src->msaaImage());
-#if defined(SK_BUILD_FOR_WIN)
- this->submitCommandBuffer(GrVkGpu::kSkip_SyncQueue);
-#endif
-
// Flip rect if necessary
SkIRect srcVkRect = srcRect;
int32_t dstY = dstPoint.fY;
@@ -846,10 +842,6 @@
!caps.mipMapSupport()) {
return;
}
-
-#if defined(SK_BUILD_FOR_WIN)
- this->submitCommandBuffer(kSkip_SyncQueue);
-#endif
// We may need to resolve the texture first if it is also a render target
GrVkRenderTarget* texRT = static_cast<GrVkRenderTarget*>(tex->asRenderTarget());
@@ -1585,10 +1577,6 @@
return true;
}
-#if defined(SK_BUILD_FOR_WIN)
- this->submitCommandBuffer(GrVkGpu::kSkip_SyncQueue);
-#endif
-
if (fCopyManager.copySurfaceAsDraw(this, dst, src, srcRect, dstPoint)) {
return true;
}
« no previous file with comments | « src/gpu/vk/GrVkCommandBuffer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698