Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Unified Diff: include/core/SkImageGenerator.h

Issue 1295593002: some catchup CL revisions (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gm/image_pict.cpp ('k') | src/core/SkImageCacherator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkImageGenerator.h
diff --git a/include/core/SkImageGenerator.h b/include/core/SkImageGenerator.h
index d5885babd7590941fd0a46c24d39c4d3738b7fab..aa9a6d115778c8cae65355f2d8a1798f5550b3ff 100644
--- a/include/core/SkImageGenerator.h
+++ b/include/core/SkImageGenerator.h
@@ -144,9 +144,9 @@ public:
* Regarding the SkImageUsageType parameter:
*
* If the context (the provided one or the generator's intrinsic one) determines that to
- * support the specified usage, it must return a different sized texture (from the generator's
- * native size) it may, so the caller must inspect the texture's width/height
- * (unless kUntiled_SkImageUsedType was specified).
+ * support the specified usage, it must return a different sized texture it may,
+ * so the caller must inspect the texture's width/height and compare them to the generator's
+ * getInfo() width/height.
*/
GrTexture* generateTexture(GrContext*, SkImageUsageType);
« no previous file with comments | « gm/image_pict.cpp ('k') | src/core/SkImageCacherator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698