OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef DisplayListCompositingBuilder_h | |
6 #define DisplayListCompositingBuilder_h | |
7 | |
8 #include "platform/graphics/GraphicsLayer.h" | |
9 #include "platform/graphics/paint/DisplayItemList.h" | |
10 #include "platform/graphics/paint/DisplayItemTransformTree.h" | |
11 | |
12 namespace blink { | |
13 | |
14 class DisplayListCompositingBuilder { | |
15 public: | |
16 // TODO: SimpleLayers from the previous frame are needed as well. | |
17 DisplayListCompositingBuilder(const DisplayItemList& displayItemList, const DisplayListDiff& displayListDiff, GraphicsLayer& rootGraphicsLayer) | |
chrishtr
2015/08/13 17:28:31
GraphicsLayer is probably not going to be part of
pdr.
2015/08/13 20:54:59
Added CompositedDisplayList but, after implementin
| |
18 : m_displayItemList(displayItemList) | |
19 , m_displayListDiff(displayListDiff) | |
20 , m_rootGraphicsLayer(rootGraphicsLayer) {} | |
21 | |
22 void build(); | |
23 | |
24 private: | |
25 const DisplayItemList& m_displayItemList; | |
26 const DisplayListDiff& m_displayListDiff; | |
27 GraphicsLayer& m_rootGraphicsLayer; | |
28 }; | |
29 | |
30 } // namespace blink | |
31 | |
32 #endif // DisplayListCompositingBuilder_h | |
OLD | NEW |