diff options
author | scottmg@chromium.org <scottmg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-06 01:37:31 +0000 |
---|---|---|
committer | scottmg@chromium.org <scottmg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-06 01:37:31 +0000 |
commit | 111975c6ed2caac665ed17f876f86536af6c3d2f (patch) | |
tree | 80512760fdaffd6354b8152104686095d3d73148 /content/browser/gpu/gpu_process_host.h | |
parent | 07ed535b5f4250e2030cd169fb1e9de050eea07e (diff) | |
download | chromium_src-111975c6ed2caac665ed17f876f86536af6c3d2f.zip chromium_src-111975c6ed2caac665ed17f876f86536af6c3d2f.tar.gz chromium_src-111975c6ed2caac665ed17f876f86536af6c3d2f.tar.bz2 |
Enable GPU acceleration for Aura on Windows
Use GpuTransportSurface and AcceleratedSurface for rendering on win aura.
Run with:
--open-ash --force-compositing-mode --enable-threaded-compositing
BUG=
Review URL: https://chromiumcodereview.appspot.com/10890046
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155093 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/gpu/gpu_process_host.h')
-rw-r--r-- | content/browser/gpu/gpu_process_host.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/content/browser/gpu/gpu_process_host.h b/content/browser/gpu/gpu_process_host.h index 3e26692..f4b8341 100644 --- a/content/browser/gpu/gpu_process_host.h +++ b/content/browser/gpu/gpu_process_host.h @@ -125,7 +125,8 @@ class GpuProcessHost : public content::BrowserChildProcessHostDelegate, void OnAcceleratedSurfaceBuffersSwapped( const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params); #endif -#if defined(OS_WIN) && !defined(USE_AURA) + // Note: Different implementations depending on USE_AURA. +#if defined(OS_WIN) void OnAcceleratedSurfaceBuffersSwapped( const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params); void OnAcceleratedSurfacePostSubBuffer( |