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

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

Issue 14898002: Add LayerTreeHostSettings for synchronous compositor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove blank line Created 7 years, 7 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/trees/layer_tree_settings.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 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 239
240 scoped_ptr<ResourceUpdateController> 240 scoped_ptr<ResourceUpdateController>
241 current_resource_update_controller_on_impl_thread_; 241 current_resource_update_controller_on_impl_thread_;
242 242
243 // Set when the next draw should post DidCommitAndDrawFrame to the main 243 // Set when the next draw should post DidCommitAndDrawFrame to the main
244 // thread. 244 // thread.
245 bool next_frame_is_newly_committed_frame_on_impl_thread_; 245 bool next_frame_is_newly_committed_frame_on_impl_thread_;
246 246
247 bool render_vsync_enabled_; 247 bool render_vsync_enabled_;
248 bool render_vsync_notification_enabled_; 248 bool render_vsync_notification_enabled_;
249 bool synchronously_disable_vsync_;
249 VSyncClient* vsync_client_; 250 VSyncClient* vsync_client_;
250 251
251 bool inside_draw_; 252 bool inside_draw_;
252 253
253 bool defer_commits_; 254 bool defer_commits_;
254 scoped_ptr<BeginFrameAndCommitState> pending_deferred_commit_; 255 scoped_ptr<BeginFrameAndCommitState> pending_deferred_commit_;
255 256
256 base::TimeTicks smoothness_takes_priority_expiration_time_; 257 base::TimeTicks smoothness_takes_priority_expiration_time_;
257 bool renew_tree_priority_on_impl_thread_pending_; 258 bool renew_tree_priority_on_impl_thread_pending_;
258 259
259 DISALLOW_COPY_AND_ASSIGN(ThreadProxy); 260 DISALLOW_COPY_AND_ASSIGN(ThreadProxy);
260 }; 261 };
261 262
262 } // namespace cc 263 } // namespace cc
263 264
264 #endif // CC_TREES_THREAD_PROXY_H_ 265 #endif // CC_TREES_THREAD_PROXY_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_settings.cc ('k') | cc/trees/thread_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698