| Index: gpu/command_buffer/service/gles2_cmd_decoder.cc
|
| ===================================================================
|
| --- gpu/command_buffer/service/gles2_cmd_decoder.cc (revision 195901)
|
| +++ gpu/command_buffer/service/gles2_cmd_decoder.cc (working copy)
|
| @@ -2574,6 +2574,12 @@
|
| glPointParameteri(GL_POINT_SPRITE_COORD_ORIGIN, GL_LOWER_LEFT);
|
| }
|
|
|
| +#if defined(OS_ANDROID)
|
| + if (feature_info_->workarounds().makecurrent_recreates_surfaces) {
|
| + context_->SetRecreateSurfaceOnMakeCurrent();
|
| + }
|
| +#endif
|
| +
|
| // Only compositor contexts are known to use only the subset of GL
|
| // that can be safely migrated between the iGPU and the dGPU. Mark
|
| // those contexts as safe to forcibly transition between the GPUs.
|
|
|