Index: gpu/command_buffer/service/gles2_cmd_decoder_autogen.h |
=================================================================== |
--- gpu/command_buffer/service/gles2_cmd_decoder_autogen.h (revision 132190) |
+++ 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; |
} |
- glViewport(x, y, width, height); |
+ DoViewport(x, y, width, height); |
return error::kNoError; |
} |
@@ -2726,5 +2726,15 @@ |
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_ |