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

Unified Diff: Source/platform/graphics/paint/DisplayItemTransformTreeBuilder.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/paint/DisplayItemTransformTreeBuilder.h
diff --git a/Source/platform/graphics/paint/DisplayItemTransformTreeBuilder.h b/Source/platform/graphics/paint/DisplayItemTransformTreeBuilder.h
index 70ca0bcbb9c37ee3279950c5030d711bdaa406df..be8489858dface46b573cf830b8b411f7feb04f2 100644
--- a/Source/platform/graphics/paint/DisplayItemTransformTreeBuilder.h
+++ b/Source/platform/graphics/paint/DisplayItemTransformTreeBuilder.h
@@ -7,6 +7,7 @@
#include "platform/PlatformExport.h"
#include "platform/geometry/FloatSize.h"
+#include "platform/graphics/paint/DisplayItemList.h"
#include "wtf/OwnPtr.h"
#include "wtf/PassOwnPtr.h"
#include "wtf/Vector.h"
@@ -14,7 +15,9 @@
namespace blink {
class DisplayItem;
+class DisplayItemList;
class DisplayItemTransformTree;
+class WebDisplayList;
class PLATFORM_EXPORT DisplayItemTransformTreeBuilder {
public:
@@ -25,6 +28,8 @@ public:
// This can be used to construct a WebDisplayItemTransformTree.
PassOwnPtr<DisplayItemTransformTree> releaseTransformTree();
+ void build(const DisplayItemList& displayList, const DisplayListDiff&);
weiliangc 2015/07/24 19:17:15 Would it make sense to make DisplayItemTransformTr
chrishtr 2015/07/24 19:27:22 Common patterns good yes. :)
+
// Process another display item from the list.
void processDisplayItem(const DisplayItem&);

Powered by Google App Engine
This is Rietveld 408576698