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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: cc/trees/layer_tree_settings.h
diff --git a/cc/trees/layer_tree_settings.h b/cc/trees/layer_tree_settings.h
index c0c145380373eac2f770f491bf5f40b5cfea391f..5d61231f615a0e346702acdaa4416246934facc9 100644
--- a/cc/trees/layer_tree_settings.h
+++ b/cc/trees/layer_tree_settings.h
@@ -79,6 +79,13 @@ class CC_EXPORT LayerTreeSettings {
bool use_occlusion_for_tile_prioritization;
bool record_full_layer;
+ enum TextureTargetPrefs {
+ USE_DEFAULT_TEXTURE_TARGET,
+ FORCE_TEXTURE_2D_TARGET,
+ FORCE_TEXTURE_RECT_TARGET,
reveman 2014/10/22 12:40:39 I think TEXTURE_EXTERNAL_OES should be part of thi
+ };
+ 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
+
LayerTreeDebugState initial_debug_state;
};

Powered by Google App Engine
This is Rietveld 408576698