Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(325)

Side by Side Diff: cc/trees/layer_tree_settings.h

Issue 668123003: cc: Support texture rect targets for masks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@base_for_texture_rect_changes
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698