Chromium Code Reviews| Index: gpu/command_buffer/service/gles2_cmd_decoder_passthrough.cc |
| diff --git a/gpu/command_buffer/service/gles2_cmd_decoder_passthrough.cc b/gpu/command_buffer/service/gles2_cmd_decoder_passthrough.cc |
| index 01838e344cd84d1e8614c535d3511ce4c2460799..efe4c77cb7efc69d223925eab1764389dd43ed1e 100644 |
| --- a/gpu/command_buffer/service/gles2_cmd_decoder_passthrough.cc |
| +++ b/gpu/command_buffer/service/gles2_cmd_decoder_passthrough.cc |
| @@ -176,7 +176,9 @@ bool GLES2DecoderPassthroughImpl::Initialize( |
| if (!feature_info_->feature_flags().angle_robust_client_memory || |
| !feature_info_->feature_flags().chromium_bind_generates_resource || |
| !feature_info_->feature_flags().chromium_copy_texture || |
| - !feature_info_->feature_flags().chromium_copy_compressed_texture) { |
| + !feature_info_->feature_flags().chromium_copy_compressed_texture || |
| + !feature_info_->feature_flags().angle_client_arrays || |
| + glIsEnabled(GL_CLIENT_ARRAYS_ANGLE) != GL_FALSE) { |
|
Zhenyao Mo
2017/02/16 21:59:45
So context creation should only continue if ANGLE_
Geoff Lang
2017/02/16 22:08:26
It continues only if the extension exists and the
|
| // TODO(geofflang): Verify that ANGLE_webgl_compatibility is enabled if this |
| // is a WebGL context (depends on crbug.com/671217). |
| Destroy(true); |