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

Unified Diff: ui/gfx/gl/gl_context_glx.cc

Issue 8233027: Support dynamic switching between integrated and discrete GPUs on Mac OS X. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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
Index: ui/gfx/gl/gl_context_glx.cc
===================================================================
--- ui/gfx/gl/gl_context_glx.cc (revision 105158)
+++ ui/gfx/gl/gl_context_glx.cc (working copy)
@@ -53,7 +53,8 @@
Destroy();
}
-bool GLContextGLX::Initialize(GLSurface* compatible_surface) {
+bool GLContextGLX::Initialize(
+ GLSurface* compatible_surface, GpuPreference gpu_preference) {
GLSurfaceGLX* surface_glx = static_cast<GLSurfaceGLX*>(compatible_surface);
GLXContext share_handle = static_cast<GLXContext>(

Powered by Google App Engine
This is Rietveld 408576698