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

Unified Diff: content/renderer/gpu/webgraphicscontext3d_command_buffer_impl.h

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: content/renderer/gpu/webgraphicscontext3d_command_buffer_impl.h
===================================================================
--- content/renderer/gpu/webgraphicscontext3d_command_buffer_impl.h (revision 105158)
+++ content/renderer/gpu/webgraphicscontext3d_command_buffer_impl.h (working copy)
@@ -17,6 +17,7 @@
#include "third_party/WebKit/Source/WebKit/chromium/public/WebGraphicsContext3D.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h"
+#include "ui/gfx/gl/gpu_preference.h"
#include "ui/gfx/native_widget_types.h"
#if !defined(OS_MACOSX)
@@ -478,6 +479,7 @@
swapbuffers_complete_callback_;
WebKit::WebGraphicsContext3D::Attributes attributes_;
+ gfx::GpuPreference gpu_preference_;
int cached_width_, cached_height_;
// For tracking which FBO is bound.

Powered by Google App Engine
This is Rietveld 408576698