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

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

Issue 11412232: gpu: Add async upload functions. (Closed) Base URL: http://git.chromium.org/chromium/src.git@ASYNC_uploads
Patch Set: Add autogenerated code. Created 8 years, 1 month 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 51a91e72ce5ba2369d859b602f57bcda2c2f8797..26e703b76b7e43026e5872ad018563b78f89634c 100644
--- a/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
+++ b/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
@@ -1932,5 +1932,31 @@
}
}
+ void AsyncTexSubImage2DCHROMIUM(
+ GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width,
+ GLsizei height, GLenum format, GLenum type, uint32 data_shm_id,
+ uint32 data_shm_offset) {
+ gles2::AsyncTexSubImage2DCHROMIUM* c =
+ GetCmdSpace<gles2::AsyncTexSubImage2DCHROMIUM>();
+ if (c) {
+ c->Init(
+ target, level, xoffset, yoffset, width, height, format, type,
+ data_shm_id, data_shm_offset);
+ }
+ }
+
+ void AsyncTexImage2DCHROMIUM(
+ GLenum target, GLint level, GLint internalformat, GLsizei width,
+ GLsizei height, GLint border, GLenum format, GLenum type,
+ uint32 pixels_shm_id, uint32 pixels_shm_offset) {
+ gles2::AsyncTexImage2DCHROMIUM* c =
+ GetCmdSpace<gles2::AsyncTexImage2DCHROMIUM>();
+ if (c) {
+ c->Init(
+ target, level, internalformat, width, height, border, format, type,
+ pixels_shm_id, pixels_shm_offset);
+ }
+ }
+
#endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_

Powered by Google App Engine
This is Rietveld 408576698