summaryrefslogtreecommitdiffstats
path: root/ppapi/proxy
diff options
context:
space:
mode:
authorsievers@google.com <sievers@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-27 23:02:55 +0000
committersievers@google.com <sievers@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-27 23:02:55 +0000
commit7bffe9e1e36489115a3ae4577b2e4f1a1253374b (patch)
tree54f66fd51a598e3b94f430b77e9cc22eff48ead2 /ppapi/proxy
parentdc6938a6f60389c30d4db00077627e1a31517e0b (diff)
downloadchromium_src-7bffe9e1e36489115a3ae4577b2e4f1a1253374b.zip
chromium_src-7bffe9e1e36489115a3ae4577b2e4f1a1253374b.tar.gz
chromium_src-7bffe9e1e36489115a3ae4577b2e4f1a1253374b.tar.bz2
[gpu] Remove StreamTexture(Manager) concept from command decoder
Instead add a simple GpuControl interface to attach a GLImage-wrapped SurfaceTexture ref to a texture which will provide the necessary hooks. BUG=282700,309162 R=palmer@chromium.org, piman@chromium.org, reveman@chromium.org Review URL: https://codereview.chromium.org/147463002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247334 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/proxy')
-rw-r--r--ppapi/proxy/ppapi_command_buffer_proxy.cc5
-rw-r--r--ppapi/proxy/ppapi_command_buffer_proxy.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/ppapi/proxy/ppapi_command_buffer_proxy.cc b/ppapi/proxy/ppapi_command_buffer_proxy.cc
index a6da2107..c2f74e2 100644
--- a/ppapi/proxy/ppapi_command_buffer_proxy.cc
+++ b/ppapi/proxy/ppapi_command_buffer_proxy.cc
@@ -143,6 +143,11 @@ void PpapiCommandBufferProxy::Echo(const base::Closure& callback) {
NOTREACHED();
}
+uint32 PpapiCommandBufferProxy::CreateStreamTexture(uint32 texture_id) {
+ NOTREACHED();
+ return 0;
+}
+
gpu::Buffer PpapiCommandBufferProxy::GetTransferBuffer(int32 id) {
if (last_state_.error != gpu::error::kNoError)
return gpu::Buffer();
diff --git a/ppapi/proxy/ppapi_command_buffer_proxy.h b/ppapi/proxy/ppapi_command_buffer_proxy.h
index 16809bd..36d23ea 100644
--- a/ppapi/proxy/ppapi_command_buffer_proxy.h
+++ b/ppapi/proxy/ppapi_command_buffer_proxy.h
@@ -64,6 +64,7 @@ class PPAPI_PROXY_EXPORT PpapiCommandBufferProxy : public gpu::CommandBuffer,
virtual void SendManagedMemoryStats(const gpu::ManagedMemoryStats& stats)
OVERRIDE;
virtual void Echo(const base::Closure& callback) OVERRIDE;
+ virtual uint32 CreateStreamTexture(uint32 texture_id) OVERRIDE;
private:
bool Send(IPC::Message* msg);