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 "config.h" | |
6 | |
7 #include "cc/render_pass.h" | 5 #include "cc/render_pass.h" |
8 | 6 |
9 #include "cc/checkerboard_draw_quad.h" | 7 #include "cc/checkerboard_draw_quad.h" |
10 #include "cc/test/geometry_test_utils.h" | 8 #include "cc/test/geometry_test_utils.h" |
11 #include "cc/test/render_pass_test_common.h" | 9 #include "cc/test/render_pass_test_common.h" |
12 #include "testing/gtest/include/gtest/gtest.h" | 10 #include "testing/gtest/include/gtest/gtest.h" |
13 #include "third_party/skia/include/effects/SkBlurImageFilter.h" | 11 #include "third_party/skia/include/effects/SkBlurImageFilter.h" |
14 #include <public/WebFilterOperations.h> | 12 #include <public/WebFilterOperations.h> |
15 #include <public/WebTransformationMatrix.h> | 13 #include <public/WebTransformationMatrix.h> |
16 | 14 |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 EXPECT_EQ(pass->hasOcclusionFromOutsideTargetSurface(), copy->hasOcclusionFr
omOutsideTargetSurface()); | 76 EXPECT_EQ(pass->hasOcclusionFromOutsideTargetSurface(), copy->hasOcclusionFr
omOutsideTargetSurface()); |
79 EXPECT_EQ(pass->filters(), copy->filters()); | 77 EXPECT_EQ(pass->filters(), copy->filters()); |
80 EXPECT_EQ(pass->backgroundFilters(), copy->backgroundFilters()); | 78 EXPECT_EQ(pass->backgroundFilters(), copy->backgroundFilters()); |
81 EXPECT_EQ(pass->filter(), copy->filter()); | 79 EXPECT_EQ(pass->filter(), copy->filter()); |
82 EXPECT_EQ(0u, copy->quadList().size()); | 80 EXPECT_EQ(0u, copy->quadList().size()); |
83 | 81 |
84 EXPECT_EQ(sizeof(RenderPassSize), sizeof(RenderPass)); | 82 EXPECT_EQ(sizeof(RenderPassSize), sizeof(RenderPass)); |
85 } | 83 } |
86 | 84 |
87 } // anonymous namespace | 85 } // anonymous namespace |
OLD | NEW |