Chromium Code Reviews| Index: gpu/command_buffer/service/gles2_cmd_decoder.cc |
| diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.cc b/gpu/command_buffer/service/gles2_cmd_decoder.cc |
| index 671023b4bee5b161edd51f0ef0095fc6fd283d06..ed8b8f554699e71d3904280c37459b2d492bdc8b 100644 |
| --- a/gpu/command_buffer/service/gles2_cmd_decoder.cc |
| +++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc |
| @@ -3143,6 +3143,9 @@ Capabilities GLES2DecoderImpl::GetCapabilities() { |
| feature_info_->feature_flags().oes_compressed_etc1_rgb8_texture; |
| caps.texture_format_etc1_npot = |
| caps.texture_format_etc1 && !workarounds().etc1_power_of_two_only; |
| + caps.avoid_one_component_egl_images = |
|
no sievers
2016/03/08 01:14:49
nit: The client doesn't know anything about EGL im
Tobias Sargeant
2016/03/08 12:06:37
I renamed this to force_software_yuv_conversion. W
|
| + mailbox_manager()->UsesSync() && |
| + workarounds().avoid_one_component_egl_images; |
| caps.texture_rectangle = feature_info_->feature_flags().arb_texture_rectangle; |
| caps.texture_usage = feature_info_->feature_flags().angle_texture_usage; |
| caps.texture_storage = feature_info_->feature_flags().ext_texture_storage; |