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

Issue 1528163002: Added 64 bit number support in the build gles2 command buffer script. (Closed)

Created:
5 years ago by David Yen
Modified:
5 years ago
Reviewers:
Zhenyao Mo
CC:
chromium-reviews, piman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Added 64 bit number support in the build gles2 command buffer script. All members in the command buffer structures need to be 32 bit aligned, for this reason 64 bit numbers were not supported. I have added functionality to convert 64 bit numbers into 2 separate fields. This was previously done manually in some commands (glClientWaitSync, glWaitSync) and broken in other commands that used 64 bit arguments (glInsertFenceSyncCHROMIUM, glWaitSyncTokenCHROMIUM). R=zmo@chromium.org BUG=514815 Committed: https://crrev.com/04ff8e34fa897694907bb97e574905339e98de2d Cr-Commit-Position: refs/heads/master@{#365407}

Patch Set 1 #

Patch Set 2 : Modifyed glClientWaitSync and glWaitSync to use GLuint64 in command buffer #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+228 lines, -137 lines) Patch
M gpu/command_buffer/build_gles2_cmd_buffer.py View 1 17 chunks +92 lines, -26 lines 2 comments Download
M gpu/command_buffer/client/gles2_cmd_helper_autogen.h View 1 2 chunks +4 lines, -9 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation.cc View 1 2 chunks +2 lines, -7 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation_unittest.cc View 1 2 chunks +2 lines, -6 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_format_autogen.h View 1 11 chunks +102 lines, -49 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_format_test_autogen.h View 1 4 chunks +10 lines, -12 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 4 chunks +9 lines, -9 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc View 1 6 chunks +7 lines, -19 lines 0 comments Download

Messages

Total messages: 13 (5 generated)
David Yen
5 years ago (2015-12-15 21:59:12 UTC) #1
David Yen
On 2015/12/15 21:59:12, David Yen wrote: I've changed my functions to use the conversion functions ...
5 years ago (2015-12-15 22:26:43 UTC) #2
Zhenyao Mo
lgtm https://codereview.chromium.org/1528163002/diff/20001/gpu/command_buffer/build_gles2_cmd_buffer.py File gpu/command_buffer/build_gles2_cmd_buffer.py (right): https://codereview.chromium.org/1528163002/diff/20001/gpu/command_buffer/build_gles2_cmd_buffer.py#newcode3824 gpu/command_buffer/build_gles2_cmd_buffer.py:3824: 'GLuint64 timeout', Now it's the same original signature, ...
5 years ago (2015-12-15 23:19:20 UTC) #5
David Yen
https://codereview.chromium.org/1528163002/diff/20001/gpu/command_buffer/build_gles2_cmd_buffer.py File gpu/command_buffer/build_gles2_cmd_buffer.py (right): https://codereview.chromium.org/1528163002/diff/20001/gpu/command_buffer/build_gles2_cmd_buffer.py#newcode3824 gpu/command_buffer/build_gles2_cmd_buffer.py:3824: 'GLuint64 timeout', On 2015/12/15 23:19:20, Zhenyao Mo wrote: > ...
5 years ago (2015-12-15 23:20:31 UTC) #6
Zhenyao Mo
On 2015/12/15 23:20:31, David Yen wrote: > https://codereview.chromium.org/1528163002/diff/20001/gpu/command_buffer/build_gles2_cmd_buffer.py > File gpu/command_buffer/build_gles2_cmd_buffer.py (right): > > https://codereview.chromium.org/1528163002/diff/20001/gpu/command_buffer/build_gles2_cmd_buffer.py#newcode3824 ...
5 years ago (2015-12-15 23:33:05 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1528163002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1528163002/20001
5 years ago (2015-12-15 23:37:21 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years ago (2015-12-16 00:41:46 UTC) #11
commit-bot: I haz the power
5 years ago (2015-12-16 00:43:22 UTC) #13
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/04ff8e34fa897694907bb97e574905339e98de2d
Cr-Commit-Position: refs/heads/master@{#365407}

Powered by Google App Engine
This is Rietveld 408576698