diff options
author | robertphillips <robertphillips@google.com> | 2016-05-11 08:34:39 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-05-11 08:34:39 -0700 |
commit | ebf30e84156358d6841305ecea21c7c979370bad (patch) | |
tree | be1f67027aaee0a93c18b6b3d698d59c6d688873 /include/gpu/GrContext.h | |
parent | 93eeadf7a19d0801074bd8c6d8ac5c4f120e5fbb (diff) |
Switch GrTextureToYUVPlanes over to newDrawContext calls
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1970743002
Review-Url: https://codereview.chromium.org/1970743002
Diffstat (limited to 'include/gpu/GrContext.h')
-rw-r--r-- | include/gpu/GrContext.h | 2 |
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, |