OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_QUADS_PICTURE_DRAW_QUAD_H_ | 5 #ifndef CC_QUADS_PICTURE_DRAW_QUAD_H_ |
6 #define CC_QUADS_PICTURE_DRAW_QUAD_H_ | 6 #define CC_QUADS_PICTURE_DRAW_QUAD_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
11 #include "cc/base/cc_export.h" | 11 #include "cc/cc_export.h" |
12 #include "cc/playback/raster_source.h" | |
13 #include "cc/quads/content_draw_quad_base.h" | 12 #include "cc/quads/content_draw_quad_base.h" |
| 13 #include "cc/raster/raster_source.h" |
14 #include "cc/resources/resource_provider.h" | 14 #include "cc/resources/resource_provider.h" |
15 #include "ui/gfx/geometry/rect.h" | 15 #include "ui/gfx/geometry/rect.h" |
16 #include "ui/gfx/geometry/rect_f.h" | 16 #include "ui/gfx/geometry/rect_f.h" |
17 #include "ui/gfx/geometry/size.h" | 17 #include "ui/gfx/geometry/size.h" |
18 | 18 |
19 namespace cc { | 19 namespace cc { |
20 | 20 |
21 // Used for on-demand tile rasterization. | 21 // Used for on-demand tile rasterization. |
22 class CC_EXPORT PictureDrawQuad : public ContentDrawQuadBase { | 22 class CC_EXPORT PictureDrawQuad : public ContentDrawQuadBase { |
23 public: | 23 public: |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 | 57 |
58 static const PictureDrawQuad* MaterialCast(const DrawQuad* quad); | 58 static const PictureDrawQuad* MaterialCast(const DrawQuad* quad); |
59 | 59 |
60 private: | 60 private: |
61 void ExtendValue(base::trace_event::TracedValue* value) const override; | 61 void ExtendValue(base::trace_event::TracedValue* value) const override; |
62 }; | 62 }; |
63 | 63 |
64 } // namespace cc | 64 } // namespace cc |
65 | 65 |
66 #endif // CC_QUADS_PICTURE_DRAW_QUAD_H_ | 66 #endif // CC_QUADS_PICTURE_DRAW_QUAD_H_ |
OLD | NEW |