| 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_LAYER_TREE_HOST_IMPL_H_ | 5 #ifndef CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
| 6 #define CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 6 #define CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <bitset> | 10 #include <bitset> |
| (...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 408 } | 408 } |
| 409 | 409 |
| 410 bool create_low_res_tiling() const { | 410 bool create_low_res_tiling() const { |
| 411 return settings_.create_low_res_tiling && !use_gpu_rasterization_; | 411 return settings_.create_low_res_tiling && !use_gpu_rasterization_; |
| 412 } | 412 } |
| 413 ResourcePool* resource_pool() { return resource_pool_.get(); } | 413 ResourcePool* resource_pool() { return resource_pool_.get(); } |
| 414 ImageDecodeCache* image_decode_cache() { return image_decode_cache_.get(); } | 414 ImageDecodeCache* image_decode_cache() { return image_decode_cache_.get(); } |
| 415 | 415 |
| 416 virtual void WillBeginImplFrame(const BeginFrameArgs& args); | 416 virtual void WillBeginImplFrame(const BeginFrameArgs& args); |
| 417 virtual void DidFinishImplFrame(); | 417 virtual void DidFinishImplFrame(); |
| 418 void BeginFrameDidNotProduceFrame(const BeginFrameAck& ack); |
| 418 void DidModifyTilePriorities(); | 419 void DidModifyTilePriorities(); |
| 419 | 420 |
| 420 LayerTreeImpl* active_tree() { return active_tree_.get(); } | 421 LayerTreeImpl* active_tree() { return active_tree_.get(); } |
| 421 const LayerTreeImpl* active_tree() const { return active_tree_.get(); } | 422 const LayerTreeImpl* active_tree() const { return active_tree_.get(); } |
| 422 LayerTreeImpl* pending_tree() { return pending_tree_.get(); } | 423 LayerTreeImpl* pending_tree() { return pending_tree_.get(); } |
| 423 const LayerTreeImpl* pending_tree() const { return pending_tree_.get(); } | 424 const LayerTreeImpl* pending_tree() const { return pending_tree_.get(); } |
| 424 LayerTreeImpl* recycle_tree() { return recycle_tree_.get(); } | 425 LayerTreeImpl* recycle_tree() { return recycle_tree_.get(); } |
| 425 const LayerTreeImpl* recycle_tree() const { return recycle_tree_.get(); } | 426 const LayerTreeImpl* recycle_tree() const { return recycle_tree_.get(); } |
| 426 // Returns the tree LTH synchronizes with. | 427 // Returns the tree LTH synchronizes with. |
| 427 LayerTreeImpl* sync_tree() const { | 428 LayerTreeImpl* sync_tree() const { |
| (...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 878 bool touchpad_and_wheel_scroll_latching_enabled_; | 879 bool touchpad_and_wheel_scroll_latching_enabled_; |
| 879 | 880 |
| 880 ImplThreadPhase impl_thread_phase_; | 881 ImplThreadPhase impl_thread_phase_; |
| 881 | 882 |
| 882 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); | 883 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
| 883 }; | 884 }; |
| 884 | 885 |
| 885 } // namespace cc | 886 } // namespace cc |
| 886 | 887 |
| 887 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 888 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
| OLD | NEW |