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 <utility> | 8 #include <utility> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/callback.h" | 11 #include "base/callback.h" |
12 #include "base/containers/hash_tables.h" | 12 #include "base/containers/hash_tables.h" |
13 #include "cc/base/cc_export.h" | 13 #include "cc/base/cc_export.h" |
14 #include "cc/base/scoped_ptr_hash_map.h" | |
15 #include "cc/base/scoped_ptr_vector.h" | 14 #include "cc/base/scoped_ptr_vector.h" |
16 #include "skia/ext/refptr.h" | 15 #include "skia/ext/refptr.h" |
17 #include "third_party/skia/include/core/SkColor.h" | 16 #include "third_party/skia/include/core/SkColor.h" |
18 #include "third_party/skia/include/core/SkImageFilter.h" | 17 #include "third_party/skia/include/core/SkImageFilter.h" |
19 #include "ui/gfx/rect.h" | 18 #include "ui/gfx/rect.h" |
20 #include "ui/gfx/rect_f.h" | 19 #include "ui/gfx/rect_f.h" |
21 #include "ui/gfx/transform.h" | 20 #include "ui/gfx/transform.h" |
22 | 21 |
23 namespace base { | 22 namespace base { |
24 class Value; | 23 class Value; |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 #error define a hash function for your compiler | 137 #error define a hash function for your compiler |
139 #endif // COMPILER | 138 #endif // COMPILER |
140 } // namespace BASE_HASH_NAMESPACE | 139 } // namespace BASE_HASH_NAMESPACE |
141 | 140 |
142 namespace cc { | 141 namespace cc { |
143 typedef ScopedPtrVector<RenderPass> RenderPassList; | 142 typedef ScopedPtrVector<RenderPass> RenderPassList; |
144 typedef base::hash_map<RenderPass::Id, RenderPass*> RenderPassIdHashMap; | 143 typedef base::hash_map<RenderPass::Id, RenderPass*> RenderPassIdHashMap; |
145 } // namespace cc | 144 } // namespace cc |
146 | 145 |
147 #endif // CC_QUADS_RENDER_PASS_H_ | 146 #endif // CC_QUADS_RENDER_PASS_H_ |
OLD | NEW |