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

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: rebased Created 7 years, 2 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 1870c88ace69138548134a84a30c651b18382377..54e9ac25031661cef32057655779e6a4dd73bbb7 100644
--- a/Source/core/platform/graphics/GraphicsLayer.h
+++ b/Source/core/platform/graphics/GraphicsLayer.h
@@ -202,6 +202,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
@@ -367,6 +373,8 @@ private:
float m_opacity;
float m_zPosition;
+ BlendMode m_blendMode;
+
FilterOperations m_filters;
bool m_contentsOpaque : 1;
@@ -375,6 +383,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;

Powered by Google App Engine
This is Rietveld 408576698