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

Unified Diff: chrome/plugin/command_buffer_stub.h

Issue 555020: Redesigned CommandBuffer and NPDevice3D interfaces (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 11 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 | « chrome/common/command_buffer_messages_internal.h ('k') | chrome/plugin/command_buffer_stub.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/plugin/command_buffer_stub.h
===================================================================
--- chrome/plugin/command_buffer_stub.h (revision 37414)
+++ chrome/plugin/command_buffer_stub.h (working copy)
@@ -9,6 +9,7 @@
#include "app/gfx/native_widget_types.h"
#include "base/ref_counted.h"
+#include "gpu/command_buffer/common/command_buffer.h"
#include "gpu/command_buffer/service/command_buffer_service.h"
#include "gpu/command_buffer/service/gpu_processor.h"
#include "ipc/ipc_channel.h"
@@ -37,17 +38,13 @@
private:
// Message handlers:
void OnInitialize(int32 size, base::SharedMemoryHandle* ring_buffer);
- void OnSyncOffsets(int32 put_offset, int32* get_offset);
- void OnGetGetOffset(int32* get_offset);
- void OnGetPutOffset(int32* put_offset);
+ void OnGetState(gpu::CommandBuffer::State* state);
+ void OnFlush(int32 put_offset, gpu::CommandBuffer::State* state);
void OnCreateTransferBuffer(int32 size, int32* id);
void OnDestroyTransferBuffer(int32 id);
void OnGetTransferBuffer(int32 id,
base::SharedMemoryHandle* transfer_buffer,
size_t* size);
- void OnGetToken(int32* token);
- void OnResetParseError(int32* parse_error);
- void OnGetErrorStatus(bool* error_status);
scoped_refptr<PluginChannel> channel_;
gfx::PluginWindowHandle window_;
« no previous file with comments | « chrome/common/command_buffer_messages_internal.h ('k') | chrome/plugin/command_buffer_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698