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 #ifndef CC_RESOURCES_DISPLAY_LIST_RASTER_SOURCE_H_ | 5 #ifndef CC_PLAYBACK_DISPLAY_LIST_RASTER_SOURCE_H_ |
6 #define CC_RESOURCES_DISPLAY_LIST_RASTER_SOURCE_H_ | 6 #define CC_PLAYBACK_DISPLAY_LIST_RASTER_SOURCE_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "cc/base/cc_export.h" | 11 #include "cc/base/cc_export.h" |
12 #include "cc/debug/rendering_stats_instrumentation.h" | 12 #include "cc/debug/rendering_stats_instrumentation.h" |
13 #include "cc/resources/display_list_recording_source.h" | 13 #include "cc/playback/display_list_recording_source.h" |
14 #include "cc/resources/raster_source.h" | 14 #include "cc/playback/raster_source.h" |
15 #include "skia/ext/analysis_canvas.h" | 15 #include "skia/ext/analysis_canvas.h" |
16 #include "skia/ext/refptr.h" | 16 #include "skia/ext/refptr.h" |
17 #include "third_party/skia/include/core/SkPicture.h" | 17 #include "third_party/skia/include/core/SkPicture.h" |
18 | 18 |
19 namespace cc { | 19 namespace cc { |
20 class DisplayItemList; | 20 class DisplayItemList; |
21 | 21 |
22 class CC_EXPORT DisplayListRasterSource : public RasterSource { | 22 class CC_EXPORT DisplayListRasterSource : public RasterSource { |
23 public: | 23 public: |
24 static scoped_refptr<DisplayListRasterSource> | 24 static scoped_refptr<DisplayListRasterSource> |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 void RasterCommon(SkCanvas* canvas, | 88 void RasterCommon(SkCanvas* canvas, |
89 SkDrawPictureCallback* callback, | 89 SkDrawPictureCallback* callback, |
90 const gfx::Rect& canvas_rect, | 90 const gfx::Rect& canvas_rect, |
91 float contents_scale) const; | 91 float contents_scale) const; |
92 | 92 |
93 DISALLOW_COPY_AND_ASSIGN(DisplayListRasterSource); | 93 DISALLOW_COPY_AND_ASSIGN(DisplayListRasterSource); |
94 }; | 94 }; |
95 | 95 |
96 } // namespace cc | 96 } // namespace cc |
97 | 97 |
98 #endif // CC_RESOURCES_DISPLAY_LIST_RASTER_SOURCE_H_ | 98 #endif // CC_PLAYBACK_DISPLAY_LIST_RASTER_SOURCE_H_ |
OLD | NEW |