| 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 <public/WebFilterOperations.h> | |
| 9 #include <vector> | 8 #include <vector> |
| 10 | 9 |
| 11 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 12 #include "cc/cc_export.h" | 11 #include "cc/cc_export.h" |
| 13 #include "cc/draw_quad.h" | 12 #include "cc/draw_quad.h" |
| 14 #include "cc/hash_pair.h" | 13 #include "cc/hash_pair.h" |
| 15 #include "cc/scoped_ptr_hash_map.h" | 14 #include "cc/scoped_ptr_hash_map.h" |
| 16 #include "cc/scoped_ptr_vector.h" | 15 #include "cc/scoped_ptr_vector.h" |
| 17 #include "cc/shared_quad_state.h" | 16 #include "cc/shared_quad_state.h" |
| 18 #include "skia/ext/refptr.h" | 17 #include "skia/ext/refptr.h" |
| 18 #include "third_party/WebKit/Source/Platform/chromium/public/WebFilterOperations
.h" |
| 19 #include "third_party/skia/include/core/SkColor.h" | 19 #include "third_party/skia/include/core/SkColor.h" |
| 20 #include "third_party/skia/include/core/SkImageFilter.h" | 20 #include "third_party/skia/include/core/SkImageFilter.h" |
| 21 #include "ui/gfx/rect_f.h" | 21 #include "ui/gfx/rect_f.h" |
| 22 #include "ui/gfx/transform.h" | 22 #include "ui/gfx/transform.h" |
| 23 | 23 |
| 24 namespace cc { | 24 namespace cc { |
| 25 | 25 |
| 26 // A list of DrawQuad objects, sorted internally in front-to-back order. | 26 // A list of DrawQuad objects, sorted internally in front-to-back order. |
| 27 class QuadList : public ScopedPtrVector<DrawQuad> { | 27 class QuadList : public ScopedPtrVector<DrawQuad> { |
| 28 public: | 28 public: |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 #error define a hash function for your compiler | 137 #error define a hash function for your compiler |
| 138 #endif // COMPILER | 138 #endif // COMPILER |
| 139 } | 139 } |
| 140 | 140 |
| 141 namespace cc { | 141 namespace cc { |
| 142 typedef std::vector<RenderPass*> RenderPassList; | 142 typedef std::vector<RenderPass*> RenderPassList; |
| 143 typedef ScopedPtrHashMap<RenderPass::Id, RenderPass> RenderPassIdHashMap; | 143 typedef ScopedPtrHashMap<RenderPass::Id, RenderPass> RenderPassIdHashMap; |
| 144 } // namespace cc | 144 } // namespace cc |
| 145 | 145 |
| 146 #endif // CC_RENDER_PASS_H_ | 146 #endif // CC_RENDER_PASS_H_ |
| OLD | NEW |