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

Side by Side Diff: cc/trees/single_thread_proxy.h

Issue 2757373002: Fixing flakiness of TextureLayerChangeInvisibleMailboxTest (Closed)
Patch Set: c Created 3 years, 8 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
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_TREES_SINGLE_THREAD_PROXY_H_ 5 #ifndef CC_TREES_SINGLE_THREAD_PROXY_H_
6 #define CC_TREES_SINGLE_THREAD_PROXY_H_ 6 #define CC_TREES_SINGLE_THREAD_PROXY_H_
7 7
8 #include <limits> 8 #include <limits>
9 9
10 #include "base/cancelable_callback.h" 10 #include "base/cancelable_callback.h"
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 void DoPainting(); 115 void DoPainting();
116 void DoCommit(); 116 void DoCommit();
117 DrawResult DoComposite(LayerTreeHostImpl::FrameData* frame); 117 DrawResult DoComposite(LayerTreeHostImpl::FrameData* frame);
118 void DoSwap(); 118 void DoSwap();
119 void DidCommitAndDrawFrame(); 119 void DidCommitAndDrawFrame();
120 void CommitComplete(); 120 void CommitComplete();
121 121
122 bool ShouldComposite() const; 122 bool ShouldComposite() const;
123 void ScheduleRequestNewCompositorFrameSink(); 123 void ScheduleRequestNewCompositorFrameSink();
124 124
125 void DidReceiveCompositorFrameAck();
126
125 // Accessed on main thread only. 127 // Accessed on main thread only.
126 LayerTreeHost* layer_tree_host_; 128 LayerTreeHost* layer_tree_host_;
127 LayerTreeHostSingleThreadClient* single_thread_client_; 129 LayerTreeHostSingleThreadClient* single_thread_client_;
128 130
129 TaskRunnerProvider* task_runner_provider_; 131 TaskRunnerProvider* task_runner_provider_;
130 132
131 // Used on the Thread, but checked on main thread during 133 // Used on the Thread, but checked on main thread during
132 // initialization/shutdown. 134 // initialization/shutdown.
133 std::unique_ptr<LayerTreeHostImpl> layer_tree_host_impl_; 135 std::unique_ptr<LayerTreeHostImpl> layer_tree_host_impl_;
134 136
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 private: 236 private:
235 DebugScopedSetImplThread impl_thread_; 237 DebugScopedSetImplThread impl_thread_;
236 DebugScopedSetMainThreadBlocked main_thread_blocked_; 238 DebugScopedSetMainThreadBlocked main_thread_blocked_;
237 239
238 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked); 240 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked);
239 }; 241 };
240 242
241 } // namespace cc 243 } // namespace cc
242 244
243 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_ 245 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698