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

Unified Diff: src/gpu/GrClipMaskManager.cpp

Issue 1845283003: Gamma-correctness pushed into Skia, top-down. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Remove helper function for old pixel-config method of enabling decode 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
Index: src/gpu/GrClipMaskManager.cpp
diff --git a/src/gpu/GrClipMaskManager.cpp b/src/gpu/GrClipMaskManager.cpp
index 2700f56986baa50136b37c193713a1c64d0d7615..08db36b0a532bee8789a34a635ed66a9a1fe25c5 100644
--- a/src/gpu/GrClipMaskManager.cpp
+++ b/src/gpu/GrClipMaskManager.cpp
@@ -706,6 +706,7 @@ GrTexture* GrClipMaskManager::CreateAlphaClipMask(GrContext* context,
} else {
// all the remaining ops can just be directly draw into the accumulation buffer
GrPaint paint;
+ // SRGBTODO: AllowSRGBInputs?
bsalomon 2016/04/05 13:24:01 This is drawing clips as coverage masks, no need f
Brian Osman 2016/04/05 15:36:41 Acknowledged.
paint.setAntiAlias(element->isAA());
paint.setCoverageSetOpXPFactory(op, false);

Powered by Google App Engine
This is Rietveld 408576698