OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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_TEST_RENDER_PASS_TEST_UTILS_H_ | 5 #ifndef CC_TEST_RENDER_PASS_TEST_UTILS_H_ |
6 #define CC_TEST_RENDER_PASS_TEST_UTILS_H_ | 6 #define CC_TEST_RENDER_PASS_TEST_UTILS_H_ |
7 | 7 |
| 8 #include "cc/base/scoped_ptr_vector.h" |
8 #include "cc/render_pass.h" | 9 #include "cc/render_pass.h" |
9 #include "cc/scoped_ptr_vector.h" | |
10 #include "third_party/skia/include/core/SkColor.h" | 10 #include "third_party/skia/include/core/SkColor.h" |
11 | 11 |
12 namespace gfx { | 12 namespace gfx { |
13 class Rect; | 13 class Rect; |
14 class Transform; | 14 class Transform; |
15 } | 15 } |
16 | 16 |
17 namespace cc { | 17 namespace cc { |
18 | 18 |
19 class SolidColorDrawQuad; | 19 class SolidColorDrawQuad; |
(...skipping 17 matching lines...) Expand all Loading... |
37 const gfx::Rect& rect, | 37 const gfx::Rect& rect, |
38 SkColor color); | 38 SkColor color); |
39 | 39 |
40 // Adds a render pass quad to an existing render pass. | 40 // Adds a render pass quad to an existing render pass. |
41 void addRenderPassQuad(TestRenderPass* toPass, | 41 void addRenderPassQuad(TestRenderPass* toPass, |
42 TestRenderPass* contributingPass); | 42 TestRenderPass* contributingPass); |
43 | 43 |
44 } // namespace cc | 44 } // namespace cc |
45 | 45 |
46 #endif // CC_TEST_RENDER_PASS_TEST_UTILS_H_ | 46 #endif // CC_TEST_RENDER_PASS_TEST_UTILS_H_ |
OLD | NEW |