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

Unified Diff: gpu/command_buffer/service/gles2_cmd_decoder_autogen.h

Issue 10078006: Revert 132934 - this change seems to break many webgl related layout tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 8 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/service/gles2_cmd_decoder_autogen.h
===================================================================
--- gpu/command_buffer/service/gles2_cmd_decoder_autogen.h (revision 132957)
+++ gpu/command_buffer/service/gles2_cmd_decoder_autogen.h (working copy)
@@ -2509,7 +2509,7 @@
SetGLError(GL_INVALID_VALUE, "glViewport: height < 0");
return error::kNoError;
}
- DoViewport(x, y, width, height);
+ glViewport(x, y, width, height);
return error::kNoError;
}
@@ -2726,15 +2726,5 @@
return error::kNoError;
}
-error::Error GLES2DecoderImpl::HandleCopyTextureCHROMIUM(
- uint32 immediate_data_size, const gles2::CopyTextureCHROMIUM& c) {
- GLenum target = static_cast<GLenum>(c.target);
- GLenum source_id = static_cast<GLenum>(c.source_id);
- GLenum dest_id = static_cast<GLenum>(c.dest_id);
- GLint level = static_cast<GLint>(c.level);
- DoCopyTextureCHROMIUM(target, source_id, dest_id, level);
- return error::kNoError;
-}
-
#endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_AUTOGEN_H_
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder.cc ('k') | gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698