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

Unified Diff: content/plugin/webplugin_accelerated_surface_proxy_mac.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
« no previous file with comments | « content/gpu/gpu_info_collector.cc ('k') | content/plugin/webplugin_accelerated_surface_proxy_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/plugin/webplugin_accelerated_surface_proxy_mac.h
===================================================================
--- content/plugin/webplugin_accelerated_surface_proxy_mac.h (revision 105357)
+++ content/plugin/webplugin_accelerated_surface_proxy_mac.h (working copy)
@@ -6,6 +6,7 @@
#define CONTENT_PLUGIN_WEBPLUGIN_ACCELERATED_SURFACE_PROXY_H_
#pragma once
+#include "ui/gfx/gl/gpu_preference.h"
#include "webkit/plugins/npapi/webplugin_accelerated_surface_mac.h"
class WebPluginProxy;
@@ -18,7 +19,8 @@
public:
// Creates a new WebPluginAcceleratedSurfaceProxy that uses plugin_proxy
// to proxy calls. plugin_proxy must outlive this object.
- WebPluginAcceleratedSurfaceProxy(WebPluginProxy* plugin_proxy);
+ WebPluginAcceleratedSurfaceProxy(WebPluginProxy* plugin_proxy,
+ gfx::GpuPreference gpu_preference);
virtual ~WebPluginAcceleratedSurfaceProxy();
// WebPluginAcceleratedSurface implementation.
« no previous file with comments | « content/gpu/gpu_info_collector.cc ('k') | content/plugin/webplugin_accelerated_surface_proxy_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698