| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 UI_COMPOSITOR_COMPOSITOR_H_ | 5 #ifndef UI_COMPOSITOR_COMPOSITOR_H_ |
| 6 #define UI_COMPOSITOR_COMPOSITOR_H_ | 6 #define UI_COMPOSITOR_COMPOSITOR_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/hash_tables.h" | 10 #include "base/hash_tables.h" |
| (...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 352 // Used to verify that we have at most one draw swap in flight. | 352 // Used to verify that we have at most one draw swap in flight. |
| 353 scoped_ptr<PostedSwapQueue> posted_swaps_; | 353 scoped_ptr<PostedSwapQueue> posted_swaps_; |
| 354 | 354 |
| 355 // The device scale factor of the monitor that this compositor is compositing | 355 // The device scale factor of the monitor that this compositor is compositing |
| 356 // layers on. | 356 // layers on. |
| 357 float device_scale_factor_; | 357 float device_scale_factor_; |
| 358 | 358 |
| 359 int last_started_frame_; | 359 int last_started_frame_; |
| 360 int last_ended_frame_; | 360 int last_ended_frame_; |
| 361 | 361 |
| 362 bool is_resizing_; |
| 363 |
| 362 bool disable_schedule_composite_; | 364 bool disable_schedule_composite_; |
| 363 | 365 |
| 364 CompositorLock* compositor_lock_; | 366 CompositorLock* compositor_lock_; |
| 365 | 367 |
| 366 DISALLOW_COPY_AND_ASSIGN(Compositor); | 368 DISALLOW_COPY_AND_ASSIGN(Compositor); |
| 367 }; | 369 }; |
| 368 | 370 |
| 369 } // namespace ui | 371 } // namespace ui |
| 370 | 372 |
| 371 #endif // UI_COMPOSITOR_COMPOSITOR_H_ | 373 #endif // UI_COMPOSITOR_COMPOSITOR_H_ |
| OLD | NEW |