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; |
} |