summaryrefslogtreecommitdiffstats
path: root/ppapi
diff options
context:
space:
mode:
authorpiman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-01 05:06:35 +0000
committerpiman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-01 05:06:35 +0000
commitbaed42c24524270f2927f9f2b1f78645a2a31afb (patch)
treed91c2741513a0545e691a50cfac24b05c10d97e7 /ppapi
parent85f2e0b4302ba5021faa6a20743b6b5316aa9e19 (diff)
downloadchromium_src-baed42c24524270f2927f9f2b1f78645a2a31afb.zip
chromium_src-baed42c24524270f2927f9f2b1f78645a2a31afb.tar.gz
chromium_src-baed42c24524270f2927f9f2b1f78645a2a31afb.tar.bz2
Route GenMailboxCHROMIUM through GpuControl
This allows the fast path to work in GLES2Implementation rather than needing WGC3DCBI. BUG=181120 R=sievers@chromium.org Review URL: https://codereview.chromium.org/24714002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@226145 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi')
-rw-r--r--ppapi/proxy/ppapi_command_buffer_proxy.cc9
-rw-r--r--ppapi/proxy/ppapi_command_buffer_proxy.h2
2 files changed, 11 insertions, 0 deletions
diff --git a/ppapi/proxy/ppapi_command_buffer_proxy.cc b/ppapi/proxy/ppapi_command_buffer_proxy.cc
index 5861071..ccb3a04 100644
--- a/ppapi/proxy/ppapi_command_buffer_proxy.cc
+++ b/ppapi/proxy/ppapi_command_buffer_proxy.cc
@@ -220,6 +220,15 @@ void PpapiCommandBufferProxy::DestroyGpuMemoryBuffer(int32 id) {
NOTREACHED();
}
+bool PpapiCommandBufferProxy::GenerateMailboxNames(
+ unsigned num, std::vector<gpu::Mailbox>* names) {
+ // TODO(piman): implement this so we can expose mailboxes to pepper
+ // eventually.
+ NOTREACHED();
+ return false;
+}
+
+
bool PpapiCommandBufferProxy::Send(IPC::Message* msg) {
DCHECK(last_state_.error == gpu::error::kNoError);
diff --git a/ppapi/proxy/ppapi_command_buffer_proxy.h b/ppapi/proxy/ppapi_command_buffer_proxy.h
index 603ea36..12925a1 100644
--- a/ppapi/proxy/ppapi_command_buffer_proxy.h
+++ b/ppapi/proxy/ppapi_command_buffer_proxy.h
@@ -55,6 +55,8 @@ class PPAPI_PROXY_EXPORT PpapiCommandBufferProxy
unsigned internalformat,
int32* id) OVERRIDE;
virtual void DestroyGpuMemoryBuffer(int32 id) OVERRIDE;
+ virtual bool GenerateMailboxNames(unsigned num,
+ std::vector<gpu::Mailbox>* names) OVERRIDE;
private:
bool Send(IPC::Message* msg);