summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gpu_process_host.h
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-28 21:39:14 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-28 21:39:14 +0000
commitf35d6675a5b26462fb1aadc9a01f07be82581a16 (patch)
treedc4bac0fa9c9340a3c7e65d13ba73254c8ff3449 /chrome/browser/gpu_process_host.h
parent18d5d79eb6b11a05ca8876fc760416b5152f9fa2 (diff)
downloadchromium_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/browser/gpu_process_host.h')
-rw-r--r--chrome/browser/gpu_process_host.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/gpu_process_host.h b/chrome/browser/gpu_process_host.h
index 0e14402..de8d3e5 100644
--- a/chrome/browser/gpu_process_host.h
+++ b/chrome/browser/gpu_process_host.h
@@ -102,7 +102,8 @@ class GpuProcessHost : public BrowserChildProcessHost {
const GpuHostMsg_AcceleratedSurfaceSetIOSurface_Params& params);
void OnAcceleratedSurfaceBuffersSwapped(int32 renderer_id,
int32 render_view_id,
- gfx::PluginWindowHandle window);
+ gfx::PluginWindowHandle window,
+ uint64 surface_id);
#endif
void ReplyToRenderer(const IPC::ChannelHandle& channel,