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

Unified Diff: gpu/command_buffer/client/cmd_buffer_helper.h

Issue 465040: Added CommandBufferClient, CommandBufferStub and some IPC messages.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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
« no previous file with comments | « gpu/command_buffer/build_gles2_cmd_buffer.py ('k') | gpu/command_buffer/client/cmd_buffer_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/client/cmd_buffer_helper.h
===================================================================
--- gpu/command_buffer/client/cmd_buffer_helper.h (revision 34314)
+++ gpu/command_buffer/client/cmd_buffer_helper.h (working copy)
@@ -32,15 +32,15 @@
// This file contains the command buffer helper class.
-#ifndef GPU_COMMAND_BUFFER_CLIENT_CROSS_CMD_BUFFER_HELPER_H_
-#define GPU_COMMAND_BUFFER_CLIENT_CROSS_CMD_BUFFER_HELPER_H_
+#ifndef GPU_COMMAND_BUFFER_CLIENT_CMD_BUFFER_HELPER_H_
+#define GPU_COMMAND_BUFFER_CLIENT_CMD_BUFFER_HELPER_H_
#include "gpu/command_buffer/common/logging.h"
#include "gpu/command_buffer/common/constants.h"
#include "gpu/command_buffer/common/cmd_buffer_common.h"
#include "gpu/command_buffer/common/command_buffer.h"
-namespace command_buffer {
+namespace gpu {
// Command buffer helper class. This class simplifies ring buffer management:
// it will allocate the buffer, give it to the buffer interface, and let the
@@ -59,7 +59,7 @@
// // commands have been executed.
class CommandBufferHelper {
public:
- explicit CommandBufferHelper(command_buffer::CommandBuffer* command_buffer);
+ explicit CommandBufferHelper(gpu::CommandBuffer* command_buffer);
virtual ~CommandBufferHelper();
bool Initialize();
@@ -198,7 +198,7 @@
return (get_ - put_ - 1 + entry_count_) % entry_count_;
}
- command_buffer::CommandBuffer* command_buffer_;
+ gpu::CommandBuffer* command_buffer_;
::base::SharedMemory* ring_buffer_;
CommandBufferEntry *entries_;
int32 entry_count_;
@@ -211,6 +211,6 @@
DISALLOW_COPY_AND_ASSIGN(CommandBufferHelper);
};
-} // namespace command_buffer
+} // namespace gpu
-#endif // GPU_COMMAND_BUFFER_CLIENT_CROSS_CMD_BUFFER_HELPER_H_
+#endif // GPU_COMMAND_BUFFER_CLIENT_CMD_BUFFER_HELPER_H_
« no previous file with comments | « gpu/command_buffer/build_gles2_cmd_buffer.py ('k') | gpu/command_buffer/client/cmd_buffer_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698