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

Unified Diff: ppapi/proxy/ppb_context_3d_proxy.cc

Issue 6588029: Moved creation of GPU command buffer shared memory 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
« no previous file with comments | « gpu/pgl/command_buffer_pepper.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/ppb_context_3d_proxy.cc
===================================================================
--- ppapi/proxy/ppb_context_3d_proxy.cc (revision 76263)
+++ ppapi/proxy/ppb_context_3d_proxy.cc (working copy)
@@ -177,6 +177,7 @@
// CommandBuffer implementation:
virtual bool Initialize(int32 size);
+ virtual bool Initialize(base::SharedMemory* buffer, int32 size);
virtual gpu::Buffer GetRingBuffer();
virtual State GetState();
virtual void Flush(int32 put_offset);
@@ -248,6 +249,12 @@
return false;
}
+bool PepperCommandBuffer::Initialize(base::SharedMemory* buffer, int32 size) {
+ // Not implemented in proxy.
+ NOTREACHED();
+ return false;
+}
+
gpu::Buffer PepperCommandBuffer::GetRingBuffer() {
// Return locally cached ring buffer.
gpu::Buffer buffer;
« no previous file with comments | « gpu/pgl/command_buffer_pepper.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698