| 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" | 5 #include "config.h" |
| 6 | 6 |
| 7 #include "CCRenderPass.h" | 7 #include "CCRenderPass.h" |
| 8 | 8 |
| 9 #include "CCCheckerboardDrawQuad.h" | 9 #include "CCCheckerboardDrawQuad.h" |
| 10 #include "CCGeometryTestUtils.h" | 10 #include "CCGeometryTestUtils.h" |
| 11 #include <gtest/gtest.h> | 11 #include "testing/gtest/include/gtest/gtest.h" |
| 12 #include <public/WebFilterOperations.h> | 12 #include <public/WebFilterOperations.h> |
| 13 #include <public/WebTransformationMatrix.h> | 13 #include <public/WebTransformationMatrix.h> |
| 14 | 14 |
| 15 using WebKit::WebFilterOperation; | 15 using WebKit::WebFilterOperation; |
| 16 using WebKit::WebFilterOperations; | 16 using WebKit::WebFilterOperations; |
| 17 using WebKit::WebTransformationMatrix; | 17 using WebKit::WebTransformationMatrix; |
| 18 | 18 |
| 19 using namespace cc; | 19 using namespace cc; |
| 20 | 20 |
| 21 namespace { | 21 namespace { |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 EXPECT_EQ(pass->hasTransparentBackground(), copy->hasTransparentBackground()
); | 78 EXPECT_EQ(pass->hasTransparentBackground(), copy->hasTransparentBackground()
); |
| 79 EXPECT_EQ(pass->hasOcclusionFromOutsideTargetSurface(), copy->hasOcclusionFr
omOutsideTargetSurface()); | 79 EXPECT_EQ(pass->hasOcclusionFromOutsideTargetSurface(), copy->hasOcclusionFr
omOutsideTargetSurface()); |
| 80 EXPECT_EQ(pass->filters(), copy->filters()); | 80 EXPECT_EQ(pass->filters(), copy->filters()); |
| 81 EXPECT_EQ(pass->backgroundFilters(), copy->backgroundFilters()); | 81 EXPECT_EQ(pass->backgroundFilters(), copy->backgroundFilters()); |
| 82 EXPECT_EQ(0u, copy->quadList().size()); | 82 EXPECT_EQ(0u, copy->quadList().size()); |
| 83 | 83 |
| 84 EXPECT_EQ(sizeof(CCRenderPassSize), sizeof(CCRenderPass)); | 84 EXPECT_EQ(sizeof(CCRenderPassSize), sizeof(CCRenderPass)); |
| 85 } | 85 } |
| 86 | 86 |
| 87 } // namespace | 87 } // namespace |
| OLD | NEW |