| 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/quads/checkerboard_draw_quad.h" | 8 #include "cc/quads/checkerboard_draw_quad.h" |
| 9 #include "cc/test/geometry_test_utils.h" | 9 #include "cc/test/geometry_test_utils.h" |
| 10 #include "cc/test/render_pass_test_common.h" | 10 #include "cc/test/render_pass_test_common.h" |
| 11 #include "testing/gtest/include/gtest/gtest.h" | 11 #include "testing/gtest/include/gtest/gtest.h" |
| 12 #include "third_party/WebKit/Source/Platform/chromium/public/WebFilterOperations
.h" | 12 #include "third_party/WebKit/public/platform/WebFilterOperations.h" |
| 13 #include "third_party/skia/include/effects/SkBlurImageFilter.h" | 13 #include "third_party/skia/include/effects/SkBlurImageFilter.h" |
| 14 #include "ui/gfx/transform.h" | 14 #include "ui/gfx/transform.h" |
| 15 | 15 |
| 16 using cc::TestRenderPass; | 16 using cc::TestRenderPass; |
| 17 | 17 |
| 18 namespace cc { | 18 namespace cc { |
| 19 namespace { | 19 namespace { |
| 20 | 20 |
| 21 struct RenderPassSize { | 21 struct RenderPassSize { |
| 22 // If you add a new field to this class, make sure to add it to the | 22 // If you add a new field to this class, make sure to add it to the |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 EXPECT_EQ(0u, copy->quad_list.size()); | 75 EXPECT_EQ(0u, copy->quad_list.size()); |
| 76 | 76 |
| 77 // The copy callback should not be copied/duplicated. | 77 // The copy callback should not be copied/duplicated. |
| 78 EXPECT_EQ(0u, copy->copy_callbacks.size()); | 78 EXPECT_EQ(0u, copy->copy_callbacks.size()); |
| 79 | 79 |
| 80 EXPECT_EQ(sizeof(RenderPassSize), sizeof(RenderPass)); | 80 EXPECT_EQ(sizeof(RenderPassSize), sizeof(RenderPass)); |
| 81 } | 81 } |
| 82 | 82 |
| 83 } // namespace | 83 } // namespace |
| 84 } // namespace cc | 84 } // namespace cc |
| OLD | NEW |