| 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 <list> | 9 #include <list> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 unsigned best_texture_format; | 75 unsigned best_texture_format; |
| 76 bool using_partial_swap; | 76 bool using_partial_swap; |
| 77 bool using_set_visibility; | 77 bool using_set_visibility; |
| 78 bool using_egl_image; | 78 bool using_egl_image; |
| 79 bool allow_partial_texture_updates; | 79 bool allow_partial_texture_updates; |
| 80 bool using_offscreen_context3d; | 80 bool using_offscreen_context3d; |
| 81 int max_texture_size; | 81 int max_texture_size; |
| 82 bool avoid_pow2_textures; | 82 bool avoid_pow2_textures; |
| 83 bool using_map_image; | 83 bool using_map_image; |
| 84 bool using_shared_memory_resources; | 84 bool using_shared_memory_resources; |
| 85 bool using_discard_framebuffer; |
| 85 }; | 86 }; |
| 86 | 87 |
| 87 struct CC_EXPORT UIResourceRequest { | 88 struct CC_EXPORT UIResourceRequest { |
| 88 enum UIResourceRequestType { | 89 enum UIResourceRequestType { |
| 89 UIResourceCreate, | 90 UIResourceCreate, |
| 90 UIResourceDelete, | 91 UIResourceDelete, |
| 91 UIResourceInvalidRequest | 92 UIResourceInvalidRequest |
| 92 }; | 93 }; |
| 93 | 94 |
| 94 UIResourceRequest(); | 95 UIResourceRequest(); |
| (...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 411 }; | 412 }; |
| 412 LCDTextMetrics lcd_text_metrics_; | 413 LCDTextMetrics lcd_text_metrics_; |
| 413 int tree_id_; | 414 int tree_id_; |
| 414 | 415 |
| 415 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); | 416 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); |
| 416 }; | 417 }; |
| 417 | 418 |
| 418 } // namespace cc | 419 } // namespace cc |
| 419 | 420 |
| 420 #endif // CC_TREES_LAYER_TREE_HOST_H_ | 421 #endif // CC_TREES_LAYER_TREE_HOST_H_ |
| OLD | NEW |