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

Side by Side Diff: cc/test/layer_tree_test.h

Issue 2452483002: Move GpuMemoryBufferManager and SharedBitmapManager to CompositorFrameSink (Closed)
Patch Set: rebase Created 4 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
« no previous file with comments | « cc/test/layer_tree_json_parser_unittest.cc ('k') | cc/test/layer_tree_test.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 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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 #ifndef CC_TEST_LAYER_TREE_TEST_H_ 5 #ifndef CC_TEST_LAYER_TREE_TEST_H_
6 #define CC_TEST_LAYER_TREE_TEST_H_ 6 #define CC_TEST_LAYER_TREE_TEST_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/threading/thread.h" 9 #include "base/threading/thread.h"
10 #include "cc/animation/animation_delegate.h" 10 #include "cc/animation/animation_delegate.h"
(...skipping 13 matching lines...) Expand all
24 class LayerTreeHost; 24 class LayerTreeHost;
25 class LayerTreeHostForTesting; 25 class LayerTreeHostForTesting;
26 class LayerTreeHostClient; 26 class LayerTreeHostClient;
27 class LayerTreeHostImpl; 27 class LayerTreeHostImpl;
28 class LayerTreeTestCompositorFrameSinkClient; 28 class LayerTreeTestCompositorFrameSinkClient;
29 class Proxy; 29 class Proxy;
30 class ProxyImpl; 30 class ProxyImpl;
31 class ProxyMain; 31 class ProxyMain;
32 class TestContextProvider; 32 class TestContextProvider;
33 class TestCompositorFrameSink; 33 class TestCompositorFrameSink;
34 class TestGpuMemoryBufferManager;
35 class TestTaskGraphRunner; 34 class TestTaskGraphRunner;
36 class TestWebGraphicsContext3D; 35 class TestWebGraphicsContext3D;
37 36
38 // Creates the virtual viewport layer hierarchy under the given root_layer. 37 // Creates the virtual viewport layer hierarchy under the given root_layer.
39 // Convenient overload of the method below that creates a scrolling layer as 38 // Convenient overload of the method below that creates a scrolling layer as
40 // the outer viewport scroll layer. 39 // the outer viewport scroll layer.
41 void CreateVirtualViewportLayers(Layer* root_layer, 40 void CreateVirtualViewportLayers(Layer* root_layer,
42 const gfx::Size& inner_bounds, 41 const gfx::Size& inner_bounds,
43 const gfx::Size& outer_bounds, 42 const gfx::Size& outer_bounds,
44 const gfx::Size& scroll_bounds, 43 const gfx::Size& scroll_bounds,
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 #define SINGLE_MULTI_AND_REMOTE_TEST_F(TEST_FIXTURE_NAME) \ 235 #define SINGLE_MULTI_AND_REMOTE_TEST_F(TEST_FIXTURE_NAME) \
237 SINGLE_AND_MULTI_THREAD_TEST_F(TEST_FIXTURE_NAME); \ 236 SINGLE_AND_MULTI_THREAD_TEST_F(TEST_FIXTURE_NAME); \
238 REMOTE_TEST_F(TEST_FIXTURE_NAME) 237 REMOTE_TEST_F(TEST_FIXTURE_NAME)
239 238
240 // Some tests want to control when notify ready for activation occurs, 239 // Some tests want to control when notify ready for activation occurs,
241 // but this is not supported in the single-threaded case. 240 // but this is not supported in the single-threaded case.
242 #define MULTI_THREAD_BLOCKNOTIFY_TEST_F(TEST_FIXTURE_NAME) \ 241 #define MULTI_THREAD_BLOCKNOTIFY_TEST_F(TEST_FIXTURE_NAME) \
243 MULTI_THREAD_TEST_F(TEST_FIXTURE_NAME) 242 MULTI_THREAD_TEST_F(TEST_FIXTURE_NAME)
244 243
245 #endif // CC_TEST_LAYER_TREE_TEST_H_ 244 #endif // CC_TEST_LAYER_TREE_TEST_H_
OLDNEW
« no previous file with comments | « cc/test/layer_tree_json_parser_unittest.cc ('k') | cc/test/layer_tree_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698