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

Unified Diff: Source/core/rendering/RenderLayer.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/rendering/RenderLayer.h
diff --git a/Source/core/rendering/RenderLayer.h b/Source/core/rendering/RenderLayer.h
index f2a3fcd4ef6643050b85058b082cb20fd3781145..a0f8cb89ac8b6e9d5c02d5dac4617853a670709c 100644
--- a/Source/core/rendering/RenderLayer.h
+++ b/Source/core/rendering/RenderLayer.h
@@ -619,6 +619,9 @@ private:
bool hasCompositingDescendant() const { return m_compositingProperties.hasCompositingDescendant; }
void setHasCompositingDescendant(bool b) { m_compositingProperties.hasCompositingDescendant = b; }
+ bool hasCompositedBlendingDescendants() const { return m_hasCompositedBlendingDescendants; }
+ void setHasCompositedBlendingDescendants(bool b) { m_hasCompositedBlendingDescendants = b; }
+
void setCompositingReasons(CompositingReasons reasons) { m_compositingProperties.compositingReasons = reasons; }
CompositingReasons compositingReasons() const { return m_compositingProperties.compositingReasons; }
@@ -680,6 +683,8 @@ protected:
unsigned m_hasFilterInfo : 1;
+ unsigned m_hasCompositedBlendingDescendants : 1;
+
BlendMode m_blendMode;
RenderLayerModelObject* m_renderer;

Powered by Google App Engine
This is Rietveld 408576698