OLD | NEW |
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 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
242 CompletionEvent* texture_acquisition_completion_event_on_impl_thread_; | 242 CompletionEvent* texture_acquisition_completion_event_on_impl_thread_; |
243 | 243 |
244 scoped_ptr<ResourceUpdateController> | 244 scoped_ptr<ResourceUpdateController> |
245 current_resource_update_controller_on_impl_thread_; | 245 current_resource_update_controller_on_impl_thread_; |
246 | 246 |
247 // Set when the next draw should post DidCommitAndDrawFrame to the main | 247 // Set when the next draw should post DidCommitAndDrawFrame to the main |
248 // thread. | 248 // thread. |
249 bool next_frame_is_newly_committed_frame_on_impl_thread_; | 249 bool next_frame_is_newly_committed_frame_on_impl_thread_; |
250 | 250 |
251 bool throttle_frame_production_; | 251 bool throttle_frame_production_; |
252 bool render_parent_drives_begin_frame__; | 252 bool begin_frame_scheduling_enabled_; |
253 bool using_synchronous_renderer_compositor_; | 253 bool using_synchronous_renderer_compositor_; |
254 VSyncClient* vsync_client_; | 254 VSyncClient* vsync_client_; |
255 | 255 |
256 bool inside_draw_; | 256 bool inside_draw_; |
257 | 257 |
258 bool defer_commits_; | 258 bool defer_commits_; |
259 scoped_ptr<BeginFrameAndCommitState> pending_deferred_commit_; | 259 scoped_ptr<BeginFrameAndCommitState> pending_deferred_commit_; |
260 | 260 |
261 base::TimeTicks smoothness_takes_priority_expiration_time_; | 261 base::TimeTicks smoothness_takes_priority_expiration_time_; |
262 bool renew_tree_priority_on_impl_thread_pending_; | 262 bool renew_tree_priority_on_impl_thread_pending_; |
263 | 263 |
264 DISALLOW_COPY_AND_ASSIGN(ThreadProxy); | 264 DISALLOW_COPY_AND_ASSIGN(ThreadProxy); |
265 }; | 265 }; |
266 | 266 |
267 } // namespace cc | 267 } // namespace cc |
268 | 268 |
269 #endif // CC_TREES_THREAD_PROXY_H_ | 269 #endif // CC_TREES_THREAD_PROXY_H_ |
OLD | NEW |