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

Unified Diff: gpu/command_buffer/service/gles2_cmd_decoder.cc

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
Index: gpu/command_buffer/service/gles2_cmd_decoder.cc
===================================================================
--- gpu/command_buffer/service/gles2_cmd_decoder.cc (revision 34314)
+++ gpu/command_buffer/service/gles2_cmd_decoder.cc (working copy)
@@ -14,7 +14,7 @@
#include "gpu/command_buffer/service/gl_utils.h"
#include "gpu/command_buffer/service/gles2_cmd_decoder.h"
-namespace command_buffer {
+namespace gpu {
namespace gles2 {
namespace {
@@ -103,7 +103,7 @@
}
uint32 GLErrorToErrorBit(GLenum error) {
- switch(error) {
+ switch (error) {
case GL_INVALID_ENUM:
return GLErrorBit::kInvalidEnum;
case GL_INVALID_VALUE:
@@ -121,7 +121,7 @@
}
GLenum GLErrorBitToGLError(uint32 error_bit) {
- switch(error_bit) {
+ switch (error_bit) {
case GLErrorBit::kInvalidEnum:
return GL_INVALID_ENUM;
case GLErrorBit::kInvalidValue:
@@ -698,12 +698,12 @@
}
} // namespace gles2
-} // namespace command_buffer
+} // namespace gpu
// This is included so the compiler will make these inline.
#include "gpu/command_buffer/service/gles2_cmd_decoder_validate.h"
-namespace command_buffer {
+namespace gpu {
namespace gles2 {
void GLES2DecoderImpl::CreateProgramHelper(GLuint client_id) {
@@ -1231,5 +1231,5 @@
#include "gpu/command_buffer/service/gles2_cmd_decoder_autogen.h"
} // namespace gles2
-} // namespace command_buffer
+} // namespace gpu
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder.h ('k') | gpu/command_buffer/service/gles2_cmd_decoder_validate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698