aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar robertphillips <robertphillips@google.com>2016-05-11 08:34:39 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-05-11 08:34:39 -0700
commitebf30e84156358d6841305ecea21c7c979370bad (patch)
treebe1f67027aaee0a93c18b6b3d698d59c6d688873 /include
parent93eeadf7a19d0801074bd8c6d8ac5c4f120e5fbb (diff)
Switch GrTextureToYUVPlanes over to newDrawContext calls
Diffstat (limited to 'include')
-rw-r--r--include/gpu/GrContext.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/gpu/GrContext.h b/include/gpu/GrContext.h
index 44dfda65ee..46612b110d 100644
--- a/include/gpu/GrContext.h
+++ b/include/gpu/GrContext.h
@@ -196,6 +196,8 @@ public:
/**
* Create both a GrRenderTarget and a matching GrDrawContext to wrap it.
* The created GrRenderTarget will always be budgeted.
+ * We guarantee that "asTexture" will succeed for drawContexts created
+ * via this entry point.
*/
sk_sp<GrDrawContext> newDrawContext(SkBackingFit fit,
int width, int height,