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 /gpu/command_buffer/service/gpu_processor.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 'gpu/command_buffer/service/gpu_processor.h')
-rw-r--r-- | gpu/command_buffer/service/gpu_processor.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gpu/command_buffer/service/gpu_processor.h b/gpu/command_buffer/service/gpu_processor.h index 79d9e73..986ab03 100644 --- a/gpu/command_buffer/service/gpu_processor.h +++ b/gpu/command_buffer/service/gpu_processor.h @@ -83,6 +83,8 @@ class GPUProcessor : public CommandBufferEngine { virtual void SetTransportDIBAllocAndFree( Callback2<size_t, TransportDIB::Handle*>::Type* allocator, Callback1<TransportDIB::Id>::Type* deallocator); + // Returns the id of the current IOSurface, or 0. + virtual uint64 GetSurfaceId(); #endif // Sets a callback which is called when a SwapBuffers command is processed. |