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

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: adding the rendering part 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
« no previous file with comments | « no previous file | Source/core/platform/graphics/GraphicsLayer.cpp » ('j') | public/platform/WebBlendMode.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..b7cb4c298a251b5d4c20bb8e93586be8758ce53d 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 isIsolatedGroupRoot() const { return m_isIsolatedGroupRoot; }
+ void setIsIsolatedGroupRoot(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_isIsolatedGroupRoot;
+
FilterOperations m_filters;
bool m_contentsOpaque : 1;
« no previous file with comments | « no previous file | Source/core/platform/graphics/GraphicsLayer.cpp » ('j') | public/platform/WebBlendMode.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698