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> |
11 #include <utility> | 11 #include <utility> |
12 #include <vector> | 12 #include <vector> |
13 | 13 |
14 #include "base/callback.h" | 14 #include "base/callback.h" |
15 #include "base/hash.h" | 15 #include "base/hash.h" |
16 #include "base/macros.h" | 16 #include "base/macros.h" |
17 #include "cc/base/cc_export.h" | 17 #include "cc/base/cc_export.h" |
18 #include "cc/base/list_container.h" | 18 #include "cc/base/list_container.h" |
19 #include "cc/quads/render_pass_id.h" | 19 #include "cc/quads/render_pass_id.h" |
20 #include "cc/surfaces/surface_id.h" | 20 #include "cc/surfaces/surface_id.h" |
21 #include "skia/ext/refptr.h" | |
22 #include "ui/gfx/geometry/rect.h" | 21 #include "ui/gfx/geometry/rect.h" |
23 #include "ui/gfx/geometry/rect_f.h" | 22 #include "ui/gfx/geometry/rect_f.h" |
24 #include "ui/gfx/transform.h" | 23 #include "ui/gfx/transform.h" |
25 | 24 |
26 namespace base { | 25 namespace base { |
27 namespace trace_event { | 26 namespace trace_event { |
28 class TracedValue; | 27 class TracedValue; |
29 } | 28 } |
30 class Value; | 29 class Value; |
31 } | 30 } |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 DISALLOW_COPY_AND_ASSIGN(RenderPass); | 133 DISALLOW_COPY_AND_ASSIGN(RenderPass); |
135 }; | 134 }; |
136 | 135 |
137 using RenderPassList = std::vector<std::unique_ptr<RenderPass>>; | 136 using RenderPassList = std::vector<std::unique_ptr<RenderPass>>; |
138 using RenderPassIdHashMap = | 137 using RenderPassIdHashMap = |
139 std::unordered_map<RenderPassId, RenderPass*, RenderPassIdHash>; | 138 std::unordered_map<RenderPassId, RenderPass*, RenderPassIdHash>; |
140 | 139 |
141 } // namespace cc | 140 } // namespace cc |
142 | 141 |
143 #endif // CC_QUADS_RENDER_PASS_H_ | 142 #endif // CC_QUADS_RENDER_PASS_H_ |
OLD | NEW |