diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-28 21:39:14 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-28 21:39:14 +0000 |
commit | f35d6675a5b26462fb1aadc9a01f07be82581a16 (patch) | |
tree | dc4bac0fa9c9340a3c7e65d13ba73254c8ff3449 /chrome/common/gpu_messages_internal.h | |
parent | 18d5d79eb6b11a05ca8876fc760416b5152f9fa2 (diff) | |
download | chromium_src-f35d6675a5b26462fb1aadc9a01f07be82581a16.zip chromium_src-f35d6675a5b26462fb1aadc9a01f07be82581a16.tar.gz chromium_src-f35d6675a5b26462fb1aadc9a01f07be82581a16.tar.bz2 |
Let every "accelerated IO surface swapped" message have an identifier of the surface.
Currently, this is only used to DCHECK a currently implicit invariant, but I want to use this to let every surface container only remember its last painted-to surface, and not its last created surface.
No behavior change.
BUG=53165
TEST=none
Review URL: http://codereview.chromium.org/4142004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64317 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/gpu_messages_internal.h')
-rw-r--r-- | chrome/common/gpu_messages_internal.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/common/gpu_messages_internal.h b/chrome/common/gpu_messages_internal.h index 184d8f4..0b8e3e6 100644 --- a/chrome/common/gpu_messages_internal.h +++ b/chrome/common/gpu_messages_internal.h @@ -142,10 +142,11 @@ IPC_BEGIN_MESSAGES(GpuHost) // This message notifies the browser process that the renderer // swapped the buffers associated with the given "window", which // should cause the browser to redraw the compositor's contents. - IPC_MESSAGE_CONTROL3(GpuHostMsg_AcceleratedSurfaceBuffersSwapped, + IPC_MESSAGE_CONTROL4(GpuHostMsg_AcceleratedSurfaceBuffersSwapped, int32, /* renderer_id */ int32, /* render_view_id */ - gfx::PluginWindowHandle /* window */) + gfx::PluginWindowHandle /* window */, + uint64 /* surface_id */) #endif IPC_END_MESSAGES(GpuHost) |