| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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/layers/picture_layer.h" | 5 #include "cc/layers/picture_layer.h" |
| 6 | 6 |
| 7 #include "base/auto_reset.h" | 7 #include "base/auto_reset.h" |
| 8 #include "base/trace_event/trace_event.h" | 8 #include "base/trace_event/trace_event.h" |
| 9 #include "cc/blimp/client_picture_cache.h" |
| 10 #include "cc/blimp/engine_picture_cache.h" |
| 9 #include "cc/layers/content_layer_client.h" | 11 #include "cc/layers/content_layer_client.h" |
| 10 #include "cc/layers/picture_layer_impl.h" | 12 #include "cc/layers/picture_layer_impl.h" |
| 11 #include "cc/playback/recording_source.h" | 13 #include "cc/playback/recording_source.h" |
| 12 #include "cc/proto/cc_conversions.h" | 14 #include "cc/proto/cc_conversions.h" |
| 13 #include "cc/proto/gfx_conversions.h" | 15 #include "cc/proto/gfx_conversions.h" |
| 14 #include "cc/proto/layer.pb.h" | 16 #include "cc/proto/layer.pb.h" |
| 15 #include "cc/trees/layer_tree_host.h" | 17 #include "cc/trees/layer_tree_host.h" |
| 16 #include "cc/trees/layer_tree_impl.h" | 18 #include "cc/trees/layer_tree_impl.h" |
| 17 #include "third_party/skia/include/core/SkPictureRecorder.h" | 19 #include "third_party/skia/include/core/SkPictureRecorder.h" |
| 18 #include "ui/gfx/geometry/rect_conversions.h" | 20 #include "ui/gfx/geometry/rect_conversions.h" |
| (...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 310 picture_layer_inputs_.display_list = nullptr; | 312 picture_layer_inputs_.display_list = nullptr; |
| 311 picture_layer_inputs_.painter_reported_memory_usage = 0; | 313 picture_layer_inputs_.painter_reported_memory_usage = 0; |
| 312 } | 314 } |
| 313 } | 315 } |
| 314 | 316 |
| 315 const DisplayItemList* PictureLayer::GetDisplayItemList() { | 317 const DisplayItemList* PictureLayer::GetDisplayItemList() { |
| 316 return picture_layer_inputs_.display_list.get(); | 318 return picture_layer_inputs_.display_list.get(); |
| 317 } | 319 } |
| 318 | 320 |
| 319 } // namespace cc | 321 } // namespace cc |
| OLD | NEW |