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

Unified Diff: gpu/command_buffer/common/gles2_cmd_utils.cc

Issue 2268993003: [Command Buffer] Coding style: FrameBuffer -> Framebuffer to be comformant (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: code rebase Created 4 years, 4 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 | « gpu/command_buffer/cmd_buffer_functions.txt ('k') | gpu/command_buffer/common/gles2_cmd_utils_autogen.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/common/gles2_cmd_utils.cc
diff --git a/gpu/command_buffer/common/gles2_cmd_utils.cc b/gpu/command_buffer/common/gles2_cmd_utils.cc
index b68bb0b0ca830bef7b52ce73f69e077b980c0377..e8ee40a03cc3005a55f14e9b600cc069bcb07174 100644
--- a/gpu/command_buffer/common/gles2_cmd_utils.cc
+++ b/gpu/command_buffer/common/gles2_cmd_utils.cc
@@ -26,7 +26,7 @@ enum GLErrorBit {
kInvalidValue = (1 << 1),
kInvalidOperation = (1 << 2),
kOutOfMemory = (1 << 3),
- kInvalidFrameBufferOperation = (1 << 4),
+ kInvalidFramebufferOperation = (1 << 4),
kContextLost = (1 << 5)
};
} // namespace gl_error_bit
@@ -921,7 +921,7 @@ uint32_t GLES2Util::GLErrorToErrorBit(uint32_t error) {
case GL_OUT_OF_MEMORY:
return gl_error_bit::kOutOfMemory;
case GL_INVALID_FRAMEBUFFER_OPERATION:
- return gl_error_bit::kInvalidFrameBufferOperation;
+ return gl_error_bit::kInvalidFramebufferOperation;
case GL_CONTEXT_LOST_KHR:
return gl_error_bit::kContextLost;
default:
@@ -940,7 +940,7 @@ uint32_t GLES2Util::GLErrorBitToGLError(uint32_t error_bit) {
return GL_INVALID_OPERATION;
case gl_error_bit::kOutOfMemory:
return GL_OUT_OF_MEMORY;
- case gl_error_bit::kInvalidFrameBufferOperation:
+ case gl_error_bit::kInvalidFramebufferOperation:
return GL_INVALID_FRAMEBUFFER_OPERATION;
case gl_error_bit::kContextLost:
return GL_CONTEXT_LOST_KHR;
« no previous file with comments | « gpu/command_buffer/cmd_buffer_functions.txt ('k') | gpu/command_buffer/common/gles2_cmd_utils_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698