| Index: gpu/command_buffer/service/gl_context_virtual.cc
|
| ===================================================================
|
| --- gpu/command_buffer/service/gl_context_virtual.cc (revision 194412)
|
| +++ gpu/command_buffer/service/gl_context_virtual.cc (working copy)
|
| @@ -91,6 +91,13 @@
|
| return shared_context_->GetTotalGpuMemory(bytes);
|
| }
|
|
|
| +void GLContextVirtual::SetSafeToForceGpuSwitch() {
|
| + // TODO(ccameron): This will not work if two contexts that disagree
|
| + // about whether or not forced gpu switching may be done both share
|
| + // the same underlying shared_context_.
|
| + return shared_context_->SetSafeToForceGpuSwitch();
|
| +}
|
| +
|
| bool GLContextVirtual::WasAllocatedUsingRobustnessExtension() {
|
| return shared_context_->WasAllocatedUsingRobustnessExtension();
|
| }
|
|
|