| 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_H_ | 5 #ifndef CC_TREES_LAYER_TREE_HOST_H_ |
| 6 #define CC_TREES_LAYER_TREE_HOST_H_ | 6 #define CC_TREES_LAYER_TREE_HOST_H_ |
| 7 | 7 |
| 8 #include <limits> | 8 #include <limits> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 bool using_partial_swap; | 75 bool using_partial_swap; |
| 76 bool using_accelerated_painting; | 76 bool using_accelerated_painting; |
| 77 bool using_set_visibility; | 77 bool using_set_visibility; |
| 78 bool using_swap_complete_callback; | 78 bool using_swap_complete_callback; |
| 79 bool using_gpu_memory_manager; | 79 bool using_gpu_memory_manager; |
| 80 bool using_egl_image; | 80 bool using_egl_image; |
| 81 bool allow_partial_texture_updates; | 81 bool allow_partial_texture_updates; |
| 82 bool using_offscreen_context3d; | 82 bool using_offscreen_context3d; |
| 83 int max_texture_size; | 83 int max_texture_size; |
| 84 bool avoid_pow2_textures; | 84 bool avoid_pow2_textures; |
| 85 bool using_map_image; |
| 85 }; | 86 }; |
| 86 | 87 |
| 87 class CC_EXPORT LayerTreeHost : NON_EXPORTED_BASE(public RateLimiterClient) { | 88 class CC_EXPORT LayerTreeHost : NON_EXPORTED_BASE(public RateLimiterClient) { |
| 88 public: | 89 public: |
| 89 static scoped_ptr<LayerTreeHost> Create(LayerTreeHostClient* client, | 90 static scoped_ptr<LayerTreeHost> Create(LayerTreeHostClient* client, |
| 90 const LayerTreeSettings& settings, | 91 const LayerTreeSettings& settings, |
| 91 scoped_ptr<Thread> impl_thread); | 92 scoped_ptr<Thread> impl_thread); |
| 92 virtual ~LayerTreeHost(); | 93 virtual ~LayerTreeHost(); |
| 93 | 94 |
| 94 void SetLayerTreeHostClientReady(); | 95 void SetLayerTreeHostClientReady(); |
| (...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 344 bool in_paint_layer_contents_; | 345 bool in_paint_layer_contents_; |
| 345 | 346 |
| 346 LatencyInfo latency_info_; | 347 LatencyInfo latency_info_; |
| 347 | 348 |
| 348 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); | 349 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); |
| 349 }; | 350 }; |
| 350 | 351 |
| 351 } // namespace cc | 352 } // namespace cc |
| 352 | 353 |
| 353 #endif // CC_TREES_LAYER_TREE_HOST_H_ | 354 #endif // CC_TREES_LAYER_TREE_HOST_H_ |
| OLD | NEW |