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

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: removed a failing reftest dependent on render-compositor bindings Created 7 years 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 | « Source/core/inspector/InspectorLayerTreeAgent.cpp ('k') | Source/core/platform/graphics/GraphicsLayer.cpp » ('j') | no next file with comments »
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 e10ff78d4abbff5bcc5d243101c6f3712c6016a9..65a542d4e625b20268025b9f7fb6a837e43e46ab 100644
--- a/Source/core/platform/graphics/GraphicsLayer.h
+++ b/Source/core/platform/graphics/GraphicsLayer.h
@@ -198,6 +198,12 @@ public:
float opacity() const { return m_opacity; }
void setOpacity(float);
+ blink::WebBlendMode blendMode() const { return m_blendMode; }
+ void setBlendMode(blink::WebBlendMode);
+
+ 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
@@ -351,6 +357,8 @@ private:
float m_opacity;
float m_zPosition;
+ blink::WebBlendMode m_blendMode;
+
FilterOperations m_filters;
bool m_contentsOpaque : 1;
@@ -359,6 +367,7 @@ private:
bool m_masksToBounds : 1;
bool m_drawsContent : 1;
bool m_contentsVisible : 1;
+ bool m_isRootForIsolatedGroup : 1;
bool m_hasScrollParent : 1;
bool m_hasClipParent : 1;
« no previous file with comments | « Source/core/inspector/InspectorLayerTreeAgent.cpp ('k') | Source/core/platform/graphics/GraphicsLayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698