| 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 #ifndef CC_RESOURCES_PICTURE_PILE_IMPL_H_ | 5 #ifndef CC_PLAYBACK_PICTURE_PILE_IMPL_H_ |
| 6 #define CC_RESOURCES_PICTURE_PILE_IMPL_H_ | 6 #define CC_PLAYBACK_PICTURE_PILE_IMPL_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/time/time.h" | 12 #include "base/time/time.h" |
| 13 #include "cc/base/cc_export.h" | 13 #include "cc/base/cc_export.h" |
| 14 #include "cc/debug/rendering_stats_instrumentation.h" | 14 #include "cc/debug/rendering_stats_instrumentation.h" |
| 15 #include "cc/resources/picture_pile.h" | 15 #include "cc/playback/picture_pile.h" |
| 16 #include "cc/resources/pixel_ref_map.h" | 16 #include "cc/playback/pixel_ref_map.h" |
| 17 #include "cc/resources/raster_source.h" | 17 #include "cc/playback/raster_source.h" |
| 18 #include "skia/ext/analysis_canvas.h" | 18 #include "skia/ext/analysis_canvas.h" |
| 19 #include "skia/ext/refptr.h" | 19 #include "skia/ext/refptr.h" |
| 20 | 20 |
| 21 class SkCanvas; | 21 class SkCanvas; |
| 22 class SkPicture; | 22 class SkPicture; |
| 23 class SkPixelRef; | 23 class SkPixelRef; |
| 24 | 24 |
| 25 namespace gfx { | 25 namespace gfx { |
| 26 class Rect; | 26 class Rect; |
| 27 } | 27 } |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 // using the recorded_viewport hint. | 149 // using the recorded_viewport hint. |
| 150 bool CanRasterSlowTileCheck(const gfx::Rect& layer_rect) const; | 150 bool CanRasterSlowTileCheck(const gfx::Rect& layer_rect) const; |
| 151 | 151 |
| 152 gfx::Rect PaddedRect(const PictureMapKey& key) const; | 152 gfx::Rect PaddedRect(const PictureMapKey& key) const; |
| 153 | 153 |
| 154 DISALLOW_COPY_AND_ASSIGN(PicturePileImpl); | 154 DISALLOW_COPY_AND_ASSIGN(PicturePileImpl); |
| 155 }; | 155 }; |
| 156 | 156 |
| 157 } // namespace cc | 157 } // namespace cc |
| 158 | 158 |
| 159 #endif // CC_RESOURCES_PICTURE_PILE_IMPL_H_ | 159 #endif // CC_PLAYBACK_PICTURE_PILE_IMPL_H_ |
| OLD | NEW |