| 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/layers/texture_layer.h" | 5 #include "cc/layers/texture_layer.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/callback.h" | 9 #include "base/callback.h" |
| 10 #include "cc/layers/texture_layer_client.h" | 10 #include "cc/layers/texture_layer_client.h" |
| 11 #include "cc/layers/texture_layer_impl.h" | 11 #include "cc/layers/texture_layer_impl.h" |
| 12 #include "cc/test/fake_impl_proxy.h" | 12 #include "cc/test/fake_impl_proxy.h" |
| 13 #include "cc/test/fake_layer_tree_host_client.h" | 13 #include "cc/test/fake_layer_tree_host_client.h" |
| 14 #include "cc/test/fake_layer_tree_host_impl.h" | 14 #include "cc/test/fake_layer_tree_host_impl.h" |
| 15 #include "cc/test/fake_output_surface.h" |
| 15 #include "cc/test/layer_test_common.h" | 16 #include "cc/test/layer_test_common.h" |
| 16 #include "cc/test/layer_tree_test.h" | 17 #include "cc/test/layer_tree_test.h" |
| 18 #include "cc/test/test_web_graphics_context_3d.h" |
| 17 #include "cc/trees/layer_tree_host.h" | 19 #include "cc/trees/layer_tree_host.h" |
| 18 #include "cc/trees/layer_tree_impl.h" | 20 #include "cc/trees/layer_tree_impl.h" |
| 19 #include "cc/trees/single_thread_proxy.h" | 21 #include "cc/trees/single_thread_proxy.h" |
| 20 #include "gpu/GLES2/gl2extchromium.h" | 22 #include "gpu/GLES2/gl2extchromium.h" |
| 21 #include "testing/gmock/include/gmock/gmock.h" | 23 #include "testing/gmock/include/gmock/gmock.h" |
| 22 #include "testing/gtest/include/gtest/gtest.h" | 24 #include "testing/gtest/include/gtest/gtest.h" |
| 23 | 25 |
| 24 using ::testing::Mock; | 26 using ::testing::Mock; |
| 25 using ::testing::_; | 27 using ::testing::_; |
| 26 using ::testing::AtLeast; | 28 using ::testing::AtLeast; |
| (...skipping 1056 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1083 int callback_count_; | 1085 int callback_count_; |
| 1084 scoped_refptr<Layer> root_; | 1086 scoped_refptr<Layer> root_; |
| 1085 scoped_refptr<TextureLayer> layer_; | 1087 scoped_refptr<TextureLayer> layer_; |
| 1086 }; | 1088 }; |
| 1087 | 1089 |
| 1088 SINGLE_AND_MULTI_THREAD_DIRECT_RENDERER_TEST_F( | 1090 SINGLE_AND_MULTI_THREAD_DIRECT_RENDERER_TEST_F( |
| 1089 TextureLayerWithMailboxImplThreadDeleted); | 1091 TextureLayerWithMailboxImplThreadDeleted); |
| 1090 | 1092 |
| 1091 } // namespace | 1093 } // namespace |
| 1092 } // namespace cc | 1094 } // namespace cc |
| OLD | NEW |