diff options
author | jamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-02 07:07:37 +0000 |
---|---|---|
committer | jamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-02 07:07:37 +0000 |
commit | fff7cb34cf590dad0b3251fad94f5d8e0b2a734a (patch) | |
tree | 1e4b05f8635a5ad41527867a6142c7c228a163c4 /ppapi | |
parent | a3216d6629ee0f00f0e46e2a5b26020006a2f4a0 (diff) | |
download | chromium_src-fff7cb34cf590dad0b3251fad94f5d8e0b2a734a.zip chromium_src-fff7cb34cf590dad0b3251fad94f5d8e0b2a734a.tar.gz chromium_src-fff7cb34cf590dad0b3251fad94f5d8e0b2a734a.tar.bz2 |
Move Insert/SignalSyncPoint() to GpuControl
This moves InsertSyncPoint() and SignalSyncPoint() to the gpu::GpuControl
interface to get a step closer to removing the WebGraphicsContext3D interface.
R=piman,sievers
Review URL: https://codereview.chromium.org/24925002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@226412 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi')
-rw-r--r-- | ppapi/proxy/ppapi_command_buffer_proxy.cc | 5 | ||||
-rw-r--r-- | ppapi/proxy/ppapi_command_buffer_proxy.h | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/ppapi/proxy/ppapi_command_buffer_proxy.cc b/ppapi/proxy/ppapi_command_buffer_proxy.cc index ccb3a04..b224f17 100644 --- a/ppapi/proxy/ppapi_command_buffer_proxy.cc +++ b/ppapi/proxy/ppapi_command_buffer_proxy.cc @@ -203,6 +203,11 @@ uint32 PpapiCommandBufferProxy::InsertSyncPoint() { return sync_point; } +void PpapiCommandBufferProxy::SignalSyncPoint(uint32 sync_point, + const base::Closure& callback) { + NOTREACHED(); +} + bool PpapiCommandBufferProxy::SupportsGpuMemoryBuffer() { return false; } diff --git a/ppapi/proxy/ppapi_command_buffer_proxy.h b/ppapi/proxy/ppapi_command_buffer_proxy.h index 12925a1..02865c4 100644 --- a/ppapi/proxy/ppapi_command_buffer_proxy.h +++ b/ppapi/proxy/ppapi_command_buffer_proxy.h @@ -45,7 +45,6 @@ class PPAPI_PROXY_EXPORT PpapiCommandBufferProxy virtual void SetParseError(gpu::error::Error error) OVERRIDE; virtual void SetContextLostReason(gpu::error::ContextLostReason reason) OVERRIDE; - virtual uint32 InsertSyncPoint() OVERRIDE; // gpu::GpuControl implementation: virtual bool SupportsGpuMemoryBuffer() OVERRIDE; @@ -57,6 +56,9 @@ class PPAPI_PROXY_EXPORT PpapiCommandBufferProxy virtual void DestroyGpuMemoryBuffer(int32 id) OVERRIDE; virtual bool GenerateMailboxNames(unsigned num, std::vector<gpu::Mailbox>* names) OVERRIDE; + virtual uint32 InsertSyncPoint() OVERRIDE; + virtual void SignalSyncPoint(uint32 sync_point, + const base::Closure& callback) OVERRIDE; private: bool Send(IPC::Message* msg); |