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 ab6c19a0aa285e2ed2a0091d242d27fb2c0e7940..1545e38ee3c90e17e7439d159c8f941c78712ded 100644 |
--- a/gpu/command_buffer/service/feature_info.h |
+++ b/gpu/command_buffer/service/feature_info.h |
@@ -32,67 +32,68 @@ class GPU_EXPORT FeatureInfo : public base::RefCounted<FeatureInfo> { |
struct FeatureFlags { |
FeatureFlags(); |
- bool chromium_framebuffer_multisample; |
- bool chromium_sync_query; |
+ bool chromium_framebuffer_multisample = false; |
+ bool chromium_sync_query = false; |
// Use glBlitFramebuffer() and glRenderbufferStorageMultisample() with |
// GL_EXT_framebuffer_multisample-style semantics, since they are exposed |
// as core GL functions on this implementation. |
- bool use_core_framebuffer_multisample; |
- bool multisampled_render_to_texture; |
+ bool use_core_framebuffer_multisample = false; |
+ bool multisampled_render_to_texture = false; |
// Use the IMG GLenum values and functions rather than EXT. |
- bool use_img_for_multisampled_render_to_texture; |
- bool chromium_screen_space_antialiasing; |
- bool use_chromium_screen_space_antialiasing_via_shaders; |
- bool oes_standard_derivatives; |
- bool oes_egl_image_external; |
- bool nv_egl_stream_consumer_external; |
- bool oes_depth24; |
- bool oes_compressed_etc1_rgb8_texture; |
- bool packed_depth24_stencil8; |
- bool npot_ok; |
- bool enable_texture_float_linear; |
- bool enable_texture_half_float_linear; |
- bool angle_translated_shader_source; |
- bool angle_pack_reverse_row_order; |
- bool arb_texture_rectangle; |
- bool angle_instanced_arrays; |
- bool occlusion_query; |
- bool occlusion_query_boolean; |
- bool use_arb_occlusion_query2_for_occlusion_query_boolean; |
- bool use_arb_occlusion_query_for_occlusion_query_boolean; |
- bool native_vertex_array_object; |
- bool ext_texture_format_astc; |
- bool ext_texture_format_atc; |
- bool ext_texture_format_bgra8888; |
- bool ext_texture_format_dxt1; |
- bool ext_texture_format_dxt5; |
- bool enable_shader_name_hashing; |
- bool enable_samplers; |
- bool ext_draw_buffers; |
- bool nv_draw_buffers; |
- bool ext_frag_depth; |
- bool ext_shader_texture_lod; |
- bool use_async_readpixels; |
- bool map_buffer_range; |
- bool ext_discard_framebuffer; |
- bool angle_depth_texture; |
- bool is_swiftshader; |
- bool angle_texture_usage; |
- bool ext_texture_storage; |
- bool chromium_path_rendering; |
- bool chromium_framebuffer_mixed_samples; |
- bool blend_equation_advanced; |
- bool blend_equation_advanced_coherent; |
- bool ext_texture_rg; |
- bool chromium_image_ycbcr_420v; |
- bool chromium_image_ycbcr_422; |
- bool emulate_primitive_restart_fixed_index; |
- bool ext_render_buffer_format_bgra8888; |
- bool ext_multisample_compatibility; |
- bool ext_blend_func_extended; |
- bool ext_read_format_bgra; |
- bool desktop_srgb_support; |
- bool arb_es3_compatibility; |
+ bool use_img_for_multisampled_render_to_texture = false; |
+ bool chromium_screen_space_antialiasing = false; |
+ bool use_chromium_screen_space_antialiasing_via_shaders = false; |
+ bool oes_standard_derivatives = false; |
+ bool oes_egl_image_external = false; |
+ bool nv_egl_stream_consumer_external = false; |
+ bool oes_depth24 = false; |
+ bool oes_compressed_etc1_rgb8_texture = false; |
+ bool packed_depth24_stencil8 = false; |
+ bool npot_ok = false; |
+ bool enable_texture_float_linear = false; |
+ bool enable_texture_half_float_linear = false; |
+ bool enable_color_buffer_float = false; |
+ bool angle_translated_shader_source = false; |
+ bool angle_pack_reverse_row_order = false; |
+ bool arb_texture_rectangle = false; |
+ bool angle_instanced_arrays = false; |
+ bool occlusion_query = false; |
+ bool occlusion_query_boolean = false; |
+ bool use_arb_occlusion_query2_for_occlusion_query_boolean = false; |
+ bool use_arb_occlusion_query_for_occlusion_query_boolean = false; |
+ bool native_vertex_array_object = false; |
+ bool ext_texture_format_astc = false; |
+ bool ext_texture_format_atc = false; |
+ bool ext_texture_format_bgra8888 = false; |
+ bool ext_texture_format_dxt1 = false; |
+ bool ext_texture_format_dxt5 = false; |
+ bool enable_shader_name_hashing = false; |
+ bool enable_samplers = false; |
+ bool ext_draw_buffers = false; |
+ bool nv_draw_buffers = false; |
+ bool ext_frag_depth = false; |
+ bool ext_shader_texture_lod = false; |
+ bool use_async_readpixels = false; |
+ bool map_buffer_range = false; |
+ bool ext_discard_framebuffer = false; |
+ bool angle_depth_texture = false; |
+ bool is_swiftshader = false; |
+ bool angle_texture_usage = false; |
+ bool ext_texture_storage = false; |
+ bool chromium_path_rendering = false; |
+ bool chromium_framebuffer_mixed_samples = false; |
+ bool blend_equation_advanced = false; |
+ bool blend_equation_advanced_coherent = false; |
+ bool ext_texture_rg = false; |
+ bool chromium_image_ycbcr_420v = false; |
+ bool chromium_image_ycbcr_422 = false; |
+ bool emulate_primitive_restart_fixed_index = false; |
+ bool ext_render_buffer_format_bgra8888 = false; |
+ bool ext_multisample_compatibility = false; |
+ bool ext_blend_func_extended = false; |
+ bool ext_read_format_bgra = false; |
+ bool desktop_srgb_support = false; |
+ bool arb_es3_compatibility = false; |
bool chromium_color_buffer_float_rgb = false; |
bool chromium_color_buffer_float_rgba = false; |
bool angle_robust_client_memory = false; |