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

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

Issue 23686011: CC: Fix missing swap-used-incomplete-tile updates (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add test. Created 7 years, 3 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_THREAD_PROXY_H_ 5 #ifndef CC_TREES_THREAD_PROXY_H_
6 #define CC_TREES_THREAD_PROXY_H_ 6 #define CC_TREES_THREAD_PROXY_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 ScheduledActionDrawAndSwapResult ScheduledActionDrawAndSwapInternal( 170 ScheduledActionDrawAndSwapResult ScheduledActionDrawAndSwapInternal(
171 bool forced_draw); 171 bool forced_draw);
172 void ForceSerializeOnSwapBuffersOnImplThread(CompletionEvent* completion); 172 void ForceSerializeOnSwapBuffersOnImplThread(CompletionEvent* completion);
173 void CheckOutputSurfaceStatusOnImplThread(); 173 void CheckOutputSurfaceStatusOnImplThread();
174 void CommitPendingOnImplThreadForTesting(CommitPendingRequest* request); 174 void CommitPendingOnImplThreadForTesting(CommitPendingRequest* request);
175 void SchedulerStateAsValueOnImplThreadForTesting( 175 void SchedulerStateAsValueOnImplThreadForTesting(
176 SchedulerStateRequest* request); 176 SchedulerStateRequest* request);
177 void AsValueOnImplThread(CompletionEvent* completion, 177 void AsValueOnImplThread(CompletionEvent* completion,
178 base::DictionaryValue* state) const; 178 base::DictionaryValue* state) const;
179 void RenewTreePriorityOnImplThread(); 179 void RenewTreePriorityOnImplThread();
180 void DidSwapUseIncompleteTileOnImplThread(); 180 void SetSwapUsedIncompleteTileOnImplThread(bool used_incomplete_tile);
181 void StartScrollbarAnimationOnImplThread(); 181 void StartScrollbarAnimationOnImplThread();
182 void MainThreadHasStoppedFlingingOnImplThread(); 182 void MainThreadHasStoppedFlingingOnImplThread();
183 void SetInputThrottledUntilCommitOnImplThread(bool is_throttled); 183 void SetInputThrottledUntilCommitOnImplThread(bool is_throttled);
184 184
185 // Accessed on main thread only. 185 // Accessed on main thread only.
186 186
187 // Set only when SetNeedsAnimate is called. 187 // Set only when SetNeedsAnimate is called.
188 bool animate_requested_; 188 bool animate_requested_;
189 // Set only when SetNeedsCommit is called. 189 // Set only when SetNeedsCommit is called.
190 bool commit_requested_; 190 bool commit_requested_;
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 // activation_duration_history_. 266 // activation_duration_history_.
267 base::TimeTicks begin_frame_sent_to_main_thread_time_; 267 base::TimeTicks begin_frame_sent_to_main_thread_time_;
268 base::TimeTicks commit_complete_time_; 268 base::TimeTicks commit_complete_time_;
269 269
270 DISALLOW_COPY_AND_ASSIGN(ThreadProxy); 270 DISALLOW_COPY_AND_ASSIGN(ThreadProxy);
271 }; 271 };
272 272
273 } // namespace cc 273 } // namespace cc
274 274
275 #endif // CC_TREES_THREAD_PROXY_H_ 275 #endif // CC_TREES_THREAD_PROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698