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

Issue 2257533007: Autogenerate CreateAndConsumeTextureCHROMIUM handler (Closed)

Created:
4 years, 4 months ago by piman
Modified:
4 years, 4 months 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

Autogenerate CreateAndConsumeTextureCHROMIUM handler CreateAndConsumeTextureCHROMIUM is an odd function that doesn't really fit in any of the models (it's a bit of a mix between "Create" and "PUT"). Rather than doing a 1-off model, introduce in the generator a notion of an "internal" function, that only generates a command, that is never directly exposed to the client interfaces. Introduce a CreateAndConsumeTextureINTERNAL that fits the existing "PUT" model, and trivially implement CreateAndConsumeTextureCHROMIUM in terms of the former. BUG=None CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Committed: https://crrev.com/b6e1387697acb8c6378d97aad06266793b63ded1 Cr-Commit-Position: refs/heads/master@{#413366}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+260 lines, -154 lines) Patch
M gpu/command_buffer/build_gles2_cmd_buffer.py View 14 chunks +37 lines, -6 lines 0 comments Download
M gpu/command_buffer/client/gles2_cmd_helper.h View 1 chunk +0 lines, -13 lines 0 comments Download
M gpu/command_buffer/client/gles2_cmd_helper_autogen.h View 1 chunk +13 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation.cc View 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/client/gles2_implementation_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/cmd_buffer_functions.txt View 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_format.h View 1 chunk +0 lines, -53 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_format_autogen.h View 1 chunk +49 lines, -0 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_format_test_autogen.h View 1 chunk +83 lines, -0 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_ids_autogen.h View 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 2 chunks +7 lines, -38 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_autogen.h View 1 chunk +29 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_passthrough_doer_prototypes.h View 1 chunk +3 lines, -3 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_passthrough_doers.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_passthrough_handlers.cc View 1 chunk +0 lines, -29 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_passthrough_handlers_autogen.cc View 1 chunk +26 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_textures.cc View 3 chunks +6 lines, -6 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 21 (12 generated)
piman
WDYT?
4 years, 4 months ago (2016-08-19 21:45:13 UTC) #4
Zhenyao Mo
lgtm This is a clever solution. I like it.
4 years, 4 months ago (2016-08-20 01:15:45 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2257533007/1
4 years, 4 months ago (2016-08-20 01:25:36 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/126347)
4 years, 4 months ago (2016-08-20 03:22:25 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2257533007/1
4 years, 4 months ago (2016-08-20 03:54:10 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/126425)
4 years, 4 months ago (2016-08-20 05:30:34 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2257533007/1
4 years, 4 months ago (2016-08-21 04:06:20 UTC) #18
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 4 months ago (2016-08-21 05:03:00 UTC) #19
commit-bot: I haz the power
4 years, 4 months ago (2016-08-21 05:04:28 UTC) #21
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/b6e1387697acb8c6378d97aad06266793b63ded1
Cr-Commit-Position: refs/heads/master@{#413366}

Powered by Google App Engine
This is Rietveld 408576698