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

Unified Diff: src/image/SkImage_Base.h

Issue 2037413002: Add SkSourceGammaTreatment enum so we know how to create mips (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Remove leftover comments Created 4 years, 6 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
Index: src/image/SkImage_Base.h
diff --git a/src/image/SkImage_Base.h b/src/image/SkImage_Base.h
index 947af0e0d178629c8d1e7ce4a138ea305824ec3f..30a1f1dec0c895bc5517582313c369d7be3949b4 100644
--- a/src/image/SkImage_Base.h
+++ b/src/image/SkImage_Base.h
@@ -49,7 +49,8 @@ public:
}
// Caller must call unref when they are done.
- virtual GrTexture* asTextureRef(GrContext*, const GrTextureParams&) const = 0;
+ virtual GrTexture* asTextureRef(GrContext*, const GrTextureParams&,
+ bool gammaCorrect) const = 0;
virtual sk_sp<SkImage> onMakeSubset(const SkIRect&) const = 0;

Powered by Google App Engine
This is Rietveld 408576698