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

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

Issue 2695063003: Hook up the ANGLE extensions for disabling client-side data. (Closed)
Patch Set: rebase 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.cc ('k') | media/gpu/rendering_helper.h » ('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_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) {
// TODO(geofflang): Verify that ANGLE_webgl_compatibility is enabled if this
// is a WebGL context (depends on crbug.com/671217).
Destroy(true);
« no previous file with comments | « gpu/command_buffer/service/feature_info.cc ('k') | media/gpu/rendering_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698