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

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

Issue 1528163002: Added 64 bit number support in the build gles2 command buffer script. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Modifyed glClientWaitSync and glWaitSync to use GLuint64 in command buffer Created 5 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
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 6d7fcf646596a8fd51bc2383d5f0d6139528ddb9..e9043d10a5ab1f3f965623353cc2570892770263 100644
--- a/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
+++ b/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
@@ -242,14 +242,12 @@ void ClearStencil(GLint s) {
void ClientWaitSync(GLuint sync,
GLbitfield flags,
- GLuint timeout_0,
- GLuint timeout_1,
+ GLuint64 timeout,
uint32_t result_shm_id,
uint32_t result_shm_offset) {
gles2::cmds::ClientWaitSync* c = GetCmdSpace<gles2::cmds::ClientWaitSync>();
if (c) {
- c->Init(sync, flags, timeout_0, timeout_1, result_shm_id,
- result_shm_offset);
+ c->Init(sync, flags, timeout, result_shm_id, result_shm_offset);
}
}
@@ -2146,13 +2144,10 @@ void Viewport(GLint x, GLint y, GLsizei width, GLsizei height) {
}
}
-void WaitSync(GLuint sync,
- GLbitfield flags,
- GLuint timeout_0,
- GLuint timeout_1) {
+void WaitSync(GLuint sync, GLbitfield flags, GLuint64 timeout) {
gles2::cmds::WaitSync* c = GetCmdSpace<gles2::cmds::WaitSync>();
if (c) {
- c->Init(sync, flags, timeout_0, timeout_1);
+ c->Init(sync, flags, timeout);
}
}

Powered by Google App Engine
This is Rietveld 408576698