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

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

Issue 14195025: Keep vsync enabled while there is a pending requestAnimationFrame (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « cc/scheduler/scheduler_state_machine.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 "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "base/time.h" 10 #include "base/time.h"
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 void RecreateOutputSurfaceOnImplThread( 168 void RecreateOutputSurfaceOnImplThread(
169 CompletionEvent* completion, 169 CompletionEvent* completion,
170 scoped_ptr<OutputSurface> output_surface, 170 scoped_ptr<OutputSurface> output_surface,
171 scoped_refptr<cc::ContextProvider> offscreen_context_provider, 171 scoped_refptr<cc::ContextProvider> offscreen_context_provider,
172 bool* recreate_succeeded, 172 bool* recreate_succeeded,
173 RendererCapabilities* capabilities); 173 RendererCapabilities* capabilities);
174 ScheduledActionDrawAndSwapResult ScheduledActionDrawAndSwapInternal( 174 ScheduledActionDrawAndSwapResult ScheduledActionDrawAndSwapInternal(
175 bool forced_draw); 175 bool forced_draw);
176 void ForceSerializeOnSwapBuffersOnImplThread(CompletionEvent* completion); 176 void ForceSerializeOnSwapBuffersOnImplThread(CompletionEvent* completion);
177 void SetNeedsForcedCommitOnImplThread(); 177 void SetNeedsForcedCommitOnImplThread();
178 void SetAnimateRequestedOnImplThread();
178 void CheckOutputSurfaceStatusOnImplThread(); 179 void CheckOutputSurfaceStatusOnImplThread();
179 void CommitPendingOnImplThreadForTesting(CommitPendingRequest* request); 180 void CommitPendingOnImplThreadForTesting(CommitPendingRequest* request);
180 void CapturePictureOnImplThread(CompletionEvent* completion, 181 void CapturePictureOnImplThread(CompletionEvent* completion,
181 skia::RefPtr<SkPicture>* picture); 182 skia::RefPtr<SkPicture>* picture);
182 void AsValueOnImplThread(CompletionEvent* completion, 183 void AsValueOnImplThread(CompletionEvent* completion,
183 base::DictionaryValue* state) const; 184 base::DictionaryValue* state) const;
184 void RenewTreePriorityOnImplThread(); 185 void RenewTreePriorityOnImplThread();
185 void DidSwapUseIncompleteTileOnImplThread(); 186 void DidSwapUseIncompleteTileOnImplThread();
186 void StartScrollbarAnimationOnImplThread(); 187 void StartScrollbarAnimationOnImplThread();
187 188
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 257
257 base::TimeTicks smoothness_takes_priority_expiration_time_; 258 base::TimeTicks smoothness_takes_priority_expiration_time_;
258 bool renew_tree_priority_on_impl_thread_pending_; 259 bool renew_tree_priority_on_impl_thread_pending_;
259 260
260 DISALLOW_COPY_AND_ASSIGN(ThreadProxy); 261 DISALLOW_COPY_AND_ASSIGN(ThreadProxy);
261 }; 262 };
262 263
263 } // namespace cc 264 } // namespace cc
264 265
265 #endif // CC_TREES_THREAD_PROXY_H_ 266 #endif // CC_TREES_THREAD_PROXY_H_
OLDNEW
« no previous file with comments | « cc/scheduler/scheduler_state_machine.cc ('k') | cc/trees/thread_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698