| 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 "CCRenderSurfaceFilters.h" | 7 #include "CCRenderSurfaceFilters.h" |
| 8 | 8 |
| 9 #include "CompositorFakeWebGraphicsContext3D.h" | 9 #include "CompositorFakeWebGraphicsContext3D.h" |
| 10 #include "testing/gtest/include/gtest/gtest.h" | 10 #include "testing/gtest/include/gtest/gtest.h" |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 filters.append(doesntCombine); | 132 filters.append(doesntCombine); |
| 133 optimized = CCRenderSurfaceFilters::optimize(filters); | 133 optimized = CCRenderSurfaceFilters::optimize(filters); |
| 134 EXPECT_EQ(2u, optimized.size()); | 134 EXPECT_EQ(2u, optimized.size()); |
| 135 | 135 |
| 136 filters.append(doesntCombine); | 136 filters.append(doesntCombine); |
| 137 optimized = CCRenderSurfaceFilters::optimize(filters); | 137 optimized = CCRenderSurfaceFilters::optimize(filters); |
| 138 EXPECT_EQ(3u, optimized.size()); | 138 EXPECT_EQ(3u, optimized.size()); |
| 139 } | 139 } |
| 140 | 140 |
| 141 } // namespace | 141 } // namespace |
| OLD | NEW |