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

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: More tests 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/rendering/RenderLayer.h
diff --git a/Source/core/rendering/RenderLayer.h b/Source/core/rendering/RenderLayer.h
index d48d8448369f91a96d0105e4565930c5643759d3..916624356b80ed85d1abc70b15e403cc86ddd3bb 100644
--- a/Source/core/rendering/RenderLayer.h
+++ b/Source/core/rendering/RenderLayer.h
@@ -598,6 +598,9 @@ private:
bool hasNonCompositedChild() const { return m_compositingProperties.hasNonCompositedChild; }
void setHasNonCompositedChild(bool b) { m_compositingProperties.hasNonCompositedChild = b; }
+ bool shouldIsolateCompositedDescendants() const { return m_shouldIsolateCompositedDescendants; }
+ void setShouldIsolateCompositedDescendants(bool b) { m_shouldIsolateCompositedDescendants = b; }
+
void setCompositingReasons(CompositingReasons reasons) { m_compositingProperties.compositingReasons = reasons; }
CompositingReasons compositingReasons() const { return m_compositingProperties.compositingReasons; }
@@ -656,6 +659,8 @@ protected:
unsigned m_hasFilterInfo : 1;
+ unsigned m_shouldIsolateCompositedDescendants : 1;
shawnsingh 2013/11/23 00:38:13 I think this belongs in the m_compositingPropertie
rosca 2013/11/25 21:11:41 Done.
+
BlendMode m_blendMode;
RenderLayerModelObject* m_renderer;

Powered by Google App Engine
This is Rietveld 408576698