OLD | NEW |
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 #include "cc/playback/display_item_list.h" | 5 #include "cc/playback/display_item_list.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include <string> | 9 #include <string> |
8 | 10 |
9 #include "base/numerics/safe_conversions.h" | 11 #include "base/numerics/safe_conversions.h" |
10 #include "base/strings/stringprintf.h" | 12 #include "base/strings/stringprintf.h" |
11 #include "base/trace_event/trace_event.h" | 13 #include "base/trace_event/trace_event.h" |
12 #include "base/trace_event/trace_event_argument.h" | 14 #include "base/trace_event/trace_event_argument.h" |
13 #include "cc/base/math_util.h" | 15 #include "cc/base/math_util.h" |
14 #include "cc/debug/picture_debug_util.h" | 16 #include "cc/debug/picture_debug_util.h" |
15 #include "cc/debug/traced_display_item_list.h" | 17 #include "cc/debug/traced_display_item_list.h" |
16 #include "cc/debug/traced_value.h" | 18 #include "cc/debug/traced_value.h" |
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
296 } | 298 } |
297 | 299 |
298 void DisplayItemList::GetDiscardableImagesInRect( | 300 void DisplayItemList::GetDiscardableImagesInRect( |
299 const gfx::Rect& rect, | 301 const gfx::Rect& rect, |
300 float raster_scale, | 302 float raster_scale, |
301 std::vector<DrawImage>* images) { | 303 std::vector<DrawImage>* images) { |
302 image_map_.GetDiscardableImagesInRect(rect, raster_scale, images); | 304 image_map_.GetDiscardableImagesInRect(rect, raster_scale, images); |
303 } | 305 } |
304 | 306 |
305 } // namespace cc | 307 } // namespace cc |
OLD | NEW |