diff options
author | cpu@chromium.org <cpu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-17 00:09:43 +0000 |
---|---|---|
committer | cpu@chromium.org <cpu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-17 00:09:43 +0000 |
commit | d5c44c89a2c43cb96c98b90d419c08157895f0b1 (patch) | |
tree | e5381df1e503b2c43ab118399e4372aadda4302d /content/content_common.gypi | |
parent | 9ee7616fb50b78bdbfb9f95f02903e2435ff5bee (diff) | |
download | chromium_src-d5c44c89a2c43cb96c98b90d419c08157895f0b1.zip chromium_src-d5c44c89a2c43cb96c98b90d419c08157895f0b1.tar.gz chromium_src-d5c44c89a2c43cb96c98b90d419c08157895f0b1.tar.bz2 |
Revert 110355 - Use shared D3D9 texture to transport the compositor's backing buffer to the browser process for presentation.
Implemented ImageTransportSurface for Linux (without texture sharing), XP, Vista and 7. XP. The non-texture sharing Linux and XP paths just present directly to the compositing child window owned by the browser process as before.
PassThroughImageTransportSurface still needs a proper name. I will move it into its own file once that is decided.
I moved AcceleratedSurfaceBuffersSwapped outside of the platform specific ifdefs and made the signature the same on all platforms for greater consistency.
I removed the code related to sharing surfaces between processes and synchronizing resize and swapping out of GpuCommandBufferStub. It is all now in ImageTransportSurface implementations.
Review URL: http://codereview.chromium.org/8060045
TBR=apatrick@chromium.org
Review URL: http://codereview.chromium.org/8587012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110387 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/content_common.gypi')
-rw-r--r-- | content/content_common.gypi | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/content/content_common.gypi b/content/content_common.gypi index 48c1e64..9e9ca78 100644 --- a/content/content_common.gypi +++ b/content/content_common.gypi @@ -139,10 +139,6 @@ 'common/gpu/gpu_process_launch_causes.h', 'common/gpu/gpu_watchdog.h', 'common/gpu/image_transport_surface.h', - 'common/gpu/image_transport_surface.cc', - 'common/gpu/image_transport_surface_linux.cc', - 'common/gpu/image_transport_surface_mac.cc', - 'common/gpu/image_transport_surface_win.cc', 'common/gpu/media/gpu_video_decode_accelerator.cc', 'common/gpu/media/gpu_video_decode_accelerator.h', 'common/gpu/transport_texture.cc', @@ -272,6 +268,10 @@ 'sources!': [ 'common/process_watcher_posix.cc', ], + 'sources': [ + 'common/gpu/image_transport_surface.cc', + 'common/gpu/image_transport_surface_mac.cc', + ], 'link_settings': { 'mac_bundle_resources': [ 'common/common.sb', @@ -294,7 +294,11 @@ 'common/gpu/x_util.h', ], }], - ['OS=="linux"', { + ['ui_compositor_image_transport==1', { + 'sources': [ + 'common/gpu/image_transport_surface.cc', + 'common/gpu/image_transport_surface_linux.cc', + ], 'include_dirs': [ '<(DEPTH)/third_party/angle/include', ], |