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

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

Issue 1831083002: cc: Force a redraw on initializing a new output surface for remote compositor. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Missed updating the test. Created 4 years, 9 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
« no previous file with comments | « no previous file | 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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 } 139 }
140 Proxy* proxy() const { 140 Proxy* proxy() const {
141 return layer_tree_host_ ? layer_tree_host_->proxy() : NULL; 141 return layer_tree_host_ ? layer_tree_host_->proxy() : NULL;
142 } 142 }
143 Proxy* remote_client_proxy() const; 143 Proxy* remote_client_proxy() const;
144 TaskRunnerProvider* task_runner_provider() const; 144 TaskRunnerProvider* task_runner_provider() const;
145 TaskGraphRunner* task_graph_runner() const; 145 TaskGraphRunner* task_graph_runner() const;
146 bool TestEnded() const { return ended_; } 146 bool TestEnded() const { return ended_; }
147 147
148 LayerTreeHost* layer_tree_host(); 148 LayerTreeHost* layer_tree_host();
149 LayerTreeHost* remote_client_layer_tree_host();
149 bool delegating_renderer() const { return delegating_renderer_; } 150 bool delegating_renderer() const { return delegating_renderer_; }
150 FakeOutputSurface* output_surface() { return output_surface_; } 151 FakeOutputSurface* output_surface() { return output_surface_; }
151 152
152 // Use these only for tests in threaded or remote mode. 153 // Use these only for tests in threaded or remote mode.
153 ProxyMainForTest* GetProxyMainForTest() const; 154 ProxyMainForTest* GetProxyMainForTest() const;
154 ProxyImplForTest* GetProxyImplForTest() const; 155 ProxyImplForTest* GetProxyImplForTest() const;
155 156
156 // Use this only for tests in threaded mode. 157 // Use this only for tests in threaded mode.
157 ThreadedChannelForTest* GetThreadedChannelForTest() const; 158 ThreadedChannelForTest* GetThreadedChannelForTest() const;
158 159
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 #define SINGLE_AND_MULTI_THREAD_TEST_F(TEST_FIXTURE_NAME) \ 271 #define SINGLE_AND_MULTI_THREAD_TEST_F(TEST_FIXTURE_NAME) \
271 SINGLE_AND_MULTI_THREAD_DIRECT_RENDERER_TEST_F(TEST_FIXTURE_NAME); \ 272 SINGLE_AND_MULTI_THREAD_DIRECT_RENDERER_TEST_F(TEST_FIXTURE_NAME); \
272 SINGLE_AND_MULTI_THREAD_DELEGATING_RENDERER_TEST_F(TEST_FIXTURE_NAME) 273 SINGLE_AND_MULTI_THREAD_DELEGATING_RENDERER_TEST_F(TEST_FIXTURE_NAME)
273 274
274 // Some tests want to control when notify ready for activation occurs, 275 // Some tests want to control when notify ready for activation occurs,
275 // but this is not supported in the single-threaded case. 276 // but this is not supported in the single-threaded case.
276 #define MULTI_THREAD_BLOCKNOTIFY_TEST_F(TEST_FIXTURE_NAME) \ 277 #define MULTI_THREAD_BLOCKNOTIFY_TEST_F(TEST_FIXTURE_NAME) \
277 MULTI_THREAD_TEST_F(TEST_FIXTURE_NAME) 278 MULTI_THREAD_TEST_F(TEST_FIXTURE_NAME)
278 279
279 #endif // CC_TEST_LAYER_TREE_TEST_H_ 280 #endif // CC_TEST_LAYER_TREE_TEST_H_
OLDNEW
« no previous file with comments | « no previous file | cc/test/layer_tree_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698