diff options
author | piman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-19 00:03:51 +0000 |
---|---|---|
committer | piman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-19 00:03:51 +0000 |
commit | 5ab44efdb1f72aef69827ccf29ceab540f0a089c (patch) | |
tree | cb75c715bcfaa0d172751bfc4329fd021504dad2 /ppapi | |
parent | 26af27ce9821548ca25c5c52437dc2a6121fcc4a (diff) | |
download | chromium_src-5ab44efdb1f72aef69827ccf29ceab540f0a089c.zip chromium_src-5ab44efdb1f72aef69827ccf29ceab540f0a089c.tar.gz chromium_src-5ab44efdb1f72aef69827ccf29ceab540f0a089c.tar.bz2 |
gpu: add SignalSyncPoint to complement WaitSyncPoint
BUG=112299
TEST=None
Review URL: https://chromiumcodereview.appspot.com/10541185
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142869 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi')
-rw-r--r-- | ppapi/proxy/ppapi_command_buffer_proxy.cc | 6 | ||||
-rw-r--r-- | ppapi/proxy/ppapi_command_buffer_proxy.h | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/ppapi/proxy/ppapi_command_buffer_proxy.cc b/ppapi/proxy/ppapi_command_buffer_proxy.cc index 371870e..91cd268 100644 --- a/ppapi/proxy/ppapi_command_buffer_proxy.cc +++ b/ppapi/proxy/ppapi_command_buffer_proxy.cc @@ -69,6 +69,12 @@ void PpapiCommandBufferProxy::WaitSyncPoint(uint32 sync_point) { NOTIMPLEMENTED(); } +bool PpapiCommandBufferProxy::SignalSyncPoint(uint32 sync_point, + const base::Closure& callback) { + NOTIMPLEMENTED(); + return false; +} + void PpapiCommandBufferProxy::SetMemoryAllocationChangedCallback( const base::Callback<void(const GpuMemoryAllocationForRenderer&)>& callback) { diff --git a/ppapi/proxy/ppapi_command_buffer_proxy.h b/ppapi/proxy/ppapi_command_buffer_proxy.h index 0a5cde5..a82d303 100644 --- a/ppapi/proxy/ppapi_command_buffer_proxy.h +++ b/ppapi/proxy/ppapi_command_buffer_proxy.h @@ -38,6 +38,8 @@ class PPAPI_PROXY_EXPORT PpapiCommandBufferProxy : public CommandBufferProxy { virtual bool EnsureBackbuffer() OVERRIDE; virtual uint32 InsertSyncPoint() OVERRIDE; virtual void WaitSyncPoint(uint32 sync_point) OVERRIDE; + virtual bool SignalSyncPoint(uint32 sync_point, + const base::Closure& callback) OVERRIDE; virtual void SetMemoryAllocationChangedCallback( const base::Callback<void(const GpuMemoryAllocationForRenderer&)>& callback) OVERRIDE; |