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

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

Issue 1119723003: Add glCopyCompressedTextureCHROMIUM (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix comments in tests 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_cmd_helper_autogen.h
diff --git a/gpu/command_buffer/client/gles2_cmd_helper_autogen.h b/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
index a513613ccd97d083f43d4ae7dc2f77d6a459371b..58df22eb83817122412830c3445ef8029f2fa8c5 100644
--- a/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
+++ b/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
@@ -2415,6 +2415,19 @@ void CopySubTextureCHROMIUM(GLenum target,
}
}
+void CopyCompressedTextureCHROMIUM(GLenum target,
+ GLenum source_id,
+ GLenum dest_id,
+ GLenum internalformat,
+ GLenum dest_type,
+ GLsizei source_size) {
+ gles2::cmds::CopyCompressedTextureCHROMIUM* c =
+ GetCmdSpace<gles2::cmds::CopyCompressedTextureCHROMIUM>();
+ if (c) {
+ c->Init(target, source_id, dest_id, internalformat, dest_type, source_size);
+ }
+}
+
void DrawArraysInstancedANGLE(GLenum mode,
GLint first,
GLsizei count,

Powered by Google App Engine
This is Rietveld 408576698