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

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: [WIP] Review comments follow-up Created 6 years, 11 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 76a9f4a1267d6d50dec0bd5add7678db75558c86..b4e877a81771b8ef58e15d16738320563cd460cd 100644
--- a/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
+++ b/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
@@ -1558,18 +1558,18 @@
}
void BeginQueryEXT(
- GLenum target, GLuint id, uint32 sync_data_shm_id,
+ GLenum target, GLuint id, uint32 serial, uint32 sync_data_shm_id,
uint32 sync_data_shm_offset) {
gles2::cmds::BeginQueryEXT* c = GetCmdSpace<gles2::cmds::BeginQueryEXT>();
if (c) {
- c->Init(target, id, sync_data_shm_id, sync_data_shm_offset);
+ c->Init(target, id, serial, sync_data_shm_id, sync_data_shm_offset);
}
}
- void EndQueryEXT(GLenum target, GLuint submit_count) {
+ void EndQueryEXT(GLenum target, uint32 serial, GLuint submit_count) {
gles2::cmds::EndQueryEXT* c = GetCmdSpace<gles2::cmds::EndQueryEXT>();
if (c) {
- c->Init(target, submit_count);
+ c->Init(target, serial, submit_count);
}
}

Powered by Google App Engine
This is Rietveld 408576698