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

Side by Side Diff: Source/core/paint/SubtreeInfoRecorder.h

Issue 847783003: New display item caching (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: New method, supporting partial paint Created 5 years, 11 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 | Annotate | Revision Log
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 SubtreeInfoRecorder_h
6 #define SubtreeInfoRecorder_h
7
8 #include "core/rendering/PaintPhase.h"
9 #include "platform/graphics/paint/DisplayItem.h"
10
11 namespace blink {
12
13 class DisplayItemList;
14 class GraphicsContext;
15 class RenderObject;
16
17 class SubtreeInfoRecorder {
18 public:
19 SubtreeInfoRecorder(GraphicsContext*, const RenderObject&, PaintPhase);
20
21 ~SubtreeInfoRecorder();
22
23 void begin();
24
25 private:
26 void addDisplayItem(PassOwnPtr<DisplayItem>);
27
28 DisplayItemList* m_displayItemList;
29 const RenderObject& m_renderer;
30 const DisplayItem::Type m_displayItemType;
31 bool m_begun;
32 };
33
34 } // namespace blink
35
36 #endif // SubtreeInfoRecorder_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698