Chromium Code Reviews| 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_SETTINGS_H_ | 5 #ifndef CC_TREES_LAYER_TREE_SETTINGS_H_ |
| 6 #define CC_TREES_LAYER_TREE_SETTINGS_H_ | 6 #define CC_TREES_LAYER_TREE_SETTINGS_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "cc/base/cc_export.h" | 9 #include "cc/base/cc_export.h" |
| 10 #include "cc/debug/layer_tree_debug_state.h" | 10 #include "cc/debug/layer_tree_debug_state.h" |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 72 int highp_threshold_min; | 72 int highp_threshold_min; |
| 73 bool strict_layer_property_change_checking; | 73 bool strict_layer_property_change_checking; |
| 74 bool use_one_copy; | 74 bool use_one_copy; |
| 75 bool use_zero_copy; | 75 bool use_zero_copy; |
| 76 bool ignore_root_layer_flings; | 76 bool ignore_root_layer_flings; |
| 77 bool use_rgba_4444_textures; | 77 bool use_rgba_4444_textures; |
| 78 size_t texture_id_allocation_chunk_size; | 78 size_t texture_id_allocation_chunk_size; |
| 79 bool use_occlusion_for_tile_prioritization; | 79 bool use_occlusion_for_tile_prioritization; |
| 80 bool record_full_layer; | 80 bool record_full_layer; |
| 81 | 81 |
| 82 enum TextureTargetPrefs { | |
| 83 USE_DEFAULT_TEXTURE_TARGET, | |
| 84 FORCE_TEXTURE_2D_TARGET, | |
| 85 FORCE_TEXTURE_RECT_TARGET, | |
|
reveman
2014/10/22 12:40:39
I think TEXTURE_EXTERNAL_OES should be part of thi
| |
| 86 }; | |
| 87 TextureTargetPrefs texture_target_prefs; | |
|
reveman
2014/10/22 12:40:39
I'd prefer if this was not a preference or overrid
enne (OOO)
2014/10/22 19:20:44
The problem here is conflicting requirements. Pro
reveman
2014/10/22 20:36:48
Hm, can we adjust capabilities for our testing nee
enne (OOO)
2014/10/22 21:14:30
How does this meet the testing need? A test could
reveman
2014/10/22 23:25:19
We should probably add a new capability field for
| |
| 88 | |
| 82 LayerTreeDebugState initial_debug_state; | 89 LayerTreeDebugState initial_debug_state; |
| 83 }; | 90 }; |
| 84 | 91 |
| 85 } // namespace cc | 92 } // namespace cc |
| 86 | 93 |
| 87 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_ | 94 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_ |
| OLD | NEW |