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

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: Use ScopedVector for storing image format configurations 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 875cb7ec8cd05e5dbe021b29f2feeaea7ca787a9..58cdb230a18a9311ccd48cf5663791505cd28852 100644
--- a/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
+++ b/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
@@ -2488,6 +2488,16 @@ void CopySubTextureCHROMIUM(GLenum target,
}
}
+void CompressedCopyTextureCHROMIUM(GLenum target,
+ GLenum source_id,
+ GLenum dest_id) {
+ gles2::cmds::CompressedCopyTextureCHROMIUM* c =
+ GetCmdSpace<gles2::cmds::CompressedCopyTextureCHROMIUM>();
+ if (c) {
+ c->Init(target, source_id, dest_id);
+ }
+}
+
void DrawArraysInstancedANGLE(GLenum mode,
GLint first,
GLsizei count,
« no previous file with comments | « gpu/command_buffer/client/gles2_c_lib_autogen.h ('k') | gpu/command_buffer/client/gles2_implementation_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698