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

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

Issue 793693003: Tile Compression (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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
« no previous file with comments | « gpu/command_buffer/client/gles2_c_lib_autogen.h ('k') | gpu/command_buffer/client/gles2_implementation.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 7b2faae1860af44a89c256332748721963191d45..ed998eb71afe068bf4b82387d69e927cfe20ebaf 100644
--- a/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
+++ b/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
@@ -1862,6 +1862,18 @@ void CopyTextureCHROMIUM(GLenum target,
}
}
+void CopyCompressedTextureCHROMIUM(GLenum target,
+ GLenum source_id,
+ GLenum dest_id,
+ GLenum internalformat,
+ GLenum dest_type) {
+ gles2::cmds::CopyCompressedTextureCHROMIUM* c =
+ GetCmdSpace<gles2::cmds::CopyCompressedTextureCHROMIUM>();
+ if (c) {
+ c->Init(target, source_id, dest_id, internalformat, dest_type);
+ }
+}
+
void DrawArraysInstancedANGLE(GLenum mode,
GLint first,
GLsizei count,
@@ -2080,6 +2092,48 @@ void AsyncTexImage2DCHROMIUM(GLenum target,
}
}
+void AsyncCompressedTexSubImage2DCHROMIUM(GLenum target,
+ GLint level,
+ GLint xoffset,
+ GLint yoffset,
+ GLsizei width,
+ GLsizei height,
+ GLenum format,
+ GLsizei imagesize,
+ uint32_t data_shm_id,
+ uint32_t data_shm_offset,
+ uint32_t async_upload_token,
+ uint32_t sync_data_shm_id,
+ uint32_t sync_data_shm_offset) {
+ gles2::cmds::AsyncCompressedTexSubImage2DCHROMIUM* c =
+ GetCmdSpace<gles2::cmds::AsyncCompressedTexSubImage2DCHROMIUM>();
+ if (c) {
+ c->Init(target, level, xoffset, yoffset, width, height, format, imagesize,
+ data_shm_id, data_shm_offset, async_upload_token, sync_data_shm_id,
+ sync_data_shm_offset);
+ }
+}
+
+void AsyncCompressedTexImage2DCHROMIUM(GLenum target,
+ GLint level,
+ GLint internalformat,
+ GLsizei width,
+ GLsizei height,
+ GLsizei imagesize,
+ uint32_t pixels_shm_id,
+ uint32_t pixels_shm_offset,
+ uint32_t async_upload_token,
+ uint32_t sync_data_shm_id,
+ uint32_t sync_data_shm_offset) {
+ gles2::cmds::AsyncCompressedTexImage2DCHROMIUM* c =
+ GetCmdSpace<gles2::cmds::AsyncCompressedTexImage2DCHROMIUM>();
+ if (c) {
+ c->Init(target, level, internalformat, width, height, imagesize,
+ pixels_shm_id, pixels_shm_offset, async_upload_token,
+ sync_data_shm_id, sync_data_shm_offset);
+ }
+}
+
void WaitAsyncTexImage2DCHROMIUM(GLenum target) {
gles2::cmds::WaitAsyncTexImage2DCHROMIUM* c =
GetCmdSpace<gles2::cmds::WaitAsyncTexImage2DCHROMIUM>();
« no previous file with comments | « gpu/command_buffer/client/gles2_c_lib_autogen.h ('k') | gpu/command_buffer/client/gles2_implementation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698