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

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: 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') | include/core/SkPaint.h » ('J')
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..9727df54a8c5deaa4ca9efe17392bf82dc6d30ea 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 fontWeightFlags() const;
public:
SkPixmap fDst;
« no previous file with comments | « no previous file | include/core/SkPaint.h » ('j') | include/core/SkPaint.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698