summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authorpiman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-01 01:06:32 +0000
committerpiman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-01 01:06:32 +0000
commit6ebf2fc952b8170971e37971e9d1362c64424e89 (patch)
treec5ec2454ecc2af8f302893de6c7bfea60b672791 /chrome/common
parent59a77daa557ef00a90742ece6994563bbdeddc73 (diff)
downloadchromium_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/common')
-rw-r--r--chrome/common/gpu_messages_internal.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/chrome/common/gpu_messages_internal.h b/chrome/common/gpu_messages_internal.h
index c2a2232..4c1a1ba 100644
--- a/chrome/common/gpu_messages_internal.h
+++ b/chrome/common/gpu_messages_internal.h
@@ -83,11 +83,6 @@ IPC_END_MESSAGES(Gpu)
// These are messages from the GPU process to the browser.
IPC_BEGIN_MESSAGES(GpuHost)
- // This message is sent in response to BackingStoreMsg_New to tell the host
- // about the child window that was just created.
- IPC_MESSAGE_ROUTED1(GpuHostMsg_CreatedRenderWidgetHostView,
- gfx::NativeViewId)
-
// Sent in response to GpuMsg_PaintToBackingStore, see that for more.
IPC_MESSAGE_ROUTED0(GpuHostMsg_PaintToBackingStore_ACK)
@@ -101,6 +96,13 @@ IPC_BEGIN_MESSAGES(GpuHost)
// Response to a GpuMsg_Synchronize message.
IPC_MESSAGE_CONTROL0(GpuHostMsg_SynchronizeReply)
+#if defined(OS_LINUX)
+ // Get the XID for a view ID.
+ IPC_SYNC_MESSAGE_CONTROL1_1(GpuHostMsg_GetViewXID,
+ gfx::NativeViewId, /* view */
+ unsigned long /* xid */)
+#endif
+
IPC_END_MESSAGES(GpuHost)
//------------------------------------------------------------------------------