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

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

Issue 1238123004: Slimming Paint phase 2 compositing algorithm plumbing & skeleton display list API. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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 9dec5f5369b27cac41d67028dcd54e97d5921d1a..47fb57d6749258871bea3aca86f75ef6cb848958 100644
--- a/Source/platform/graphics/GraphicsLayer.h
+++ b/Source/platform/graphics/GraphicsLayer.h
@@ -39,6 +39,8 @@
#include "platform/graphics/PaintInvalidationReason.h"
#include "platform/graphics/filters/FilterOperations.h"
#include "platform/graphics/paint/DisplayItemClient.h"
+#include "platform/graphics/paint/DisplayItemList.h"
+#include "platform/graphics/paint/DisplayItemTransformTree.h"
#include "platform/transforms/TransformationMatrix.h"
#include "public/platform/WebCompositorAnimationDelegate.h"
#include "public/platform/WebContentLayer.h"
@@ -148,6 +150,8 @@ public:
const FloatPoint3D& transformOrigin() const { return m_transformOrigin; }
void setTransformOrigin(const FloatPoint3D&);
+ void setTransformTree(PassOwnPtr<DisplayItemTransformTree> transformTree) { m_transformTree = transformTree; }
+
// The size of the layer.
const FloatSize& size() const { return m_size; }
void setSize(const FloatSize&);
@@ -250,6 +254,7 @@ public:
// GraphicsContextPainter implementation.
void paint(GraphicsContext&, const IntRect& clip) override;
+ void paint(GraphicsContext&);
// WebCompositorAnimationDelegate implementation.
void notifyAnimationStarted(double monotonicTime, int group) override;
@@ -370,6 +375,7 @@ private:
int m_3dRenderingContext;
OwnPtr<DisplayItemList> m_displayItemList;
+ OwnPtr<DisplayItemTransformTree> m_transformTree;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698