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

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

Issue 1435183002: WebGL 2: fix the bug in invalidate-framebuffer.html (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removed InvalidateFramebufferTarget in cmd buffer Created 5 years, 1 month 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 0fa872654930d2b35d8a4e8bae9a4e018efdcb54..d6cac7e5d77ccef7d2af2f79cf506c7f8fb0159c 100644
--- a/gpu/command_buffer/client/gles2_implementation_impl_autogen.h
+++ b/gpu/command_buffer/client/gles2_implementation_impl_autogen.h
@@ -1472,9 +1472,9 @@ void GLES2Implementation::InvalidateFramebuffer(GLenum target,
const GLenum* attachments) {
GPU_CLIENT_SINGLE_THREAD_CHECK();
GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glInvalidateFramebuffer("
- << GLES2Util::GetStringInvalidateFrameBufferTarget(target)
- << ", " << count << ", "
- << static_cast<const void*>(attachments) << ")");
+ << GLES2Util::GetStringFrameBufferTarget(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]);
@@ -1497,10 +1497,10 @@ void GLES2Implementation::InvalidateSubFramebuffer(GLenum target,
GLsizei height) {
GPU_CLIENT_SINGLE_THREAD_CHECK();
GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glInvalidateSubFramebuffer("
- << GLES2Util::GetStringInvalidateFrameBufferTarget(target)
- << ", " << count << ", "
- << static_cast<const void*>(attachments) << ", " << x
- << ", " << y << ", " << width << ", " << height << ")");
+ << GLES2Util::GetStringFrameBufferTarget(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