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

Unified Diff: include/core/SkDraw.h

Issue 1866293003: Decouple contrast boost from fake gamma. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Improve ignorePreBlend API, add storage type to enum Created 4 years, 8 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 | « no previous file | include/core/SkPaint.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkDraw.h
diff --git a/include/core/SkDraw.h b/include/core/SkDraw.h
index ea8638a9105b505176559a8177e6780ed72e232d..e3cb1aca9ce3a407382e7d928267b12706232899 100644
--- a/include/core/SkDraw.h
+++ b/include/core/SkDraw.h
@@ -139,8 +139,8 @@ private:
bool SK_WARN_UNUSED_RESULT
computeConservativeLocalClipBounds(SkRect* bounds) const;
- /** Returns the current setting for using fake gamma. */
- SkPaint::FakeGamma SK_WARN_UNUSED_RESULT fakeGamma() const;
+ /** Returns the current setting for using fake gamma and contrast. */
+ uint32_t SK_WARN_UNUSED_RESULT scalerContextFlags() const;
public:
SkPixmap fDst;
« no previous file with comments | « no previous file | include/core/SkPaint.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698