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

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

Issue 23511004: mix-blend-mode implementation for accelerated layers - blink part (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added layout test & addressed review comments Created 7 years, 4 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/GraphicsLayer.h
diff --git a/Source/core/platform/graphics/GraphicsLayer.h b/Source/core/platform/graphics/GraphicsLayer.h
index ae7a045774ea5a366ad41b24baa51a5e57a9540e..0912205a77fa386eb957213884861d770b3cb8ac 100644
--- a/Source/core/platform/graphics/GraphicsLayer.h
+++ b/Source/core/platform/graphics/GraphicsLayer.h
@@ -318,6 +318,12 @@ public:
float opacity() const { return m_opacity; }
void setOpacity(float);
+ BlendMode blendMode() const { return m_blendMode; }
+ void setBlendMode(BlendMode);
+
+ bool isRootForIsolatedGroup() const { return m_isRootForIsolatedGroup; }
+ void setIsRootForIsolatedGroup(bool);
+
const FilterOperations& filters() const { return m_filters; }
// Returns true if filter can be rendered by the compositor
@@ -494,6 +500,9 @@ protected:
float m_opacity;
float m_zPosition;
+ BlendMode m_blendMode;
+ bool m_isRootForIsolatedGroup : 1;
shawnsingh 2013/09/13 10:22:59 As far as I know, declaring a bitfield here, in-be
rosca 2013/09/19 14:26:54 Done.
+
FilterOperations m_filters;
bool m_contentsOpaque : 1;

Powered by Google App Engine
This is Rietveld 408576698