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_RENDER_PASS_H_ | 5 #ifndef CC_RENDER_PASS_H_ |
6 #define CC_RENDER_PASS_H_ | 6 #define CC_RENDER_PASS_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "cc/cc_export.h" | 11 #include "cc/cc_export.h" |
12 #include "cc/hash_pair.h" | 12 #include "cc/hash_pair.h" |
13 #include "cc/scoped_ptr_hash_map.h" | 13 #include "cc/scoped_ptr_hash_map.h" |
14 #include "cc/scoped_ptr_vector.h" | 14 #include "cc/scoped_ptr_vector.h" |
15 #include "skia/ext/refptr.h" | 15 #include "skia/ext/refptr.h" |
16 #include "third_party/WebKit/Source/Platform/chromium/public/WebFilterOperations
.h" | 16 #include "third_party/WebKit/Source/Platform/chromium/public/WebFilterOperations
.h" |
17 #include "third_party/skia/include/core/SkColor.h" | 17 #include "third_party/skia/include/core/SkColor.h" |
18 #include "third_party/skia/include/core/SkImageFilter.h" | 18 #include "third_party/skia/include/core/SkImageFilter.h" |
| 19 #include "ui/gfx/rect.h" |
19 #include "ui/gfx/rect_f.h" | 20 #include "ui/gfx/rect_f.h" |
20 #include "ui/gfx/transform.h" | 21 #include "ui/gfx/transform.h" |
21 | 22 |
22 namespace cc { | 23 namespace cc { |
23 | 24 |
24 class DrawQuad; | 25 class DrawQuad; |
25 class SharedQuadState; | 26 class SharedQuadState; |
26 | 27 |
27 // A list of DrawQuad objects, sorted internally in front-to-back order. | 28 // A list of DrawQuad objects, sorted internally in front-to-back order. |
28 class QuadList : public ScopedPtrVector<DrawQuad> { | 29 class QuadList : public ScopedPtrVector<DrawQuad> { |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 #error define a hash function for your compiler | 126 #error define a hash function for your compiler |
126 #endif // COMPILER | 127 #endif // COMPILER |
127 } | 128 } |
128 | 129 |
129 namespace cc { | 130 namespace cc { |
130 typedef ScopedPtrVector<RenderPass> RenderPassList; | 131 typedef ScopedPtrVector<RenderPass> RenderPassList; |
131 typedef base::hash_map<RenderPass::Id, RenderPass*> RenderPassIdHashMap; | 132 typedef base::hash_map<RenderPass::Id, RenderPass*> RenderPassIdHashMap; |
132 } // namespace cc | 133 } // namespace cc |
133 | 134 |
134 #endif // CC_RENDER_PASS_H_ | 135 #endif // CC_RENDER_PASS_H_ |
OLD | NEW |