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

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

Issue 116863003: gpu: Reuse transfer buffers more aggresively (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Async upload token part of existing Async command; use separate shared memory to sync async upload … Created 6 years, 10 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 1ff6dc420e4e6c575d04817750e838040f5c38e2..9e94f6a2be049c8f7f8316d09a25ee880e0c5bfd 100644
--- a/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
+++ b/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
@@ -1909,26 +1909,30 @@
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) {
+ uint32 data_shm_offset, uint32 async_upload_token,
+ uint32 sync_data_shm_id, uint32 sync_data_shm_offset) {
gles2::cmds::AsyncTexSubImage2DCHROMIUM* c =
GetCmdSpace<gles2::cmds::AsyncTexSubImage2DCHROMIUM>();
if (c) {
c->Init(
target, level, xoffset, yoffset, width, height, format, type,
- data_shm_id, data_shm_offset);
+ data_shm_id, data_shm_offset, async_upload_token, sync_data_shm_id,
+ sync_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) {
+ uint32 pixels_shm_id, uint32 pixels_shm_offset, uint32 async_upload_token,
+ uint32 sync_data_shm_id, uint32 sync_data_shm_offset) {
gles2::cmds::AsyncTexImage2DCHROMIUM* c =
GetCmdSpace<gles2::cmds::AsyncTexImage2DCHROMIUM>();
if (c) {
c->Init(
target, level, internalformat, width, height, border, format, type,
- pixels_shm_id, pixels_shm_offset);
+ pixels_shm_id, pixels_shm_offset, async_upload_token,
+ sync_data_shm_id, sync_data_shm_offset);
}
}

Powered by Google App Engine
This is Rietveld 408576698