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

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

Issue 2674493003: Add compositor support for half-float RGBA buffers and textures (Closed)
Patch Set: Don't enable on non-ES3 yet 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/feature_info.h ('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/feature_info.cc
diff --git a/gpu/command_buffer/service/feature_info.cc b/gpu/command_buffer/service/feature_info.cc
index ff83e018b3293f0ca74c4fddbfdd39d9c0fc691c..e8b838505add6ffdc5b002ffc0116b834c7a6a3f 100644
--- a/gpu/command_buffer/service/feature_info.cc
+++ b/gpu/command_buffer/service/feature_info.cc
@@ -108,64 +108,7 @@ class ScopedPixelUnpackBufferOverride {
} // anonymous namespace.
-FeatureInfo::FeatureFlags::FeatureFlags()
- : chromium_framebuffer_multisample(false),
- chromium_sync_query(false),
- use_core_framebuffer_multisample(false),
- multisampled_render_to_texture(false),
- use_img_for_multisampled_render_to_texture(false),
- chromium_screen_space_antialiasing(false),
- use_chromium_screen_space_antialiasing_via_shaders(false),
- oes_standard_derivatives(false),
- oes_egl_image_external(false),
- nv_egl_stream_consumer_external(false),
- oes_depth24(false),
- oes_compressed_etc1_rgb8_texture(false),
- packed_depth24_stencil8(false),
- npot_ok(false),
- enable_texture_float_linear(false),
- enable_texture_half_float_linear(false),
- angle_translated_shader_source(false),
- angle_pack_reverse_row_order(false),
- arb_texture_rectangle(false),
- angle_instanced_arrays(false),
- occlusion_query(false),
- occlusion_query_boolean(false),
- use_arb_occlusion_query2_for_occlusion_query_boolean(false),
- use_arb_occlusion_query_for_occlusion_query_boolean(false),
- native_vertex_array_object(false),
- ext_texture_format_astc(false),
- ext_texture_format_atc(false),
- ext_texture_format_bgra8888(false),
- ext_texture_format_dxt1(false),
- ext_texture_format_dxt5(false),
- enable_shader_name_hashing(false),
- enable_samplers(false),
- ext_draw_buffers(false),
- nv_draw_buffers(false),
- ext_frag_depth(false),
- ext_shader_texture_lod(false),
- use_async_readpixels(false),
- map_buffer_range(false),
- ext_discard_framebuffer(false),
- angle_depth_texture(false),
- is_swiftshader(false),
- angle_texture_usage(false),
- ext_texture_storage(false),
- chromium_path_rendering(false),
- chromium_framebuffer_mixed_samples(false),
- blend_equation_advanced(false),
- blend_equation_advanced_coherent(false),
- ext_texture_rg(false),
- chromium_image_ycbcr_420v(false),
- chromium_image_ycbcr_422(false),
- emulate_primitive_restart_fixed_index(false),
- ext_render_buffer_format_bgra8888(false),
- ext_multisample_compatibility(false),
- ext_blend_func_extended(false),
- ext_read_format_bgra(false),
- desktop_srgb_support(false),
- arb_es3_compatibility(false) {}
+FeatureInfo::FeatureFlags::FeatureFlags() {}
FeatureInfo::FeatureInfo() {
InitializeBasicState(base::CommandLine::InitializedForCurrentProcess()
@@ -289,6 +232,7 @@ void FeatureInfo::EnableEXTColorBufferFloat() {
GL_RGBA32F);
validators_.texture_sized_color_renderable_internal_format.AddValue(
GL_R11F_G11F_B10F);
+ feature_flags_.enable_color_buffer_float = true;
}
void FeatureInfo::EnableCHROMIUMColorBufferFloatRGBA() {
« no previous file with comments | « gpu/command_buffer/service/feature_info.h ('k') | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698