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 "base/basictypes.h" | 7 #include "base/basictypes.h" |
8 #include "cc/base/thread_impl.h" | 8 #include "cc/base/thread_impl.h" |
9 #include "cc/layers/content_layer.h" | 9 #include "cc/layers/content_layer.h" |
10 #include "cc/layers/heads_up_display_layer.h" | 10 #include "cc/layers/heads_up_display_layer.h" |
(...skipping 17 matching lines...) Expand all Loading... |
28 #include "cc/test/fake_scrollbar_layer.h" | 28 #include "cc/test/fake_scrollbar_layer.h" |
29 #include "cc/test/fake_video_frame_provider.h" | 29 #include "cc/test/fake_video_frame_provider.h" |
30 #include "cc/test/layer_tree_test.h" | 30 #include "cc/test/layer_tree_test.h" |
31 #include "cc/test/render_pass_test_common.h" | 31 #include "cc/test/render_pass_test_common.h" |
32 #include "cc/test/test_web_graphics_context_3d.h" | 32 #include "cc/test/test_web_graphics_context_3d.h" |
33 #include "cc/trees/layer_tree_host_impl.h" | 33 #include "cc/trees/layer_tree_host_impl.h" |
34 #include "cc/trees/layer_tree_impl.h" | 34 #include "cc/trees/layer_tree_impl.h" |
35 #include "cc/trees/single_thread_proxy.h" | 35 #include "cc/trees/single_thread_proxy.h" |
36 #include "gpu/GLES2/gl2extchromium.h" | 36 #include "gpu/GLES2/gl2extchromium.h" |
37 #include "media/base/media.h" | 37 #include "media/base/media.h" |
38 #include "third_party/WebKit/Source/Platform/chromium/public/WebFilterOperations
.h" | 38 #include "third_party/WebKit/public/platform/WebFilterOperations.h" |
39 | 39 |
40 using media::VideoFrame; | 40 using media::VideoFrame; |
41 using WebKit::WebGraphicsContext3D; | 41 using WebKit::WebGraphicsContext3D; |
42 | 42 |
43 namespace cc { | 43 namespace cc { |
44 namespace { | 44 namespace { |
45 | 45 |
46 // These tests deal with losing the 3d graphics context. | 46 // These tests deal with losing the 3d graphics context. |
47 class LayerTreeHostContextTest : public LayerTreeTest { | 47 class LayerTreeHostContextTest : public LayerTreeTest { |
48 public: | 48 public: |
(...skipping 1541 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1590 LayerTreeHost::Create(this, settings, impl_ccthread.Pass()); | 1590 LayerTreeHost::Create(this, settings, impl_ccthread.Pass()); |
1591 EXPECT_FALSE(layer_tree_host); | 1591 EXPECT_FALSE(layer_tree_host); |
1592 } | 1592 } |
1593 }; | 1593 }; |
1594 | 1594 |
1595 SINGLE_AND_MULTI_THREAD_TEST_F( | 1595 SINGLE_AND_MULTI_THREAD_TEST_F( |
1596 LayerTreeHostTestCannotCreateIfCannotCreateOutputSurface); | 1596 LayerTreeHostTestCannotCreateIfCannotCreateOutputSurface); |
1597 | 1597 |
1598 } // namespace | 1598 } // namespace |
1599 } // namespace cc | 1599 } // namespace cc |
OLD | NEW |