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

Unified Diff: ppapi/native_client/src/shared/ppapi_proxy/command_buffer_nacl.h

Issue 8865008: Revert 113479 - Revert "Revert 113250 - Add CommandBuffer::SetGetBuffer" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years 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/native_client/src/shared/ppapi_proxy/command_buffer_nacl.h
===================================================================
--- ppapi/native_client/src/shared/ppapi_proxy/command_buffer_nacl.h (revision 113511)
+++ ppapi/native_client/src/shared/ppapi_proxy/command_buffer_nacl.h (working copy)
@@ -22,12 +22,16 @@
virtual ~CommandBufferNacl();
// CommandBuffer implementation.
- virtual bool Initialize();
+ virtual bool Initialize(int32 size);
+ virtual bool Initialize(base::SharedMemory* buffer, int32 size) {
+ // TODO(neb): support for nacl if neccessary
+ return false;
+ }
+ virtual gpu::Buffer GetRingBuffer();
virtual State GetState();
virtual State GetLastState();
virtual void Flush(int32 put_offset);
virtual State FlushSync(int32 put_offset, int32 last_known_get);
- virtual void SetGetBuffer(int32 transfer_buffer_id);
virtual void SetGetOffset(int32 get_offset);
virtual int32 CreateTransferBuffer(size_t size, int32 id_request);
virtual int32 RegisterTransferBuffer(base::SharedMemory* buffer,

Powered by Google App Engine
This is Rietveld 408576698