OLD | NEW |
1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2011 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 "CCLayerTreeHostImpl.h" | 7 #include "CCLayerTreeHostImpl.h" |
8 | 8 |
9 #include "CCDelegatedRendererLayerImpl.h" | 9 #include "CCDelegatedRendererLayerImpl.h" |
10 #include "CCHeadsUpDisplayLayerImpl.h" | 10 #include "CCHeadsUpDisplayLayerImpl.h" |
11 #include "CCIOSurfaceLayerImpl.h" | 11 #include "CCIOSurfaceLayerImpl.h" |
12 #include "CCLayerImpl.h" | 12 #include "CCLayerImpl.h" |
13 #include "CCLayerTilingData.h" | 13 #include "CCLayerTilingData.h" |
14 #include "CCQuadSink.h" | 14 #include "CCQuadSink.h" |
15 #include "CCRenderPassDrawQuad.h" | 15 #include "CCRenderPassDrawQuad.h" |
16 #include "CCRendererGL.h" | 16 #include "CCRendererGL.h" |
17 #include "CCScrollbarGeometryFixedThumb.h" | 17 #include "CCScrollbarGeometryFixedThumb.h" |
18 #include "CCScrollbarLayerImpl.h" | 18 #include "CCScrollbarLayerImpl.h" |
19 #include "CCTileDrawQuad.h" | |
20 #include "CCTiledLayerImpl.h" | |
21 #include "CCVideoLayerImpl.h" | |
22 #include "base/command_line.h" | 19 #include "base/command_line.h" |
23 #include "base/hash_tables.h" | 20 #include "base/hash_tables.h" |
24 #include "cc/settings.h" | 21 #include "cc/settings.h" |
25 #include "cc/single_thread_proxy.h" | 22 #include "cc/single_thread_proxy.h" |
26 #include "cc/solid_color_draw_quad.h" | 23 #include "cc/solid_color_draw_quad.h" |
27 #include "cc/test/animation_test_common.h" | 24 #include "cc/test/animation_test_common.h" |
28 #include "cc/test/fake_web_compositor_output_surface.h" | 25 #include "cc/test/fake_web_compositor_output_surface.h" |
29 #include "cc/test/fake_web_graphics_context_3d.h" | 26 #include "cc/test/fake_web_graphics_context_3d.h" |
30 #include "cc/test/fake_web_scrollbar_theme_geometry.h" | 27 #include "cc/test/fake_web_scrollbar_theme_geometry.h" |
31 #include "cc/test/geometry_test_utils.h" | 28 #include "cc/test/geometry_test_utils.h" |
32 #include "cc/test/layer_test_common.h" | 29 #include "cc/test/layer_test_common.h" |
33 #include "cc/test/render_pass_test_common.h" | 30 #include "cc/test/render_pass_test_common.h" |
34 #include "cc/test/test_common.h" | 31 #include "cc/test/test_common.h" |
35 #include "cc/texture_draw_quad.h" | 32 #include "cc/texture_draw_quad.h" |
36 #include "cc/texture_layer_impl.h" | 33 #include "cc/texture_layer_impl.h" |
| 34 #include "cc/tile_draw_quad.h" |
| 35 #include "cc/tiled_layer_impl.h" |
| 36 #include "cc/video_layer_impl.h" |
37 #include "testing/gmock/include/gmock/gmock.h" | 37 #include "testing/gmock/include/gmock/gmock.h" |
38 #include "testing/gtest/include/gtest/gtest.h" | 38 #include "testing/gtest/include/gtest/gtest.h" |
39 #include <public/WebVideoFrame.h> | 39 #include <public/WebVideoFrame.h> |
40 #include <public/WebVideoFrameProvider.h> | 40 #include <public/WebVideoFrameProvider.h> |
41 | 41 |
42 using namespace cc; | 42 using namespace cc; |
43 using namespace CCLayerTestCommon; | 43 using namespace CCLayerTestCommon; |
44 using namespace WebKit; | 44 using namespace WebKit; |
45 using namespace WebKitTests; | 45 using namespace WebKitTests; |
46 | 46 |
(...skipping 4327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4374 verifyRenderPassTestData(removeRenderPassesCases[testCaseIndex], testDat
a); | 4374 verifyRenderPassTestData(removeRenderPassesCases[testCaseIndex], testDat
a); |
4375 testCaseIndex++; | 4375 testCaseIndex++; |
4376 } | 4376 } |
4377 } | 4377 } |
4378 | 4378 |
4379 INSTANTIATE_TEST_CASE_P(CCLayerTreeHostImplTests, | 4379 INSTANTIATE_TEST_CASE_P(CCLayerTreeHostImplTests, |
4380 CCLayerTreeHostImplTest, | 4380 CCLayerTreeHostImplTest, |
4381 ::testing::Values(false, true)); | 4381 ::testing::Values(false, true)); |
4382 | 4382 |
4383 } // namespace | 4383 } // namespace |
OLD | NEW |