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

Unified Diff: Source/core/platform/graphics/GraphicsContextState.h

Issue 23947005: Implement CSS luminance masking using skia SkLumaMaskXfermode class. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 3 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: Source/core/platform/graphics/GraphicsContextState.h
diff --git a/Source/core/platform/graphics/GraphicsContextState.h b/Source/core/platform/graphics/GraphicsContextState.h
index eed9fd502f3f4f55fb75c162e82d5cec5a377ccc..ea27cb770f6ec1929436a3c8f62754e126f68efc 100644
--- a/Source/core/platform/graphics/GraphicsContextState.h
+++ b/Source/core/platform/graphics/GraphicsContextState.h
@@ -65,6 +65,7 @@ private:
, m_shouldAntialias(true)
, m_shouldSmoothFonts(true)
, m_shouldClampToSourceRect(true)
+ , m_drawLuminanceMask(false)
{
}
@@ -85,6 +86,7 @@ private:
, m_shouldAntialias(other.m_shouldAntialias)
, m_shouldSmoothFonts(other.m_shouldSmoothFonts)
, m_shouldClampToSourceRect(other.m_shouldClampToSourceRect)
+ , m_drawLuminanceMask(other.m_drawLuminanceMask)
{
}
@@ -138,6 +140,7 @@ private:
bool m_shouldAntialias : 1;
bool m_shouldSmoothFonts : 1;
bool m_shouldClampToSourceRect : 1;
+ bool m_drawLuminanceMask : 1;
};
} // namespace WebCore
« no previous file with comments | « Source/core/platform/graphics/GraphicsContext.cpp ('k') | Source/core/platform/graphics/skia/NativeImageSkia.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698