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 a7ca864576f3394cfd6a296a7497ea8559146190..059c4db852715e7712929f4958fbc0f8419f3eb6 100644 |
--- a/gpu/command_buffer/service/feature_info.cc |
+++ b/gpu/command_buffer/service/feature_info.cc |
@@ -92,6 +92,7 @@ FeatureInfo::Workarounds::Workarounds() |
reverse_point_sprite_coord_origin(false), |
set_texture_filter_before_generating_mipmap(false), |
use_current_program_after_successful_link(false), |
+ restore_scissor_on_fbo_change(false), |
max_texture_size(0), |
max_cube_map_texture_size(0) { |
} |
@@ -671,6 +672,10 @@ void FeatureInfo::AddFeatures(const char* desired_features) { |
workarounds_.use_current_program_after_successful_link = true; |
} |
+ if (is_qualcomm) { |
+ workarounds_.restore_scissor_on_fbo_change = true; |
+ } |
+ |
#if defined(OS_MACOSX) |
workarounds_.needs_offscreen_buffer_workaround = is_nvidia; |
workarounds_.needs_glsl_built_in_function_emulation = is_amd; |