summaryrefslogtreecommitdiffstats
path: root/ppapi/proxy/ppapi_command_buffer_proxy.cc
diff options
context:
space:
mode:
authorpiman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-05 07:48:51 +0000
committerpiman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-05 07:48:51 +0000
commit2ad674132b5a79f5c9bc108c77b5e5de3c665a05 (patch)
treeedbef08087681f69f16708f9110f76406cb432ac /ppapi/proxy/ppapi_command_buffer_proxy.cc
parent62b22650009f851a7703db0b73e22d9eafec2ea9 (diff)
downloadchromium_src-2ad674132b5a79f5c9bc108c77b5e5de3c665a05.zip
chromium_src-2ad674132b5a79f5c9bc108c77b5e5de3c665a05.tar.gz
chromium_src-2ad674132b5a79f5c9bc108c77b5e5de3c665a05.tar.bz2
Replace context parenting by sharing through mailboxes
Instead of tying contexts together through the parenting mechanism, we can allow the client to produce the front buffer of an offscreen context into a mailbox, and use that in the "parent" context. It simplifies the code and the semantics wrt lost contexts, and we want to use mailboxes anyway. BUG=164095 Review URL: https://chromiumcodereview.appspot.com/15798014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204194 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/proxy/ppapi_command_buffer_proxy.cc')
-rw-r--r--ppapi/proxy/ppapi_command_buffer_proxy.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/ppapi/proxy/ppapi_command_buffer_proxy.cc b/ppapi/proxy/ppapi_command_buffer_proxy.cc
index 04c4468..8ca17e4 100644
--- a/ppapi/proxy/ppapi_command_buffer_proxy.cc
+++ b/ppapi/proxy/ppapi_command_buffer_proxy.cc
@@ -45,11 +45,7 @@ bool PpapiCommandBufferProxy::Echo(const base::Closure& callback) {
return false;
}
-bool PpapiCommandBufferProxy::SetParent(
- CommandBufferProxy* parent_command_buffer,
- uint32 parent_texture_id) {
- // TODO(fsamuel): Need a proper implementation of this to support offscreen
- // contexts in the guest renderer (WebGL, canvas, etc).
+bool PpapiCommandBufferProxy::ProduceFrontBuffer(const gpu::Mailbox& mailbox) {
NOTIMPLEMENTED();
return false;
}