Index: include/core/SkSurface.h |
diff --git a/include/core/SkSurface.h b/include/core/SkSurface.h |
index a092a81ca592745fc599804952f680194f29f437..b73ccf2d9e62a00683004651a46a2099e5f5e01f 100644 |
--- a/include/core/SkSurface.h |
+++ b/include/core/SkSurface.h |
@@ -85,6 +85,8 @@ public: |
* must be set on GrBackendTextureDesc for this to succeed. Skia will not assume ownership |
* of the texture and the client must ensure the texture is valid for the lifetime of the |
* SkSurface. |
+ * |
+ * If the requested sample count is greater than 0, the contents of the surface are undefined. |
*/ |
static sk_sp<SkSurface> MakeFromBackendTexture(GrContext*, const GrBackendTextureDesc&, |
const SkSurfaceProps*); |
@@ -105,6 +107,8 @@ public: |
* must be set on GrBackendTextureDesc for this to succeed. Skia will not assume ownership |
* of the texture and the client must ensure the texture is valid for the lifetime of the |
* SkSurface. |
+ * |
+ * If the requested sample count is greater than 0, the contents of the surface are undefined. |
*/ |
static sk_sp<SkSurface> MakeFromBackendTextureAsRenderTarget( |
GrContext*, const GrBackendTextureDesc&, const SkSurfaceProps*); |