OLD | NEW |
1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2011 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_RENDER_PASS_DRAW_QUAD_H_ | 5 #ifndef CC_QUADS_RENDER_PASS_DRAW_QUAD_H_ |
6 #define CC_QUADS_RENDER_PASS_DRAW_QUAD_H_ | 6 #define CC_QUADS_RENDER_PASS_DRAW_QUAD_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 | 11 |
12 #include "cc/base/cc_export.h" | 12 #include "cc/base/filter_operations.h" |
13 #include "cc/output/filter_operations.h" | 13 #include "cc/cc_export.h" |
14 #include "cc/quads/draw_quad.h" | 14 #include "cc/quads/draw_quad.h" |
15 | 15 |
16 #include "ui/gfx/geometry/point_f.h" | 16 #include "ui/gfx/geometry/point_f.h" |
17 #include "ui/gfx/geometry/rect_f.h" | 17 #include "ui/gfx/geometry/rect_f.h" |
18 | 18 |
19 namespace cc { | 19 namespace cc { |
20 | 20 |
21 class CC_EXPORT RenderPassDrawQuad : public DrawQuad { | 21 class CC_EXPORT RenderPassDrawQuad : public DrawQuad { |
22 public: | 22 public: |
23 static const size_t kMaskResourceIdIndex = 0; | 23 static const size_t kMaskResourceIdIndex = 0; |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 | 72 |
73 static const RenderPassDrawQuad* MaterialCast(const DrawQuad*); | 73 static const RenderPassDrawQuad* MaterialCast(const DrawQuad*); |
74 | 74 |
75 private: | 75 private: |
76 void ExtendValue(base::trace_event::TracedValue* value) const override; | 76 void ExtendValue(base::trace_event::TracedValue* value) const override; |
77 }; | 77 }; |
78 | 78 |
79 } // namespace cc | 79 } // namespace cc |
80 | 80 |
81 #endif // CC_QUADS_RENDER_PASS_DRAW_QUAD_H_ | 81 #endif // CC_QUADS_RENDER_PASS_DRAW_QUAD_H_ |
OLD | NEW |