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

Side by Side Diff: Source/core/compositing/DisplayListCompositingBuilder.h

Issue 1287093004: Slimming Paint phase 2 compositing algorithm plumbing (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Address reviewer comments 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 unified diff | Download patch
OLDNEW
(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 "core/CoreExport.h"
9 #include "platform/graphics/paint/DisplayItemList.h"
10 #include "platform/graphics/paint/DisplayItemTransformTree.h"
11
12 namespace blink {
13
14 struct CompositedDisplayList {
15 // TODO(pdr): We still need to add more data here such as the simple layers
16 // and other property trees here.
17 OwnPtr<const DisplayItemTransformTree> transformTree;
18 };
19
20 class CORE_EXPORT DisplayListCompositingBuilder {
21 public:
22 DisplayListCompositingBuilder(const DisplayItemList& displayItemList, const DisplayListDiff& displayListDiff)
23 : m_displayItemList(displayItemList)
24 , m_displayListDiff(displayListDiff) { }
25
26 CompositedDisplayList build();
chrishtr 2015/08/14 00:17:19 void build(CompositedDisplayList&)
pdr. 2015/08/14 17:28:18 Done I also did some minor cleanup of this file:
27
28 private:
29 const DisplayItemList& m_displayItemList;
30 const DisplayListDiff& m_displayListDiff;
31 };
32
33 } // namespace blink
34
35 #endif // DisplayListCompositingBuilder_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/compositing/DisplayListCompositingBuilder.cpp » ('j') | Source/core/layout/LayoutView.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698