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

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: Renamed a variable Created 7 years, 1 month 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 3f3d29f52b87b78cb422c1e6a7bb6206d6258f48..22de70d5404d63318a79697d0c8a1b239825a3ca 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
@@ -365,6 +371,8 @@ private:
float m_opacity;
float m_zPosition;
+ BlendMode m_blendMode;
+
FilterOperations m_filters;
bool m_contentsOpaque : 1;
@@ -373,6 +381,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