OLD | NEW |
1 // Copyright 2010 The Chromium Authors. All rights reserved. | 1 // Copyright 2010 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_image_layer.h" | 5 #include "cc/layers/picture_image_layer.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include "cc/layers/picture_layer_impl.h" | 9 #include "cc/layers/picture_layer_impl.h" |
10 #include "cc/playback/display_item_list_settings.h" | 10 #include "cc/playback/display_item_list_settings.h" |
11 #include "cc/playback/drawing_display_item.h" | 11 #include "cc/playback/drawing_display_item.h" |
12 #include "cc/trees/layer_tree_host.h" | 12 #include "cc/trees/layer_tree_host.h" |
| 13 #include "cc/trees/layer_tree_settings.h" |
13 #include "third_party/skia/include/core/SkCanvas.h" | 14 #include "third_party/skia/include/core/SkCanvas.h" |
14 #include "third_party/skia/include/core/SkImage.h" | 15 #include "third_party/skia/include/core/SkImage.h" |
15 #include "third_party/skia/include/core/SkPictureRecorder.h" | 16 #include "third_party/skia/include/core/SkPictureRecorder.h" |
16 #include "ui/gfx/skia_util.h" | 17 #include "ui/gfx/skia_util.h" |
17 | 18 |
18 namespace cc { | 19 namespace cc { |
19 | 20 |
20 scoped_refptr<PictureImageLayer> PictureImageLayer::Create() { | 21 scoped_refptr<PictureImageLayer> PictureImageLayer::Create() { |
21 return make_scoped_refptr(new PictureImageLayer()); | 22 return make_scoped_refptr(new PictureImageLayer()); |
22 } | 23 } |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 | 93 |
93 bool PictureImageLayer::FillsBoundsCompletely() const { | 94 bool PictureImageLayer::FillsBoundsCompletely() const { |
94 return false; | 95 return false; |
95 } | 96 } |
96 | 97 |
97 size_t PictureImageLayer::GetApproximateUnsharedMemoryUsage() const { | 98 size_t PictureImageLayer::GetApproximateUnsharedMemoryUsage() const { |
98 return 0; | 99 return 0; |
99 } | 100 } |
100 | 101 |
101 } // namespace cc | 102 } // namespace cc |
OLD | NEW |