Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(167)

Unified Diff: ui/gl/gl_context_cgl.h

Issue 10959061: Revert 158076 - Implement blacklist's force GPU capability in dual GPU machines. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/gl/gl.gyp ('k') | ui/gl/gl_context_cgl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_context_cgl.h
===================================================================
--- ui/gl/gl_context_cgl.h (revision 158210)
+++ ui/gl/gl_context_cgl.h (working copy)
@@ -38,8 +38,15 @@
virtual ~GLContextCGL();
private:
+ // Expose ForceUseOfDiscreteGPU only to GLContext implementation.
+ friend class GLContext;
+
GpuPreference GetGpuPreference();
+ // Helper for dual-GPU support on systems where this is necessary
+ // for stability reasons.
+ static void ForceUseOfDiscreteGPU();
+
void* context_;
GpuPreference gpu_preference_;
« no previous file with comments | « ui/gl/gl.gyp ('k') | ui/gl/gl_context_cgl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698