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/trees/layer_tree_host.h" | 5 #include "cc/trees/layer_tree_host.h" |
6 | 6 |
7 #include "cc/layer.h" | 7 #include "cc/layers/layer.h" |
8 #include "cc/test/layer_tree_test_common.h" | 8 #include "cc/test/layer_tree_test_common.h" |
9 #include "cc/test/occlusion_tracker_test_common.h" | 9 #include "cc/test/occlusion_tracker_test_common.h" |
10 | 10 |
11 namespace cc { | 11 namespace cc { |
12 namespace { | 12 namespace { |
13 | 13 |
14 class TestLayer : public Layer { | 14 class TestLayer : public Layer { |
15 public: | 15 public: |
16 static scoped_refptr<TestLayer> Create() { | 16 static scoped_refptr<TestLayer> Create() { |
17 return make_scoped_refptr(new TestLayer()); | 17 return make_scoped_refptr(new TestLayer()); |
(...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
467 | 467 |
468 m_layerTreeHost->SetRootLayer(layers[0]); | 468 m_layerTreeHost->SetRootLayer(layers[0]); |
469 ThreadedTest::setupTree(); | 469 ThreadedTest::setupTree(); |
470 } | 470 } |
471 }; | 471 }; |
472 | 472 |
473 SINGLE_AND_MULTI_THREAD_TEST_F(LayerTreeHostOcclusionTestManySurfaces) | 473 SINGLE_AND_MULTI_THREAD_TEST_F(LayerTreeHostOcclusionTestManySurfaces) |
474 | 474 |
475 } // namespace | 475 } // namespace |
476 } // namespace cc | 476 } // namespace cc |
OLD | NEW |