diff options
Diffstat (limited to 'include')
-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, |