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

Issue 2543033002: Add texture swizzle back to command buffer. (Closed)

Created:
4 years ago by Zhenyao Mo
Modified:
4 years ago
CC:
chromium-reviews, piman+watch_chromium.org, bsalomon_chromium, Ken Russell (switch to Gerrit)
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add texture swizzle back to command buffer. If it's ES3 context, allow them. If it's WebGL2 context, disallow them. BUG=669168 TEST=gpu_unittests R=piman@chromium.org 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/90dcedd24853cdca918845ba57a13d9856c8d24e Cr-Commit-Position: refs/heads/master@{#435794}

Patch Set 1 #

Total comments: 3

Patch Set 2 : add swizzle value negative test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+133 lines, -1 line) Patch
M gpu/command_buffer/common/gles2_cmd_utils.cc View 2 chunks +8 lines, -1 line 0 comments Download
M gpu/command_buffer/service/feature_info.cc View 1 chunk +7 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 2 chunks +30 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest.h View 1 chunk +9 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc View 2 chunks +17 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_textures.cc View 1 1 chunk +62 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 23 (14 generated)
Zhenyao Mo
piman: PTAL
4 years ago (2016-12-01 22:13:44 UTC) #3
piman
LGTM, thanks!
4 years ago (2016-12-01 22:44:32 UTC) #6
Ken Russell (switch to Gerrit)
Thanks for putting this back in Mo. https://codereview.chromium.org/2543033002/diff/1/gpu/command_buffer/service/feature_info.cc File gpu/command_buffer/service/feature_info.cc (right): https://codereview.chromium.org/2543033002/diff/1/gpu/command_buffer/service/feature_info.cc#newcode1499 gpu/command_buffer/service/feature_info.cc:1499: validators_.texture_parameter.AddValue(GL_TEXTURE_SWIZZLE_A); What ...
4 years ago (2016-12-01 22:46:27 UTC) #8
Zhenyao Mo
https://codereview.chromium.org/2543033002/diff/1/gpu/command_buffer/service/feature_info.cc File gpu/command_buffer/service/feature_info.cc (right): https://codereview.chromium.org/2543033002/diff/1/gpu/command_buffer/service/feature_info.cc#newcode1499 gpu/command_buffer/service/feature_info.cc:1499: validators_.texture_parameter.AddValue(GL_TEXTURE_SWIZZLE_A); On 2016/12/01 22:46:27, Ken Russell wrote: > What ...
4 years ago (2016-12-01 22:47:51 UTC) #9
Zhenyao Mo
kbr: test case added. Please take another look.
4 years ago (2016-12-01 22:53:08 UTC) #11
Ken Russell (switch to Gerrit)
LGTM Apologies, I hadn't realized the TextureSwizzle enum set in build_gles2_cmd_buffer.py was already wired up, ...
4 years ago (2016-12-02 00:31:14 UTC) #15
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/2543033002/20001
4 years ago (2016-12-02 00:33:07 UTC) #18
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-12-02 00:38:39 UTC) #21
commit-bot: I haz the power
4 years ago (2016-12-02 00:42:44 UTC) #23
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/90dcedd24853cdca918845ba57a13d9856c8d24e
Cr-Commit-Position: refs/heads/master@{#435794}

Powered by Google App Engine
This is Rietveld 408576698