| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 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 DisplayItemList_h | 5 #ifndef DisplayItemList_h |
| 6 #define DisplayItemList_h | 6 #define DisplayItemList_h |
| 7 | 7 |
| 8 #include "platform/graphics/ContiguousContainer.h" | 8 #include "platform/graphics/ContiguousContainer.h" |
| 9 #include "platform/graphics/paint/DisplayItem.h" | 9 #include "platform/graphics/paint/DisplayItem.h" |
| 10 #include "platform/graphics/paint/Transform3DDisplayItem.h" | 10 #include "platform/graphics/paint/Transform3DDisplayItem.h" |
| 11 #include "wtf/Alignment.h" | 11 #include "platform/wtf/Alignment.h" |
| 12 #include "wtf/Assertions.h" | 12 #include "platform/wtf/Assertions.h" |
| 13 | 13 |
| 14 namespace blink { | 14 namespace blink { |
| 15 | 15 |
| 16 class JSONArray; | 16 class JSONArray; |
| 17 struct PaintChunk; | 17 struct PaintChunk; |
| 18 | 18 |
| 19 // kDisplayItemAlignment must be a multiple of alignof(derived display item) for | 19 // kDisplayItemAlignment must be a multiple of alignof(derived display item) for |
| 20 // each derived display item; the ideal value is the least common multiple. | 20 // each derived display item; the ideal value is the least common multiple. |
| 21 // Currently the limiting factor is TransformationMatrix (in | 21 // Currently the limiting factor is TransformationMatrix (in |
| 22 // BeginTransform3DDisplayItem), which requests 16-byte alignment. | 22 // BeginTransform3DDisplayItem), which requests 16-byte alignment. |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 size_t endIndex, | 82 size_t endIndex, |
| 83 JsonFlags options) const; | 83 JsonFlags options) const; |
| 84 | 84 |
| 85 private: | 85 private: |
| 86 Vector<IntRect> m_visualRects; | 86 Vector<IntRect> m_visualRects; |
| 87 }; | 87 }; |
| 88 | 88 |
| 89 } // namespace blink | 89 } // namespace blink |
| 90 | 90 |
| 91 #endif // DisplayItemList_h | 91 #endif // DisplayItemList_h |
| OLD | NEW |