Index: gpu/command_buffer/service/feature_info.cc |
=================================================================== |
--- gpu/command_buffer/service/feature_info.cc (revision 186458) |
+++ gpu/command_buffer/service/feature_info.cc (working copy) |
@@ -94,7 +94,6 @@ |
restore_scissor_on_fbo_change(false), |
flush_on_context_switch(false), |
delete_instead_of_resize_fbo(false), |
- use_client_side_arrays_for_stream_buffers(false), |
max_texture_size(0), |
max_cube_map_texture_size(0) { |
} |
@@ -169,7 +168,6 @@ |
bool is_mesa = false; |
bool is_qualcomm = false; |
bool is_imagination = false; |
- bool is_arm = false; |
for (size_t ii = 0; ii < arraysize(string_ids); ++ii) { |
const char* str = reinterpret_cast<const char*>( |
glGetString(string_ids[ii])); |
@@ -182,7 +180,6 @@ |
is_mesa |= string_set.Contains("mesa"); |
is_qualcomm |= string_set.Contains("qualcomm"); |
is_imagination |= string_set.Contains("imagination"); |
- is_arm |= string_set.Contains("arm"); |
} |
} |
@@ -194,6 +191,7 @@ |
!CommandLine::ForCurrentProcess()->HasSwitch( |
switches::kDisableShaderNameHashing); |
+ |
bool npot_ok = false; |
AddExtensionString("GL_ANGLE_translated_shader_source"); |
@@ -339,19 +337,6 @@ |
feature_flags_.native_vertex_array_object = true; |
} |
- // If the driver doesn't like uploading lots of buffer data constantly |
- // work around it by using client side arrays. |
- if (is_arm || is_imagination) { |
- workarounds_.use_client_side_arrays_for_stream_buffers = true; |
- } |
- |
- // If we're using client_side_arrays we have to emulate |
- // vertex array objects since vertex array objects do not work |
- // with client side arrays. |
- if (workarounds_.use_client_side_arrays_for_stream_buffers) { |
- feature_flags_.native_vertex_array_object = false; |
- } |
- |
if (extensions.Contains("GL_OES_element_index_uint") || |
gfx::HasDesktopGLFeatures()) { |
AddExtensionString("GL_OES_element_index_uint"); |