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

Unified Diff: gpu/command_buffer/service/feature_info.h

Issue 2117183006: gpu: Clarify sized texture format is available only if ES3 context or immutable texture is supported (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix oes-texture-float.html Created 4 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: gpu/command_buffer/service/feature_info.h
diff --git a/gpu/command_buffer/service/feature_info.h b/gpu/command_buffer/service/feature_info.h
index 57ac4f449c805db7e14e215dd9a57875bb192e15..9038ca8222977b6f9b223879ea10a7a0eb264368 100644
--- a/gpu/command_buffer/service/feature_info.h
+++ b/gpu/command_buffer/service/feature_info.h
@@ -92,6 +92,8 @@ class GPU_EXPORT FeatureInfo : public base::RefCounted<FeatureInfo> {
bool ext_read_format_bgra;
bool desktop_srgb_support;
bool arb_es3_compatibility;
+ bool chromium_color_buffer_float_rgb = false;
+ bool chromium_color_buffer_float_rgba = false;
};
FeatureInfo();
@@ -189,8 +191,6 @@ class GPU_EXPORT FeatureInfo : public base::RefCounted<FeatureInfo> {
bool unsafe_es3_apis_enabled_;
- bool chromium_color_buffer_float_rgba_available_;
- bool chromium_color_buffer_float_rgb_available_;
bool ext_color_buffer_float_available_;
bool oes_texture_float_linear_available_;
bool oes_texture_half_float_linear_available_;
« no previous file with comments | « no previous file | gpu/command_buffer/service/feature_info.cc » ('j') | gpu/command_buffer/service/texture_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698