diff options
author | piman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-01 01:06:32 +0000 |
---|---|---|
committer | piman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-01 01:06:32 +0000 |
commit | 6ebf2fc952b8170971e37971e9d1362c64424e89 (patch) | |
tree | c5ec2454ecc2af8f302893de6c7bfea60b672791 /chrome/browser/gpu_process_host.h | |
parent | 59a77daa557ef00a90742ece6994563bbdeddc73 (diff) | |
download | chromium_src-6ebf2fc952b8170971e37971e9d1362c64424e89.zip chromium_src-6ebf2fc952b8170971e37971e9d1362c64424e89.tar.gz chromium_src-6ebf2fc952b8170971e37971e9d1362c64424e89.tar.bz2 |
linux: add accelerated compositing.
Similar to Windows, this doesn't handle exposes currently, nor WebGL.
Other caveat: tearing off a tab causes trouble to the gpu process.
Review URL: http://codereview.chromium.org/2886003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51324 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gpu_process_host.h')
-rw-r--r-- | chrome/browser/gpu_process_host.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/gpu_process_host.h b/chrome/browser/gpu_process_host.h index 2f2d5b6..9638f11 100644 --- a/chrome/browser/gpu_process_host.h +++ b/chrome/browser/gpu_process_host.h @@ -11,6 +11,7 @@ #include "base/scoped_ptr.h" #include "chrome/browser/child_process_host.h" #include "chrome/browser/renderer_host/resource_message_filter.h" +#include "gfx/native_widget_types.h" class ChildProcessLauncher; class CommandBufferProxy; @@ -79,6 +80,9 @@ class GpuProcessHost : public ChildProcessHost { // Message handlers. void OnChannelEstablished(const IPC::ChannelHandle& channel_handle); void OnSynchronizeReply(); +#if defined(OS_LINUX) + void OnGetViewXID(gfx::NativeViewId id, unsigned long* xid); +#endif void ReplyToRenderer(const IPC::ChannelHandle& channel, ResourceMessageFilter* filter); |