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

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: Rebase. 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
« no previous file with comments | « cc/trees/layer_tree_host_unittest_damage.cc ('k') | cc/trees/thread_proxy.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_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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 bool swap_requested, 173 bool swap_requested,
174 bool readback_requested); 174 bool readback_requested);
175 void ForceSerializeOnSwapBuffersOnImplThread(CompletionEvent* completion); 175 void ForceSerializeOnSwapBuffersOnImplThread(CompletionEvent* completion);
176 void CheckOutputSurfaceStatusOnImplThread(); 176 void CheckOutputSurfaceStatusOnImplThread();
177 void CommitPendingOnImplThreadForTesting(CommitPendingRequest* request); 177 void CommitPendingOnImplThreadForTesting(CommitPendingRequest* request);
178 void SchedulerStateAsValueOnImplThreadForTesting( 178 void SchedulerStateAsValueOnImplThreadForTesting(
179 SchedulerStateRequest* request); 179 SchedulerStateRequest* request);
180 void AsValueOnImplThread(CompletionEvent* completion, 180 void AsValueOnImplThread(CompletionEvent* completion,
181 base::DictionaryValue* state) const; 181 base::DictionaryValue* state) const;
182 void RenewTreePriorityOnImplThread(); 182 void RenewTreePriorityOnImplThread();
183 void DidSwapUseIncompleteTileOnImplThread(); 183 void SetSwapUsedIncompleteTileOnImplThread(bool used_incomplete_tile);
184 void StartScrollbarAnimationOnImplThread(); 184 void StartScrollbarAnimationOnImplThread();
185 void MainThreadHasStoppedFlingingOnImplThread(); 185 void MainThreadHasStoppedFlingingOnImplThread();
186 void SetInputThrottledUntilCommitOnImplThread(bool is_throttled); 186 void SetInputThrottledUntilCommitOnImplThread(bool is_throttled);
187 187
188 // Accessed on main thread only. 188 // Accessed on main thread only.
189 189
190 // Set only when SetNeedsAnimate is called. 190 // Set only when SetNeedsAnimate is called.
191 bool animate_requested_; 191 bool animate_requested_;
192 // Set only when SetNeedsCommit is called. 192 // Set only when SetNeedsCommit is called.
193 bool commit_requested_; 193 bool commit_requested_;
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 // activation_duration_history_. 269 // activation_duration_history_.
270 base::TimeTicks begin_frame_sent_to_main_thread_time_; 270 base::TimeTicks begin_frame_sent_to_main_thread_time_;
271 base::TimeTicks commit_complete_time_; 271 base::TimeTicks commit_complete_time_;
272 272
273 DISALLOW_COPY_AND_ASSIGN(ThreadProxy); 273 DISALLOW_COPY_AND_ASSIGN(ThreadProxy);
274 }; 274 };
275 275
276 } // namespace cc 276 } // namespace cc
277 277
278 #endif // CC_TREES_THREAD_PROXY_H_ 278 #endif // CC_TREES_THREAD_PROXY_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_unittest_damage.cc ('k') | cc/trees/thread_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698