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

Issue 2012533004: Add generated and hand-written passthrough command handlers with stub Doers. (Closed)

Created:
4 years, 7 months ago by Geoff Lang
Modified:
4 years, 6 months ago
Reviewers:
Zhenyao Mo, piman
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

Add generated and hand-written passthrough command handlers with stub Doers. Use the build_gles2_cmd_buffer.py script to generate as many handlers as possible and hand-write the rest. BUG=602688 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_optional_gpu_tests_rel;tryserver.chromium.mac:mac_optional_gpu_tests_rel;tryserver.chromium.win:win_optional_gpu_tests_rel Committed: https://crrev.com/d00f0b244d1bbb3d63daa2aa3ae72a83c1e17561 Cr-Commit-Position: refs/heads/master@{#397725}

Patch Set 1 #

Patch Set 2 : fix presubmit #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 6

Patch Set 5 : #

Total comments: 15

Patch Set 6 : #

Total comments: 11

Patch Set 7 : reorganize cc files. #

Patch Set 8 : rebase #

Patch Set 9 : Remove some.gyp change. #

Patch Set 10 : Fix presubmit #

Total comments: 4

Patch Set 11 : #

Patch Set 12 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10737 lines, -336 lines) Patch
M gpu/command_buffer/build_gles2_cmd_buffer.py View 1 2 3 4 5 6 7 8 9 10 20 chunks +217 lines, -11 lines 0 comments Download
M gpu/command_buffer/common/buffer.h View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M gpu/command_buffer/common/buffer.cc View 1 2 3 4 5 1 chunk +14 lines, -0 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_utils.h View 1 chunk +18 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/BUILD.gn View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/common_decoder.h View 1 chunk +13 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/common_decoder.cc View 1 chunk +19 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +1 line, -18 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_passthrough.h View 1 2 3 4 5 6 7 1 chunk +235 lines, -3 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_passthrough.cc View 1 2 3 4 5 6 7 1 chunk +296 lines, -304 lines 0 comments Download
A gpu/command_buffer/service/gles2_cmd_decoder_passthrough_doer_prototypes.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +894 lines, -0 lines 0 comments Download
A gpu/command_buffer/service/gles2_cmd_decoder_passthrough_doers.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2135 lines, -0 lines 0 comments Download
A gpu/command_buffer/service/gles2_cmd_decoder_passthrough_handlers.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +2590 lines, -0 lines 0 comments Download
A gpu/command_buffer/service/gles2_cmd_decoder_passthrough_handlers_autogen.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +4291 lines, -0 lines 0 comments Download
M gpu/command_buffer_service.gypi View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (10 generated)
Geoff Lang
PTAL
4 years, 7 months ago (2016-05-25 17:04:42 UTC) #4
Zhenyao Mo
I haven't looked into handlers yet because there are a lot of functions and it ...
4 years, 7 months ago (2016-05-25 20:05:49 UTC) #5
Geoff Lang
Thanks for looking, no rush on the review. Most of the hand-written handlers were done ...
4 years, 7 months ago (2016-05-25 20:44:30 UTC) #6
piman
https://codereview.chromium.org/2012533004/diff/80001/gpu/command_buffer/build_gles2_cmd_buffer.py File gpu/command_buffer/build_gles2_cmd_buffer.py (right): https://codereview.chromium.org/2012533004/diff/80001/gpu/command_buffer/build_gles2_cmd_buffer.py#newcode5007 gpu/command_buffer/build_gles2_cmd_buffer.py:5007: self.WritePassthroughServiceFunctionHeader(func, f) I see that you don't have an ...
4 years, 7 months ago (2016-05-25 23:34:41 UTC) #7
Geoff Lang
https://codereview.chromium.org/2012533004/diff/80001/gpu/command_buffer/build_gles2_cmd_buffer.py File gpu/command_buffer/build_gles2_cmd_buffer.py (right): https://codereview.chromium.org/2012533004/diff/80001/gpu/command_buffer/build_gles2_cmd_buffer.py#newcode5007 gpu/command_buffer/build_gles2_cmd_buffer.py:5007: self.WritePassthroughServiceFunctionHeader(func, f) On 2016/05/25 23:34:42, piman wrote: > I ...
4 years, 6 months ago (2016-05-27 14:31:28 UTC) #8
Zhenyao Mo
Sorry for the delay of reviewing this CL. Mostly looks good with some minor issues. ...
4 years, 6 months ago (2016-05-31 01:37:22 UTC) #9
piman
https://codereview.chromium.org/2012533004/diff/80001/gpu/command_buffer/service/gles2_cmd_decoder_passthrough_doers.h File gpu/command_buffer/service/gles2_cmd_decoder_passthrough_doers.h (right): https://codereview.chromium.org/2012533004/diff/80001/gpu/command_buffer/service/gles2_cmd_decoder_passthrough_doers.h#newcode10 gpu/command_buffer/service/gles2_cmd_decoder_passthrough_doers.h:10: // Implementations of commands On 2016/05/27 14:31:28, Geoff Lang ...
4 years, 6 months ago (2016-05-31 15:57:34 UTC) #10
Geoff Lang
Remove some.gyp change.
4 years, 6 months ago (2016-06-01 19:40:59 UTC) #11
Geoff Lang
Fix presubmit
4 years, 6 months ago (2016-06-01 20:11:13 UTC) #12
Geoff Lang
https://codereview.chromium.org/2012533004/diff/100001/gpu/command_buffer/service/gles2_cmd_decoder_passthrough_handlers_autogen.h File gpu/command_buffer/service/gles2_cmd_decoder_passthrough_handlers_autogen.h (right): https://codereview.chromium.org/2012533004/diff/100001/gpu/command_buffer/service/gles2_cmd_decoder_passthrough_handlers_autogen.h#newcode20 gpu/command_buffer/service/gles2_cmd_decoder_passthrough_handlers_autogen.h:20: (void)c; On 2016/05/31 01:37:22, Zhenyao Mo wrote: > nit: ...
4 years, 6 months ago (2016-06-01 20:11:51 UTC) #13
Zhenyao Mo
lgtm https://codereview.chromium.org/2012533004/diff/100001/gpu/command_buffer/service/gles2_cmd_decoder_passthrough_handlers_autogen.h File gpu/command_buffer/service/gles2_cmd_decoder_passthrough_handlers_autogen.h (right): https://codereview.chromium.org/2012533004/diff/100001/gpu/command_buffer/service/gles2_cmd_decoder_passthrough_handlers_autogen.h#newcode20 gpu/command_buffer/service/gles2_cmd_decoder_passthrough_handlers_autogen.h:20: (void)c; On 2016/06/01 20:11:51, Geoff Lang wrote: > ...
4 years, 6 months ago (2016-06-01 20:17:45 UTC) #14
piman
lgtm https://codereview.chromium.org/2012533004/diff/180001/gpu/command_buffer/service/gles2_cmd_decoder_passthrough_handlers.cc File gpu/command_buffer/service/gles2_cmd_decoder_passthrough_handlers.cc (right): https://codereview.chromium.org/2012533004/diff/180001/gpu/command_buffer/service/gles2_cmd_decoder_passthrough_handlers.cc#newcode2491 gpu/command_buffer/service/gles2_cmd_decoder_passthrough_handlers.cc:2491: } nit: blank line between functions https://codereview.chromium.org/2012533004/diff/180001/gpu/command_buffer/service/gles2_cmd_decoder_passthrough_handlers.cc#newcode2516 gpu/command_buffer/service/gles2_cmd_decoder_passthrough_handlers.cc:2516: ...
4 years, 6 months ago (2016-06-03 04:23:37 UTC) #15
Geoff Lang
https://codereview.chromium.org/2012533004/diff/180001/gpu/command_buffer/service/gles2_cmd_decoder_passthrough_handlers.cc File gpu/command_buffer/service/gles2_cmd_decoder_passthrough_handlers.cc (right): https://codereview.chromium.org/2012533004/diff/180001/gpu/command_buffer/service/gles2_cmd_decoder_passthrough_handlers.cc#newcode2491 gpu/command_buffer/service/gles2_cmd_decoder_passthrough_handlers.cc:2491: } On 2016/06/03 04:23:37, piman OOO back 2016-6-2 wrote: ...
4 years, 6 months ago (2016-06-03 13:33:13 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2012533004/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2012533004/200001
4 years, 6 months ago (2016-06-03 13:34:16 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_gn_rel on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_gn_rel/builds/121825)
4 years, 6 months ago (2016-06-03 13:43:56 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2012533004/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2012533004/220001
4 years, 6 months ago (2016-06-03 15:05:11 UTC) #24
commit-bot: I haz the power
Committed patchset #12 (id:220001)
4 years, 6 months ago (2016-06-03 16:35:07 UTC) #26
commit-bot: I haz the power
4 years, 6 months ago (2016-06-03 16:36:55 UTC) #28
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/d00f0b244d1bbb3d63daa2aa3ae72a83c1e17561
Cr-Commit-Position: refs/heads/master@{#397725}

Powered by Google App Engine
This is Rietveld 408576698