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

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: Remove glGetCompressedTexImage fallback Created 5 years, 6 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..72dee4c45e6c790d5a253bdb5066fa705d625975 100644
--- a/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
+++ b/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
@@ -2415,6 +2415,18 @@ void CopySubTextureCHROMIUM(GLenum target,
}
}
+void CompressedCopyTextureCHROMIUM(GLenum target,
+ GLenum source_id,
+ GLenum dest_id,
+ GLenum internalformat,
+ GLsizei source_size) {
+ gles2::cmds::CompressedCopyTextureCHROMIUM* c =
+ GetCmdSpace<gles2::cmds::CompressedCopyTextureCHROMIUM>();
+ if (c) {
+ c->Init(target, source_id, dest_id, internalformat, source_size);
+ }
+}
+
void DrawArraysInstancedANGLE(GLenum mode,
GLint first,
GLsizei count,

Powered by Google App Engine
This is Rietveld 408576698