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

Issue 540053004: command_buffer: Table based command dispatch. (Closed)

Created:
6 years, 3 months ago by vmiura
Modified:
6 years, 3 months ago
Reviewers:
piman
CC:
chromium-reviews, piman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

command_buffer: Table based command dispatch. Changing command dispatch from a "switch" dispatch to table based dispatch makes DoCommand about 2 times faster on Android, and also seems to be reducing times in other command_buffer code due to code size reduction. BUG=394570 Committed: https://crrev.com/cd108598efea261241ac8b34ae225c179ed935a9 Cr-Commit-Position: refs/heads/master@{#293721}

Patch Set 1 : #

Total comments: 2

Patch Set 2 : Store command handlers in command_info array. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+899 lines, -383 lines) Patch
M gpu/command_buffer/build_gles2_cmd_buffer.py View 7 chunks +17 lines, -32 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 61 chunks +249 lines, -113 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_autogen.h View 132 chunks +633 lines, -238 lines 0 comments Download

Messages

Total messages: 15 (6 generated)
vmiura
ptal
6 years, 3 months ago (2014-09-05 18:22:19 UTC) #4
piman
lgtm https://codereview.chromium.org/540053004/diff/40001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/540053004/diff/40001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode3779 gpu/command_buffer/service/gles2_cmd_decoder.cc:3779: static CmdHandler cmd_handlers[] = { nit: can we ...
6 years, 3 months ago (2014-09-05 22:10:17 UTC) #5
vmiura
https://codereview.chromium.org/540053004/diff/40001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/540053004/diff/40001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode3779 gpu/command_buffer/service/gles2_cmd_decoder.cc:3779: static CmdHandler cmd_handlers[] = { On 2014/09/05 22:10:16, piman ...
6 years, 3 months ago (2014-09-05 22:35:44 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vmiura@chromium.org/540053004/60001
6 years, 3 months ago (2014-09-05 22:36:40 UTC) #8
piman
lgtm
6 years, 3 months ago (2014-09-05 22:38:54 UTC) #9
commit-bot: I haz the power
Exceeded time limit waiting for builds to trigger.
6 years, 3 months ago (2014-09-06 04:38:50 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vmiura@chromium.org/540053004/60001
6 years, 3 months ago (2014-09-08 14:36:00 UTC) #13
commit-bot: I haz the power
Committed patchset #2 (id:60001) as 137e342a86bbbdc769e380c751c4e82aecbafa4c
6 years, 3 months ago (2014-09-08 14:38:14 UTC) #14
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:46:09 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/cd108598efea261241ac8b34ae225c179ed935a9
Cr-Commit-Position: refs/heads/master@{#293721}

Powered by Google App Engine
This is Rietveld 408576698