summaryrefslogtreecommitdiffstats
path: root/ui/gfx/surface
diff options
context:
space:
mode:
authorapatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-18 01:32:29 +0000
committerapatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-18 01:32:29 +0000
commit5b32123818bedcd098edb37e14d0ad796e9fef96 (patch)
tree98ecabc647ed643da32d18e2a1342f67c7449fb7 /ui/gfx/surface
parenta07ef3d0c6638ded56f324d265b90c414e3c4bd2 (diff)
downloadchromium_src-5b32123818bedcd098edb37e14d0ad796e9fef96.zip
chromium_src-5b32123818bedcd098edb37e14d0ad796e9fef96.tar.gz
chromium_src-5b32123818bedcd098edb37e14d0ad796e9fef96.tar.bz2
Reland 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 Review URL: http://codereview.chromium.org/8588045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110626 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/gfx/surface')
-rw-r--r--ui/gfx/surface/surface.gyp9
1 files changed, 9 insertions, 0 deletions
diff --git a/ui/gfx/surface/surface.gyp b/ui/gfx/surface/surface.gyp
index 02ab651..3a860d9 100644
--- a/ui/gfx/surface/surface.gyp
+++ b/ui/gfx/surface/surface.gyp
@@ -53,6 +53,15 @@
['exclude', 'accelerated_surface_win.h'],
],
}],
+ ['OS=="win"', {
+ 'msvs_settings': {
+ 'VCLinkerTool': {
+ 'DelayLoadDLLs': [
+ 'd3d9.dll',
+ ],
+ },
+ },
+ }],
],
},
],