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

Unified Diff: Source/platform/graphics/GraphicsLayer.h

Issue 1287093004: Slimming Paint phase 2 compositing algorithm plumbing (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Address reviewer comments Created 5 years, 4 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/platform/graphics/GraphicsLayer.h
diff --git a/Source/platform/graphics/GraphicsLayer.h b/Source/platform/graphics/GraphicsLayer.h
index 5ad5db9706a847601c25880ddd83522a626ea1a0..10b2c83ab0b8bcededd5cf14eed88e373e972a08 100644
--- a/Source/platform/graphics/GraphicsLayer.h
+++ b/Source/platform/graphics/GraphicsLayer.h
@@ -39,6 +39,7 @@
#include "platform/graphics/PaintInvalidationReason.h"
#include "platform/graphics/filters/FilterOperations.h"
#include "platform/graphics/paint/DisplayItemClient.h"
+#include "platform/graphics/paint/DisplayItemTransformTree.h"
#include "platform/transforms/TransformationMatrix.h"
#include "public/platform/WebCompositorAnimationDelegate.h"
#include "public/platform/WebContentLayer.h"
@@ -248,6 +249,9 @@ public:
DisplayItemList* displayItemList() override;
+ void setTransformTree(PassOwnPtr<const DisplayItemTransformTree> transformTree) { m_transformTree = transformTree; }
chrishtr 2015/08/13 21:33:16 Revert this file.
pdr. 2015/08/14 00:10:29 Done
+ const DisplayItemTransformTree* transformTree() const { return m_transformTree.get(); }
+
// Exposed for tests.
virtual WebLayer* contentsLayer() const { return m_contentsLayer; }
@@ -357,6 +361,10 @@ private:
int m_3dRenderingContext;
OwnPtr<DisplayItemList> m_displayItemList;
+
+ // TODO(pdr): This is only temporarily on GraphicsLayer and will be moving
+ // to RenderSurfaceLayerList in a followup patch.
+ OwnPtr<const DisplayItemTransformTree> m_transformTree;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698