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

Unified Diff: gpu/command_buffer/service/command_buffer_service.h

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
Index: gpu/command_buffer/service/command_buffer_service.h
===================================================================
--- gpu/command_buffer/service/command_buffer_service.h (revision 76263)
+++ gpu/command_buffer/service/command_buffer_service.h (working copy)
@@ -26,6 +26,7 @@
// CommandBuffer implementation:
virtual bool Initialize(int32 size);
+ virtual bool Initialize(base::SharedMemory* buffer, int32 size);
virtual Buffer GetRingBuffer();
virtual State GetState();
virtual void Flush(int32 put_offset);
@@ -52,7 +53,7 @@
virtual void SetPutOffsetChangeCallback(Callback0::Type* callback);
private:
- scoped_ptr< base::SharedMemory> ring_buffer_;
+ Buffer ring_buffer_;
int32 num_entries_;
int32 get_offset_;
int32 put_offset_;
« no previous file with comments | « gpu/command_buffer/common/command_buffer_mock.h ('k') | gpu/command_buffer/service/command_buffer_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698