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

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

Issue 721773005: [Slimming Paint] Add *FilterDisplayItem type for slimming paint (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « Source/core/paint/FilterPainter.cpp ('k') | Source/core/paint/ViewDisplayList.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ViewDisplayList_h 5 #ifndef ViewDisplayList_h
6 #define ViewDisplayList_h 6 #define ViewDisplayList_h
7 7
8 #include "core/rendering/PaintPhase.h" 8 #include "core/rendering/PaintPhase.h"
9 #include "wtf/HashSet.h" 9 #include "wtf/HashSet.h"
10 #include "wtf/PassOwnPtr.h" 10 #include "wtf/PassOwnPtr.h"
(...skipping 29 matching lines...) Expand all
40 ClipLayerFragmentFloat = 18, 40 ClipLayerFragmentFloat = 18,
41 ClipLayerFragmentForeground = 19, 41 ClipLayerFragmentForeground = 19,
42 ClipLayerFragmentChildOutline = 20, 42 ClipLayerFragmentChildOutline = 20,
43 ClipLayerFragmentOutline = 21, 43 ClipLayerFragmentOutline = 21,
44 ClipLayerFragmentMask = 22, 44 ClipLayerFragmentMask = 22,
45 ClipLayerFragmentClippingMask = 23, 45 ClipLayerFragmentClippingMask = 23,
46 ClipLayerFragmentParent = 24, 46 ClipLayerFragmentParent = 24,
47 ClipLayerFragmentSelection = 25, 47 ClipLayerFragmentSelection = 25,
48 ClipLayerFragmentChildBlockBackgrounds = 26, 48 ClipLayerFragmentChildBlockBackgrounds = 26,
49 EndClip = 27, 49 EndClip = 27,
50 BeginFilter = 28,
51 EndFilter = 29
50 }; 52 };
51 53
52 virtual ~DisplayItem() { } 54 virtual ~DisplayItem() { }
53 55
54 virtual void replay(GraphicsContext*) = 0; 56 virtual void replay(GraphicsContext*) = 0;
55 57
56 const RenderObject* renderer() const { return m_id.renderer; } 58 const RenderObject* renderer() const { return m_id.renderer; }
57 Type type() const { return m_id.type; } 59 Type type() const { return m_id.type; }
58 bool idsEqual(const DisplayItem& other) const { return m_id.renderer == othe r.m_id.renderer && m_id.type == other.m_id.type; } 60 bool idsEqual(const DisplayItem& other) const { return m_id.renderer == othe r.m_id.renderer && m_id.type == other.m_id.type; }
59 61
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 103
102 PaintList m_paintList; 104 PaintList m_paintList;
103 HashSet<const RenderObject*> m_paintListRenderers; 105 HashSet<const RenderObject*> m_paintListRenderers;
104 HashSet<const RenderObject*> m_invalidated; 106 HashSet<const RenderObject*> m_invalidated;
105 PaintList m_newPaints; 107 PaintList m_newPaints;
106 }; 108 };
107 109
108 } // namespace blink 110 } // namespace blink
109 111
110 #endif // ViewDisplayList_h 112 #endif // ViewDisplayList_h
OLDNEW
« no previous file with comments | « Source/core/paint/FilterPainter.cpp ('k') | Source/core/paint/ViewDisplayList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698