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

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

Issue 2713553005: Add GL_EXT_color_buffer_half_float support (Closed)
Patch Set: Fix compile error Created 3 years, 10 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
« no previous file with comments | « gpu/command_buffer/service/framebuffer_manager.cc ('k') | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/gles2_cmd_decoder.h
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.h b/gpu/command_buffer/service/gles2_cmd_decoder.h
index ae22695178503e14cb78f016cf9b56a69d4d95b0..c53b5224c6b935b198d37cd56af4311096714f29 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder.h
+++ b/gpu/command_buffer/service/gles2_cmd_decoder.h
@@ -54,31 +54,25 @@ struct ContextCreationAttribHelper;
struct ContextState;
struct DisallowedFeatures {
- DisallowedFeatures()
- : gpu_memory_manager(false),
- npot_support(false),
- chromium_color_buffer_float_rgba(false),
- chromium_color_buffer_float_rgb(false),
- ext_color_buffer_float(false),
- oes_texture_float_linear(false),
- oes_texture_half_float_linear(false) {
- }
+ DisallowedFeatures() {}
void AllowExtensions() {
chromium_color_buffer_float_rgba = false;
chromium_color_buffer_float_rgb = false;
ext_color_buffer_float = false;
+ ext_color_buffer_half_float = false;
oes_texture_float_linear = false;
oes_texture_half_float_linear = false;
}
- bool gpu_memory_manager;
- bool npot_support;
- bool chromium_color_buffer_float_rgba;
- bool chromium_color_buffer_float_rgb;
- bool ext_color_buffer_float;
- bool oes_texture_float_linear;
- bool oes_texture_half_float_linear;
+ bool gpu_memory_manager = false;
+ bool npot_support = false;
+ bool chromium_color_buffer_float_rgba = false;
+ bool chromium_color_buffer_float_rgb = false;
+ bool ext_color_buffer_float = false;
+ bool ext_color_buffer_half_float = false;
+ bool oes_texture_float_linear = false;
+ bool oes_texture_half_float_linear = false;
};
typedef base::Callback<void(const std::string& key,
« no previous file with comments | « gpu/command_buffer/service/framebuffer_manager.cc ('k') | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698