Chromium Code Reviews| 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 0c1813916f9b40cb55941997f73df8b751ae851e..4fcab22accfed798d226d8a3b0f53b1d1587174e 100644 |
| --- a/gpu/command_buffer/service/feature_info.cc |
| +++ b/gpu/command_buffer/service/feature_info.cc |
| @@ -230,6 +230,9 @@ void FeatureInfo::AddFeatures(const CommandLine& command_line) { |
| if (is_vivante) { |
| workarounds_.unbind_fbo_on_context_switch = true; |
| } |
| + if (is_imagination) { |
|
greggman
2013/05/03 18:28:09
I'd prefer to only set the switch once (merge this
|
| + workarounds_.unbind_fbo_on_context_switch = true; |
| + } |
| #if defined(OS_MACOSX) |
| workarounds_.needs_offscreen_buffer_workaround = is_nvidia; |
| workarounds_.needs_glsl_built_in_function_emulation = is_amd; |