| 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/debug/test_context_provider.h" | |
| 9 #include "cc/debug/test_web_graphics_context_3d.h" | |
| 10 #include "cc/layers/content_layer.h" | 8 #include "cc/layers/content_layer.h" |
| 11 #include "cc/layers/delegated_frame_provider.h" | 9 #include "cc/layers/delegated_frame_provider.h" |
| 12 #include "cc/layers/delegated_frame_resource_collection.h" | 10 #include "cc/layers/delegated_frame_resource_collection.h" |
| 13 #include "cc/layers/heads_up_display_layer.h" | 11 #include "cc/layers/heads_up_display_layer.h" |
| 14 #include "cc/layers/io_surface_layer.h" | 12 #include "cc/layers/io_surface_layer.h" |
| 15 #include "cc/layers/layer_impl.h" | 13 #include "cc/layers/layer_impl.h" |
| 16 #include "cc/layers/painted_scrollbar_layer.h" | 14 #include "cc/layers/painted_scrollbar_layer.h" |
| 17 #include "cc/layers/picture_layer.h" | 15 #include "cc/layers/picture_layer.h" |
| 18 #include "cc/layers/texture_layer.h" | 16 #include "cc/layers/texture_layer.h" |
| 19 #include "cc/layers/texture_layer_impl.h" | 17 #include "cc/layers/texture_layer_impl.h" |
| 20 #include "cc/layers/video_layer.h" | 18 #include "cc/layers/video_layer.h" |
| 21 #include "cc/layers/video_layer_impl.h" | 19 #include "cc/layers/video_layer_impl.h" |
| 22 #include "cc/output/filter_operations.h" | 20 #include "cc/output/filter_operations.h" |
| 23 #include "cc/test/fake_content_layer.h" | 21 #include "cc/test/fake_content_layer.h" |
| 24 #include "cc/test/fake_content_layer_client.h" | 22 #include "cc/test/fake_content_layer_client.h" |
| 25 #include "cc/test/fake_content_layer_impl.h" | 23 #include "cc/test/fake_content_layer_impl.h" |
| 26 #include "cc/test/fake_delegated_renderer_layer.h" | 24 #include "cc/test/fake_delegated_renderer_layer.h" |
| 27 #include "cc/test/fake_delegated_renderer_layer_impl.h" | 25 #include "cc/test/fake_delegated_renderer_layer_impl.h" |
| 28 #include "cc/test/fake_layer_tree_host_client.h" | 26 #include "cc/test/fake_layer_tree_host_client.h" |
| 29 #include "cc/test/fake_output_surface.h" | 27 #include "cc/test/fake_output_surface.h" |
| 30 #include "cc/test/fake_output_surface_client.h" | 28 #include "cc/test/fake_output_surface_client.h" |
| 31 #include "cc/test/fake_painted_scrollbar_layer.h" | 29 #include "cc/test/fake_painted_scrollbar_layer.h" |
| 32 #include "cc/test/fake_scoped_ui_resource.h" | 30 #include "cc/test/fake_scoped_ui_resource.h" |
| 33 #include "cc/test/fake_scrollbar.h" | 31 #include "cc/test/fake_scrollbar.h" |
| 34 #include "cc/test/fake_video_frame_provider.h" | 32 #include "cc/test/fake_video_frame_provider.h" |
| 35 #include "cc/test/layer_tree_test.h" | 33 #include "cc/test/layer_tree_test.h" |
| 36 #include "cc/test/render_pass_test_common.h" | 34 #include "cc/test/render_pass_test_common.h" |
| 35 #include "cc/test/test_context_provider.h" |
| 36 #include "cc/test/test_web_graphics_context_3d.h" |
| 37 #include "cc/trees/layer_tree_host_impl.h" | 37 #include "cc/trees/layer_tree_host_impl.h" |
| 38 #include "cc/trees/layer_tree_impl.h" | 38 #include "cc/trees/layer_tree_impl.h" |
| 39 #include "cc/trees/single_thread_proxy.h" | 39 #include "cc/trees/single_thread_proxy.h" |
| 40 #include "gpu/GLES2/gl2extchromium.h" | 40 #include "gpu/GLES2/gl2extchromium.h" |
| 41 #include "media/base/media.h" | 41 #include "media/base/media.h" |
| 42 | 42 |
| 43 using media::VideoFrame; | 43 using media::VideoFrame; |
| 44 using WebKit::WebGraphicsContext3D; | 44 using WebKit::WebGraphicsContext3D; |
| 45 | 45 |
| 46 namespace cc { | 46 namespace cc { |
| (...skipping 2236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2283 protected: | 2283 protected: |
| 2284 FakeContentLayerClient client_; | 2284 FakeContentLayerClient client_; |
| 2285 scoped_refptr<FakeContentLayer> layer_; | 2285 scoped_refptr<FakeContentLayer> layer_; |
| 2286 int num_commits_; | 2286 int num_commits_; |
| 2287 }; | 2287 }; |
| 2288 | 2288 |
| 2289 SINGLE_AND_MULTI_THREAD_TEST_F(LayerTreeHostContextTestSurfaceCreateCallback); | 2289 SINGLE_AND_MULTI_THREAD_TEST_F(LayerTreeHostContextTestSurfaceCreateCallback); |
| 2290 | 2290 |
| 2291 } // namespace | 2291 } // namespace |
| 2292 } // namespace cc | 2292 } // namespace cc |
| OLD | NEW |