Chromium Code Reviews| Index: Source/core/compositing/DisplayListCompositingBuilder.h |
| diff --git a/Source/core/compositing/DisplayListCompositingBuilder.h b/Source/core/compositing/DisplayListCompositingBuilder.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..91b86fecb89e7e038f4b8ef1bfe8ac817d36f655 |
| --- /dev/null |
| +++ b/Source/core/compositing/DisplayListCompositingBuilder.h |
| @@ -0,0 +1,32 @@ |
| +// Copyright 2015 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef DisplayListCompositingBuilder_h |
| +#define DisplayListCompositingBuilder_h |
| + |
| +#include "platform/graphics/GraphicsLayer.h" |
| +#include "platform/graphics/paint/DisplayItemList.h" |
| +#include "platform/graphics/paint/DisplayItemTransformTree.h" |
| + |
| +namespace blink { |
| + |
| +class DisplayListCompositingBuilder { |
| +public: |
| + // TODO: SimpleLayers from the previous frame are needed as well. |
| + 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
|
| + : m_displayItemList(displayItemList) |
| + , m_displayListDiff(displayListDiff) |
| + , m_rootGraphicsLayer(rootGraphicsLayer) {} |
| + |
| + void build(); |
| + |
| +private: |
| + const DisplayItemList& m_displayItemList; |
| + const DisplayListDiff& m_displayListDiff; |
| + GraphicsLayer& m_rootGraphicsLayer; |
| +}; |
| + |
| +} // namespace blink |
| + |
| +#endif // DisplayListCompositingBuilder_h |