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

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

Issue 1134373002: Add a bunch of ES3 enums to the validator. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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/client/gles2_implementation_impl_autogen.h
diff --git a/gpu/command_buffer/client/gles2_implementation_impl_autogen.h b/gpu/command_buffer/client/gles2_implementation_impl_autogen.h
index 652855463872b846b567cfd56d696e1277866795..55cafb99d78be74aca5c6c5989edeb89199917c2 100644
--- a/gpu/command_buffer/client/gles2_implementation_impl_autogen.h
+++ b/gpu/command_buffer/client/gles2_implementation_impl_autogen.h
@@ -1113,9 +1113,9 @@ void GLES2Implementation::GetInternalformativ(GLenum target,
GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glGetInternalformativ("
<< GLES2Util::GetStringRenderBufferTarget(target) << ", "
<< GLES2Util::GetStringRenderBufferFormat(format) << ", "
- << GLES2Util::GetStringRenderBufferParameter(pname) << ", "
- << bufSize << ", " << static_cast<const void*>(params)
- << ")");
+ << GLES2Util::GetStringInternalFormatParameter(pname)
+ << ", " << bufSize << ", "
+ << static_cast<const void*>(params) << ")");
if (bufSize < 0) {
SetGLError(GL_INVALID_VALUE, "glGetInternalformativ", "bufSize < 0");
return;
@@ -1480,9 +1480,9 @@ void GLES2Implementation::InvalidateFramebuffer(GLenum target,
const GLenum* attachments) {
GPU_CLIENT_SINGLE_THREAD_CHECK();
GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glInvalidateFramebuffer("
- << GLES2Util::GetStringFrameBufferTarget(target) << ", "
- << count << ", " << static_cast<const void*>(attachments)
- << ")");
+ << GLES2Util::GetStringInvalidateFrameBufferTarget(target)
+ << ", " << count << ", "
+ << static_cast<const void*>(attachments) << ")");
GPU_CLIENT_LOG_CODE_BLOCK({
for (GLsizei i = 0; i < count; ++i) {
GPU_CLIENT_LOG(" " << i << ": " << attachments[0 + i * 1]);
@@ -1505,10 +1505,10 @@ void GLES2Implementation::InvalidateSubFramebuffer(GLenum target,
GLsizei height) {
GPU_CLIENT_SINGLE_THREAD_CHECK();
GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glInvalidateSubFramebuffer("
- << GLES2Util::GetStringFrameBufferTarget(target) << ", "
- << count << ", " << static_cast<const void*>(attachments)
- << ", " << x << ", " << y << ", " << width << ", "
- << height << ")");
+ << GLES2Util::GetStringInvalidateFrameBufferTarget(target)
+ << ", " << count << ", "
+ << static_cast<const void*>(attachments) << ", " << x
+ << ", " << y << ", " << width << ", " << height << ")");
GPU_CLIENT_LOG_CODE_BLOCK({
for (GLsizei i = 0; i < count; ++i) {
GPU_CLIENT_LOG(" " << i << ": " << attachments[0 + i * 1]);

Powered by Google App Engine
This is Rietveld 408576698