diff options
author | stuartmorgan@chromium.org <stuartmorgan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-23 17:46:07 +0000 |
---|---|---|
committer | stuartmorgan@chromium.org <stuartmorgan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-23 17:46:07 +0000 |
commit | 3773020c131d144f0e0e1d849227b34d7c4cf6e1 (patch) | |
tree | 41149e9430a021044a811864c974aed26a89fb9c /chrome/browser/renderer_host | |
parent | 6ed9b2141d30010e1a0c7055f03cbc726f3bd3a6 (diff) | |
download | chromium_src-3773020c131d144f0e0e1d849227b34d7c4cf6e1.zip chromium_src-3773020c131d144f0e0e1d849227b34d7c4cf6e1.tar.gz chromium_src-3773020c131d144f0e0e1d849227b34d7c4cf6e1.tar.bz2 |
Add a temporary flag to enable Core Animation mode for Flash (when possible)
This makes our Mac wmode hack--which prevents Flash from using "accelerated" QuickDraw mode, which is incredibly slow for us, but also prevents Flash 10.1 from using Core Animation in the same cases--conditional based on having both support for Core Animation mode in both Flash and Chromium, and on having a flag.
Once we are confident that there are no regressions preventing us from allowing Core Animation by default, the flag will be removed.
BUG=38932
TEST=Run with --enable-flash-core-animation and the current Flash 10.1 beta on 10.6; sites like YouTube should have negligable CPU usage.
Review URL: http://codereview.chromium.org/1115010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42356 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/renderer_host')
-rw-r--r-- | chrome/browser/renderer_host/browser_render_process_host.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/renderer_host/browser_render_process_host.cc b/chrome/browser/renderer_host/browser_render_process_host.cc index 8eeecfc..0757d17 100644 --- a/chrome/browser/renderer_host/browser_render_process_host.cc +++ b/chrome/browser/renderer_host/browser_render_process_host.cc @@ -555,6 +555,7 @@ void BrowserRenderProcessHost::PropagateBrowserCommandLineToRenderer( #if defined(OS_MACOSX) // Allow this to be set when invoking the browser and relayed along. switches::kEnableSandboxLogging, + switches::kEnableFlashCoreAnimation, #endif }; |