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

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

Issue 9968113: Addition of GL_CHROMIUM_copy_texture extension. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Correcting glEnableVertexAttribArray state. 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 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_

Powered by Google App Engine
This is Rietveld 408576698