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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 unsigned best_texture_format; | 76 unsigned best_texture_format; |
77 bool using_partial_swap; | 77 bool using_partial_swap; |
78 bool using_set_visibility; | 78 bool using_set_visibility; |
79 bool using_egl_image; | 79 bool using_egl_image; |
80 bool allow_partial_texture_updates; | 80 bool allow_partial_texture_updates; |
81 bool using_offscreen_context3d; | 81 bool using_offscreen_context3d; |
82 int max_texture_size; | 82 int max_texture_size; |
83 bool avoid_pow2_textures; | 83 bool avoid_pow2_textures; |
84 bool using_map_image; | 84 bool using_map_image; |
85 bool using_shared_memory_resources; | 85 bool using_shared_memory_resources; |
| 86 bool using_discard_framebuffer; |
86 }; | 87 }; |
87 | 88 |
88 struct CC_EXPORT UIResourceRequest { | 89 struct CC_EXPORT UIResourceRequest { |
89 enum UIResourceRequestType { | 90 enum UIResourceRequestType { |
90 UIResourceCreate, | 91 UIResourceCreate, |
91 UIResourceDelete, | 92 UIResourceDelete, |
92 UIResourceInvalidRequest | 93 UIResourceInvalidRequest |
93 }; | 94 }; |
94 | 95 |
95 UIResourceRequest(); | 96 UIResourceRequest(); |
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
418 }; | 419 }; |
419 LCDTextMetrics lcd_text_metrics_; | 420 LCDTextMetrics lcd_text_metrics_; |
420 int tree_id_; | 421 int tree_id_; |
421 | 422 |
422 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); | 423 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); |
423 }; | 424 }; |
424 | 425 |
425 } // namespace cc | 426 } // namespace cc |
426 | 427 |
427 #endif // CC_TREES_LAYER_TREE_HOST_H_ | 428 #endif // CC_TREES_LAYER_TREE_HOST_H_ |
OLD | NEW |