aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/gpu/GrClipStackClip.cpp2
-rw-r--r--src/gpu/GrSoftwarePathRenderer.cpp2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/gpu/GrClipStackClip.cpp b/src/gpu/GrClipStackClip.cpp
index c33ffd29d9..09f5bef323 100644
--- a/src/gpu/GrClipStackClip.cpp
+++ b/src/gpu/GrClipStackClip.cpp
@@ -523,6 +523,8 @@ sk_sp<GrTextureProxy> GrClipStackClip::createSoftwareClipMask(
desc.fWidth = maskSpaceIBounds.width();
desc.fHeight = maskSpaceIBounds.height();
desc.fConfig = kAlpha_8_GrPixelConfig;
+ // MDB TODO: We're going to fill this proxy with an ASAP upload (which is out of order wrt
+ // to ops), so it can't have any pending IO.
proxy = GrSurfaceProxy::MakeDeferred(context->resourceProvider(), desc,
SkBackingFit::kApprox, SkBudgeted::kYes,
GrResourceProvider::kNoPendingIO_Flag);
diff --git a/src/gpu/GrSoftwarePathRenderer.cpp b/src/gpu/GrSoftwarePathRenderer.cpp
index e7cc540ca1..d8d438681e 100644
--- a/src/gpu/GrSoftwarePathRenderer.cpp
+++ b/src/gpu/GrSoftwarePathRenderer.cpp
@@ -169,6 +169,8 @@ static sk_sp<GrTextureProxy> make_deferred_mask_texture_proxy(GrContext* context
desc.fWidth = width;
desc.fHeight = height;
desc.fConfig = kAlpha_8_GrPixelConfig;
+ // MDB TODO: We're going to fill this proxy with an ASAP upload (which is out of order wrt to
+ // ops), so it can't have any pending IO.
return GrSurfaceProxy::MakeDeferred(context->resourceProvider(), desc, fit, SkBudgeted::kYes,
GrResourceProvider::kNoPendingIO_Flag);
}