Chromium Code Reviews| Index: ui/gl/gl_context_cgl.h |
| =================================================================== |
| --- ui/gl/gl_context_cgl.h (revision 158081) |
| +++ ui/gl/gl_context_cgl.h (working copy) |
| @@ -30,6 +30,10 @@ |
| virtual void SetSwapInterval(int interval) OVERRIDE; |
| virtual bool GetTotalGpuMemory(size_t* bytes) OVERRIDE; |
| + // Helper for dual-GPU support on systems where this is necessary |
| + // for stability reasons. |
| + static void ForceUseOfDiscreteGPU(); |
| + |
| protected: |
| virtual ~GLContextCGL(); |