summaryrefslogtreecommitdiffstats
path: root/ppapi/ppapi.gyp
diff options
context:
space:
mode:
authorabarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-08 07:50:40 +0000
committerabarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-08 07:50:40 +0000
commit3acbbae42b47be2b5a347744ea8c84a99123b2a0 (patch)
tree5f3593d74369ad0f061fdebefa7b80ef8c3380e9 /ppapi/ppapi.gyp
parent416ad1e494da96ded9cc8828dac5606277f1437d (diff)
downloadchromium_src-3acbbae42b47be2b5a347744ea8c84a99123b2a0.zip
chromium_src-3acbbae42b47be2b5a347744ea8c84a99123b2a0.tar.gz
chromium_src-3acbbae42b47be2b5a347744ea8c84a99123b2a0.tar.bz2
Teach PPAPI proxy to share image memory on Mac OS X
Instead of just using base::SharedMemory, we use SysV shared memory on Linux so that we can share memory with X. Normally we abstract this detail away with TransportDIB, but the TransportDIB lives in chrome/app, which is outside the dependency cone of ppapi/proxy. This patch creates a new abstraction at this layer of the dependency graph called ImageData::ImageHandle that represents shared memory for the purpose of image data. This patch also fills in the implementation of this abstraction on Mac OS X. Consequently, out-of-process PPAPI plugins on Mac can now draw to the screen. Review URL: http://codereview.chromium.org/5658003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68569 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/ppapi.gyp')
-rw-r--r--ppapi/ppapi.gyp2
1 files changed, 2 insertions, 0 deletions
diff --git a/ppapi/ppapi.gyp b/ppapi/ppapi.gyp
index b321dc6..947c267 100644
--- a/ppapi/ppapi.gyp
+++ b/ppapi/ppapi.gyp
@@ -540,6 +540,8 @@
'proxy/host_dispatcher.h',
'proxy/host_var_serialization_rules.cc',
'proxy/host_var_serialization_rules.h',
+ 'proxy/image_data.cc',
+ 'proxy/image_data.h',
'proxy/interface_proxy.cc',
'proxy/interface_proxy.h',
'proxy/plugin_dispatcher.cc',