| 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 #include "cc/playback/largest_display_item.h" | 5 #include "cc/playback/largest_display_item.h" |
| 6 | 6 |
| 7 #include <stddef.h> |
| 8 |
| 7 #include <algorithm> | 9 #include <algorithm> |
| 8 | 10 |
| 9 #include "cc/playback/clip_display_item.h" | 11 #include "cc/playback/clip_display_item.h" |
| 10 #include "cc/playback/clip_path_display_item.h" | 12 #include "cc/playback/clip_path_display_item.h" |
| 11 #include "cc/playback/compositing_display_item.h" | 13 #include "cc/playback/compositing_display_item.h" |
| 12 #include "cc/playback/drawing_display_item.h" | 14 #include "cc/playback/drawing_display_item.h" |
| 13 #include "cc/playback/filter_display_item.h" | 15 #include "cc/playback/filter_display_item.h" |
| 14 #include "cc/playback/float_clip_display_item.h" | 16 #include "cc/playback/float_clip_display_item.h" |
| 15 #include "cc/playback/transform_display_item.h" | 17 #include "cc/playback/transform_display_item.h" |
| 16 | 18 |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 "Largest Draw Quad size needs update. TransformDisplayItem" | 64 "Largest Draw Quad size needs update. TransformDisplayItem" |
| 63 " is currently largest."); | 65 " is currently largest."); |
| 64 static_assert(sizeof(EndTransformDisplayItem) <= kLargestDisplayItemSize, | 66 static_assert(sizeof(EndTransformDisplayItem) <= kLargestDisplayItemSize, |
| 65 "Largest Draw Quad size needs update. EndTransformDisplayItem" | 67 "Largest Draw Quad size needs update. EndTransformDisplayItem" |
| 66 " is currently largest."); | 68 " is currently largest."); |
| 67 | 69 |
| 68 return kLargestDisplayItemSize; | 70 return kLargestDisplayItemSize; |
| 69 } | 71 } |
| 70 | 72 |
| 71 } // namespace cc | 73 } // namespace cc |
| OLD | NEW |