diff options
author | backer@chromium.org <backer@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-25 14:47:32 +0000 |
---|---|---|
committer | backer@chromium.org <backer@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-25 14:47:32 +0000 |
commit | 5a9299c645bfa4fcbbc3b3106af2837e2b9f7ec1 (patch) | |
tree | 3a1fba0dfd544e6d0dbbebaef594dce16a8afc6e /content/common/gpu/gpu_channel_manager.h | |
parent | 05f0f84db4862d970c79839450be35d67ce7d052 (diff) | |
download | chromium_src-5a9299c645bfa4fcbbc3b3106af2837e2b9f7ec1.zip chromium_src-5a9299c645bfa4fcbbc3b3106af2837e2b9f7ec1.tar.gz chromium_src-5a9299c645bfa4fcbbc3b3106af2837e2b9f7ec1.tar.bz2 |
Use pixmaps and EGLImages to transport image data between GPU process and browser. Behind a compile TOUCH_UI flag.
It uses the MAC OSX AcceleratedSurface IPCs to communicate between the GPU process and browser. The major difference between the OSX display path is that I send an ACK back after AcceleratedSurfaceSetIOSurface because the process of binding a texture to the pixmap may destroy the contents of the pixmap.
BUG=none
TEST=by hand on Linux (w/ and w/o TOUCH_UI), Windows, and Mac
Review URL: http://codereview.chromium.org/6987014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90511 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common/gpu/gpu_channel_manager.h')
-rw-r--r-- | content/common/gpu/gpu_channel_manager.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/content/common/gpu/gpu_channel_manager.h b/content/common/gpu/gpu_channel_manager.h index e3b68a1..54742d6 100644 --- a/content/common/gpu/gpu_channel_manager.h +++ b/content/common/gpu/gpu_channel_manager.h @@ -74,9 +74,20 @@ class GpuChannelManager : public IPC::Channel::Listener, int32 renderer_id, const GPUCreateCommandBufferConfig& init_params); void OnResizeViewACK(int32 renderer_id, int32 command_buffer_route_id); -#if defined(OS_MACOSX) + +#if defined(TOUCH_UI) + void OnAcceleratedSurfaceSetIOSurfaceACK( + int renderer_id, int32 route_id, uint64 surface_id); + void OnAcceleratedSurfaceReleaseACK( + int renderer_id, int32 route_id, uint64 surface_id); +#endif + +#if defined(OS_MACOSX) || defined(TOUCH_UI) void OnAcceleratedSurfaceBuffersSwappedACK( int renderer_id, int32 route_id, uint64 swap_buffers_count); +#endif + +#if defined(OS_MACOSX) void OnDestroyCommandBuffer(int renderer_id, int32 renderer_view_id); #endif |