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_H_ | 5 #ifndef CC_QUADS_RENDER_PASS_H_ |
6 #define CC_QUADS_RENDER_PASS_H_ | 6 #define CC_QUADS_RENDER_PASS_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include <unordered_map> | 10 #include <unordered_map> |
(...skipping 10 matching lines...) Expand all Loading... |
21 #include "cc/quads/render_pass_id.h" | 21 #include "cc/quads/render_pass_id.h" |
22 #include "cc/surfaces/surface_id.h" | 22 #include "cc/surfaces/surface_id.h" |
23 #include "ui/gfx/geometry/rect.h" | 23 #include "ui/gfx/geometry/rect.h" |
24 #include "ui/gfx/geometry/rect_f.h" | 24 #include "ui/gfx/geometry/rect_f.h" |
25 #include "ui/gfx/transform.h" | 25 #include "ui/gfx/transform.h" |
26 | 26 |
27 namespace base { | 27 namespace base { |
28 namespace trace_event { | 28 namespace trace_event { |
29 class TracedValue; | 29 class TracedValue; |
30 } | 30 } |
31 class Value; | |
32 } | 31 } |
33 | 32 |
34 namespace cc { | 33 namespace cc { |
35 | 34 |
36 class DrawQuad; | 35 class DrawQuad; |
37 class CopyOutputRequest; | 36 class CopyOutputRequest; |
38 class RenderPassDrawQuad; | 37 class RenderPassDrawQuad; |
39 class SharedQuadState; | 38 class SharedQuadState; |
40 | 39 |
41 // A list of DrawQuad objects, sorted internally in front-to-back order. | 40 // A list of DrawQuad objects, sorted internally in front-to-back order. |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 DISALLOW_COPY_AND_ASSIGN(RenderPass); | 138 DISALLOW_COPY_AND_ASSIGN(RenderPass); |
140 }; | 139 }; |
141 | 140 |
142 using RenderPassList = std::vector<std::unique_ptr<RenderPass>>; | 141 using RenderPassList = std::vector<std::unique_ptr<RenderPass>>; |
143 using RenderPassIdHashMap = | 142 using RenderPassIdHashMap = |
144 std::unordered_map<RenderPassId, RenderPass*, RenderPassIdHash>; | 143 std::unordered_map<RenderPassId, RenderPass*, RenderPassIdHash>; |
145 | 144 |
146 } // namespace cc | 145 } // namespace cc |
147 | 146 |
148 #endif // CC_QUADS_RENDER_PASS_H_ | 147 #endif // CC_QUADS_RENDER_PASS_H_ |
OLD | NEW |