| Index: ui/gl/gl_context_cgl.h
|
| ===================================================================
|
| --- ui/gl/gl_context_cgl.h (revision 194412)
|
| +++ ui/gl/gl_context_cgl.h (working copy)
|
| @@ -29,6 +29,7 @@
|
| virtual void* GetHandle() OVERRIDE;
|
| virtual void SetSwapInterval(int interval) OVERRIDE;
|
| virtual bool GetTotalGpuMemory(size_t* bytes) OVERRIDE;
|
| + virtual void SetSafeToForceGpuSwitch() OVERRIDE;
|
|
|
| protected:
|
| virtual ~GLContextCGL();
|
| @@ -43,6 +44,7 @@
|
|
|
| int screen_;
|
| int renderer_id_;
|
| + bool safe_to_force_gpu_switch_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(GLContextCGL);
|
| };
|
|
|