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

Unified Diff: Source/core/compositing/DisplayListCompositingBuilder.cpp

Issue 1296963002: Put transform tree building in DisplayItemPropertyTreeBuilder. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove unused include. 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/core/compositing/DisplayListCompositingBuilder.cpp
diff --git a/Source/core/compositing/DisplayListCompositingBuilder.cpp b/Source/core/compositing/DisplayListCompositingBuilder.cpp
index 95a5baef84e315ddf1cd69c919089cd9df10f7f9..d8d3f45a77a456a0d08ba0f20621047579c06412 100644
--- a/Source/core/compositing/DisplayListCompositingBuilder.cpp
+++ b/Source/core/compositing/DisplayListCompositingBuilder.cpp
@@ -5,7 +5,7 @@
#include "config.h"
#include "core/compositing/DisplayListCompositingBuilder.h"
-#include "platform/graphics/paint/DisplayItemTransformTreeBuilder.h"
+#include "platform/graphics/paint/DisplayItemPropertyTreeBuilder.h"
namespace blink {
@@ -14,10 +14,12 @@ void DisplayListCompositingBuilder::build(CompositedDisplayList& compositedDispl
// TODO(pdr): Properly implement simple layer compositing here.
// See: https://docs.google.com/document/d/1qF7wpO_lhuxUO6YXKZ3CJuXi0grcb5gKZJBBgnoTd0k/view
- DisplayItemTransformTreeBuilder transformTreeBuilder;
+ DisplayItemPropertyTreeBuilder treeBuilder;
for (const auto& displayItem : m_displayItemList.displayItems())
- transformTreeBuilder.processDisplayItem(displayItem);
- compositedDisplayList.transformTree = transformTreeBuilder.releaseTransformTree();
+ treeBuilder.processDisplayItem(displayItem);
+ compositedDisplayList.transformTree = treeBuilder.releaseTransformTree();
+ // TODO(pdr, jbroman): Also release other trees, and use range records to
pdr. 2015/08/17 22:25:07 Nit: TODO(jbroman) We just use the person who add
jbroman 2015/08/17 23:57:19 That's not what the code style says, nor what I wa
pdr. 2015/08/18 04:31:41 I re-read the recent thread and you're correct. Di
+ // construct simple layers.
}
} // namespace blink
« no previous file with comments | « no previous file | Source/platform/blink_platform.gypi » ('j') | Source/platform/graphics/paint/DisplayItemClipTree.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698