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 #include "cc/quads/render_pass.h" | 5 #include "cc/quads/render_pass.h" |
6 | 6 |
7 #include "cc/base/math_util.h" | 7 #include "cc/base/math_util.h" |
8 #include "cc/base/scoped_ptr_vector.h" | 8 #include "cc/base/scoped_ptr_vector.h" |
9 #include "cc/output/copy_output_request.h" | 9 #include "cc/output/copy_output_request.h" |
10 #include "cc/quads/checkerboard_draw_quad.h" | 10 #include "cc/quads/checkerboard_draw_quad.h" |
11 #include "cc/test/geometry_test_utils.h" | 11 #include "cc/test/geometry_test_utils.h" |
12 #include "cc/test/render_pass_test_common.h" | 12 #include "cc/test/render_pass_test_common.h" |
13 #include "testing/gtest/include/gtest/gtest.h" | 13 #include "testing/gtest/include/gtest/gtest.h" |
14 #include "third_party/WebKit/Source/Platform/chromium/public/WebFilterOperations
.h" | 14 #include "third_party/WebKit/public/platform/WebFilterOperations.h" |
15 #include "third_party/skia/include/effects/SkBlurImageFilter.h" | 15 #include "third_party/skia/include/effects/SkBlurImageFilter.h" |
16 #include "ui/gfx/transform.h" | 16 #include "ui/gfx/transform.h" |
17 | 17 |
18 using cc::TestRenderPass; | 18 using cc::TestRenderPass; |
19 | 19 |
20 namespace cc { | 20 namespace cc { |
21 namespace { | 21 namespace { |
22 | 22 |
23 struct RenderPassSize { | 23 struct RenderPassSize { |
24 // If you add a new field to this class, make sure to add it to the | 24 // If you add a new field to this class, make sure to add it to the |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 | 79 |
80 // The copy request should not be copied/duplicated. | 80 // The copy request should not be copied/duplicated. |
81 EXPECT_EQ(1u, pass->copy_requests.size()); | 81 EXPECT_EQ(1u, pass->copy_requests.size()); |
82 EXPECT_EQ(0u, copy->copy_requests.size()); | 82 EXPECT_EQ(0u, copy->copy_requests.size()); |
83 | 83 |
84 EXPECT_EQ(sizeof(RenderPassSize), sizeof(RenderPass)); | 84 EXPECT_EQ(sizeof(RenderPassSize), sizeof(RenderPass)); |
85 } | 85 } |
86 | 86 |
87 } // namespace | 87 } // namespace |
88 } // namespace cc | 88 } // namespace cc |
OLD | NEW |