| Index: ui/gl/gl_context.h
|
| diff --git a/ui/gl/gl_context.h b/ui/gl/gl_context.h
|
| index 372f51380e80ce8b308b83ba3869aaf66e2750e3..cdebd686b33eea7f994c4de880d57490cd14298d 100644
|
| --- a/ui/gl/gl_context.h
|
| +++ b/ui/gl/gl_context.h
|
| @@ -90,6 +90,10 @@ class GL_EXPORT GLContext : public base::RefCounted<GLContext> {
|
| // transitioning can cause corruption and hangs (OS X only).
|
| virtual void SetSafeToForceGpuSwitch();
|
|
|
| + // Attempt to force the context to move to the GPU of its sharegroup. Return
|
| + // false only in the event of an unexpected error on the context.
|
| + virtual bool ForceGpuSwitchIfNeeded();
|
| +
|
| // Indicate that the real context switches should unbind the FBO first
|
| // (For an Android work-around only).
|
| virtual void SetUnbindFboOnMakeCurrent();
|
|
|