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

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

Issue 21026005: aura: Remove CreateOffscreenContext from ui::ContextFactory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: offscreencontext: clang-format Created 7 years, 4 months 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/debug/fake_context_provider.cc ('k') | cc/test/fake_context_provider.h » ('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 <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 1085 matching lines...) Expand 10 before | Expand all | Expand 10 after
1112 int callback_count_; 1114 int callback_count_;
1113 scoped_refptr<Layer> root_; 1115 scoped_refptr<Layer> root_;
1114 scoped_refptr<TextureLayer> layer_; 1116 scoped_refptr<TextureLayer> layer_;
1115 }; 1117 };
1116 1118
1117 SINGLE_AND_MULTI_THREAD_DIRECT_RENDERER_TEST_F( 1119 SINGLE_AND_MULTI_THREAD_DIRECT_RENDERER_TEST_F(
1118 TextureLayerWithMailboxImplThreadDeleted); 1120 TextureLayerWithMailboxImplThreadDeleted);
1119 1121
1120 } // namespace 1122 } // namespace
1121 } // namespace cc 1123 } // namespace cc
OLDNEW
« no previous file with comments | « cc/debug/fake_context_provider.cc ('k') | cc/test/fake_context_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698