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

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: Address comments 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
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 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 VSyncClient* vsync_client_; 249 VSyncClient* vsync_client_;
250 250
251 bool enable_synchronous_compositing_;
252
251 bool inside_draw_; 253 bool inside_draw_;
252 254
253 bool defer_commits_; 255 bool defer_commits_;
254 scoped_ptr<BeginFrameAndCommitState> pending_deferred_commit_; 256 scoped_ptr<BeginFrameAndCommitState> pending_deferred_commit_;
255 257
256 base::TimeTicks smoothness_takes_priority_expiration_time_; 258 base::TimeTicks smoothness_takes_priority_expiration_time_;
257 bool renew_tree_priority_on_impl_thread_pending_; 259 bool renew_tree_priority_on_impl_thread_pending_;
258 260
259 DISALLOW_COPY_AND_ASSIGN(ThreadProxy); 261 DISALLOW_COPY_AND_ASSIGN(ThreadProxy);
260 }; 262 };
261 263
262 } // namespace cc 264 } // namespace cc
263 265
264 #endif // CC_TREES_THREAD_PROXY_H_ 266 #endif // CC_TREES_THREAD_PROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698