Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(429)

Unified Diff: ppapi/proxy/ppb_context_3d_proxy.cc

Issue 6557006: Moved creation of GPU transfer buffers into the browser process.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ppapi/proxy/ppb_context_3d_proxy.cc
===================================================================
--- ppapi/proxy/ppb_context_3d_proxy.cc (revision 75655)
+++ ppapi/proxy/ppb_context_3d_proxy.cc (working copy)
@@ -177,6 +177,9 @@
virtual State FlushSync(int32 put_offset);
virtual void SetGetOffset(int32 get_offset);
virtual int32 CreateTransferBuffer(size_t size);
+ virtual int32 RegisterTransferBuffer(
+ base::SharedMemory* shared_memory,
+ size_t size);
virtual void DestroyTransferBuffer(int32 id);
virtual gpu::Buffer GetTransferBuffer(int32 handle);
virtual void SetToken(int32 token);
@@ -300,6 +303,14 @@
return -1;
}
+int32 PepperCommandBuffer::RegisterTransferBuffer(
+ base::SharedMemory* shared_memory,
+ size_t size) {
+ // Not implemented in proxy.
+ NOTREACHED();
+ return -1;
+}
+
void PepperCommandBuffer::DestroyTransferBuffer(int32 id) {
if (last_state_.error != gpu::error::kNoError)
return;
« content/browser/renderer_host/gpu_message_filter.cc ('K') | « gpu/pgl/command_buffer_pepper.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698