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/gpu/gpu_command_buffer_stub.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/gpu/gpu_command_buffer_stub.h')
-rw-r--r-- | chrome/gpu/gpu_command_buffer_stub.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/gpu/gpu_command_buffer_stub.h b/chrome/gpu/gpu_command_buffer_stub.h index 7aaf68a..91d7029 100644 --- a/chrome/gpu/gpu_command_buffer_stub.h +++ b/chrome/gpu/gpu_command_buffer_stub.h @@ -24,7 +24,7 @@ class GpuCommandBufferStub public base::RefCountedThreadSafe<GpuCommandBufferStub> { public: GpuCommandBufferStub(GpuChannel* channel, - gfx::NativeView view, + gfx::PluginWindowHandle handle, GpuCommandBufferStub* parent, const gfx::Size& size, uint32 parent_texture_id, @@ -55,7 +55,7 @@ class GpuCommandBufferStub void OnResizeOffscreenFrameBuffer(const gfx::Size& size); scoped_refptr<GpuChannel> channel_; - gfx::NativeView view_; + gfx::PluginWindowHandle handle_; scoped_refptr<GpuCommandBufferStub> parent_; gfx::Size initial_size_; uint32 parent_texture_id_; |