Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(22)

Side by Side Diff: cc/layers/texture_layer_unittest.cc

Issue 50303007: Move test-only stuff from cc/debug/ to cc/test (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fold cc_test_utils into cc_test_support to fix windows link Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « cc/layers/scrollbar_layer_unittest.cc ('k') | cc/output/gl_renderer_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 <algorithm> 7 #include <algorithm>
8 #include <string> 8 #include <string>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "base/synchronization/waitable_event.h" 12 #include "base/synchronization/waitable_event.h"
13 #include "base/threading/thread.h" 13 #include "base/threading/thread.h"
14 #include "base/time/time.h" 14 #include "base/time/time.h"
15 #include "cc/debug/test_web_graphics_context_3d.h"
16 #include "cc/layers/solid_color_layer.h" 15 #include "cc/layers/solid_color_layer.h"
17 #include "cc/layers/texture_layer_client.h" 16 #include "cc/layers/texture_layer_client.h"
18 #include "cc/layers/texture_layer_impl.h" 17 #include "cc/layers/texture_layer_impl.h"
19 #include "cc/output/compositor_frame_ack.h" 18 #include "cc/output/compositor_frame_ack.h"
20 #include "cc/output/context_provider.h" 19 #include "cc/output/context_provider.h"
21 #include "cc/resources/returned_resource.h" 20 #include "cc/resources/returned_resource.h"
22 #include "cc/test/fake_impl_proxy.h" 21 #include "cc/test/fake_impl_proxy.h"
23 #include "cc/test/fake_layer_tree_host_client.h" 22 #include "cc/test/fake_layer_tree_host_client.h"
24 #include "cc/test/fake_layer_tree_host_impl.h" 23 #include "cc/test/fake_layer_tree_host_impl.h"
25 #include "cc/test/fake_output_surface.h" 24 #include "cc/test/fake_output_surface.h"
26 #include "cc/test/layer_test_common.h" 25 #include "cc/test/layer_test_common.h"
27 #include "cc/test/layer_tree_test.h" 26 #include "cc/test/layer_tree_test.h"
27 #include "cc/test/test_web_graphics_context_3d.h"
28 #include "cc/trees/blocking_task_runner.h" 28 #include "cc/trees/blocking_task_runner.h"
29 #include "cc/trees/layer_tree_host.h" 29 #include "cc/trees/layer_tree_host.h"
30 #include "cc/trees/layer_tree_impl.h" 30 #include "cc/trees/layer_tree_impl.h"
31 #include "cc/trees/single_thread_proxy.h" 31 #include "cc/trees/single_thread_proxy.h"
32 #include "gpu/GLES2/gl2extchromium.h" 32 #include "gpu/GLES2/gl2extchromium.h"
33 #include "testing/gmock/include/gmock/gmock.h" 33 #include "testing/gmock/include/gmock/gmock.h"
34 #include "testing/gtest/include/gtest/gtest.h" 34 #include "testing/gtest/include/gtest/gtest.h"
35 35
36 using ::testing::Mock; 36 using ::testing::Mock;
37 using ::testing::_; 37 using ::testing::_;
(...skipping 2144 matching lines...) Expand 10 before | Expand all | Expand 10 after
2182 int callback_count_; 2182 int callback_count_;
2183 scoped_refptr<Layer> root_; 2183 scoped_refptr<Layer> root_;
2184 scoped_refptr<TextureLayer> layer_; 2184 scoped_refptr<TextureLayer> layer_;
2185 }; 2185 };
2186 2186
2187 SINGLE_AND_MULTI_THREAD_DIRECT_RENDERER_TEST_F( 2187 SINGLE_AND_MULTI_THREAD_DIRECT_RENDERER_TEST_F(
2188 TextureLayerWithMailboxImplThreadDeleted); 2188 TextureLayerWithMailboxImplThreadDeleted);
2189 2189
2190 } // namespace 2190 } // namespace
2191 } // namespace cc 2191 } // namespace cc
OLDNEW
« no previous file with comments | « cc/layers/scrollbar_layer_unittest.cc ('k') | cc/output/gl_renderer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698