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

Issue 2029803002: Improve CopyTex{Sub}Image2D format validation. (Closed)

Created:
4 years, 6 months ago by Zhenyao Mo
Modified:
4 years, 6 months ago
CC:
chromium-reviews, Ken Russell (switch to Gerrit), 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

Improve CopyTex{Sub}Image2D format validation. 1) Unify the validation code into a helper function. 2) In ES3, for sized formats, the read_format and internal_format's color bits have to match exactly. BUG=429053 TEST=gpu_unittests,webgl{2}_conformance R=piman@chromium.org 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/25966f2863c58fb04faa48986150c363d30be6fa Cr-Commit-Position: refs/heads/master@{#397913}

Patch Set 1 #

Patch Set 2 : with fix #

Total comments: 4

Patch Set 3 : fix #

Patch Set 4 : #

Total comments: 3

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+471 lines, -99 lines) Patch
M content/test/gpu/gpu_tests/webgl2_conformance_expectations.py View 1 2 3 4 2 chunks +21 lines, -23 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_utils.h View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_utils.cc View 1 2 3 4 1 chunk +355 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 2 3 9 chunks +91 lines, -76 lines 0 comments Download

Messages

Total messages: 39 (16 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2029803002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2029803002/1
4 years, 6 months ago (2016-06-01 21:58:43 UTC) #3
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-02 00:49:59 UTC) #5
Zhenyao Mo
Note that patch set 1 is refactoring, patch set 2 is adding the fix. piman: ...
4 years, 6 months ago (2016-06-02 18:15:44 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2029803002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2029803002/20001
4 years, 6 months ago (2016-06-02 18:16:45 UTC) #8
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/223670)
4 years, 6 months ago (2016-06-02 20:00:45 UTC) #10
Ken Russell (switch to Gerrit)
Nice fix. LGTM for what it's worth.
4 years, 6 months ago (2016-06-02 20:08:09 UTC) #12
Corentin Wallez
On 2016/06/02 at 18:15:44, zmo wrote: > Note that patch set 1 is refactoring, patch ...
4 years, 6 months ago (2016-06-02 21:25:41 UTC) #13
Corentin Wallez
https://codereview.chromium.org/2029803002/diff/20001/content/test/gpu/gpu_tests/webgl2_conformance_expectations.py File content/test/gpu/gpu_tests/webgl2_conformance_expectations.py (left): https://codereview.chromium.org/2029803002/diff/20001/content/test/gpu/gpu_tests/webgl2_conformance_expectations.py#oldcode113 content/test/gpu/gpu_tests/webgl2_conformance_expectations.py:113: ['win'], bug=483282) likewise from Windows only to general. https://codereview.chromium.org/2029803002/diff/20001/gpu/command_buffer/common/gles2_cmd_utils.cc ...
4 years, 6 months ago (2016-06-02 21:29:40 UTC) #15
Zhenyao Mo
https://codereview.chromium.org/2029803002/diff/20001/content/test/gpu/gpu_tests/webgl2_conformance_expectations.py File content/test/gpu/gpu_tests/webgl2_conformance_expectations.py (left): https://codereview.chromium.org/2029803002/diff/20001/content/test/gpu/gpu_tests/webgl2_conformance_expectations.py#oldcode113 content/test/gpu/gpu_tests/webgl2_conformance_expectations.py:113: ['win'], bug=483282) On 2016/06/02 21:29:40, Corentin Wallez wrote: > ...
4 years, 6 months ago (2016-06-03 18:29:48 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2029803002/40001
4 years, 6 months ago (2016-06-03 18:30:34 UTC) #18
commit-bot: I haz the power
Dry run: 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/122022)
4 years, 6 months ago (2016-06-03 18:56:24 UTC) #20
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2029803002/60001
4 years, 6 months ago (2016-06-03 19:56:13 UTC) #22
piman
https://codereview.chromium.org/2029803002/diff/60001/gpu/command_buffer/common/gles2_cmd_utils.cc File gpu/command_buffer/common/gles2_cmd_utils.cc (right): https://codereview.chromium.org/2029803002/diff/60001/gpu/command_buffer/common/gles2_cmd_utils.cc#newcode1337 gpu/command_buffer/common/gles2_cmd_utils.cc:1337: default: I think anything valid in FormatTypeValidator::kSupportedFormatTypes in texture_manager.cc ...
4 years, 6 months ago (2016-06-03 21:26:04 UTC) #23
Zhenyao Mo
https://codereview.chromium.org/2029803002/diff/60001/gpu/command_buffer/common/gles2_cmd_utils.cc File gpu/command_buffer/common/gles2_cmd_utils.cc (right): https://codereview.chromium.org/2029803002/diff/60001/gpu/command_buffer/common/gles2_cmd_utils.cc#newcode1337 gpu/command_buffer/common/gles2_cmd_utils.cc:1337: default: On 2016/06/03 21:26:04, piman OOO back 2016-6-2 wrote: ...
4 years, 6 months ago (2016-06-03 21:31:27 UTC) #24
piman
https://codereview.chromium.org/2029803002/diff/60001/gpu/command_buffer/common/gles2_cmd_utils.cc File gpu/command_buffer/common/gles2_cmd_utils.cc (right): https://codereview.chromium.org/2029803002/diff/60001/gpu/command_buffer/common/gles2_cmd_utils.cc#newcode1337 gpu/command_buffer/common/gles2_cmd_utils.cc:1337: default: On 2016/06/03 21:31:27, Zhenyao Mo wrote: > On ...
4 years, 6 months ago (2016-06-03 21:40:57 UTC) #25
Zhenyao Mo
On 2016/06/03 21:40:57, piman OOO back 2016-6-2 wrote: > https://codereview.chromium.org/2029803002/diff/60001/gpu/command_buffer/common/gles2_cmd_utils.cc > File gpu/command_buffer/common/gles2_cmd_utils.cc (right): > ...
4 years, 6 months ago (2016-06-03 22:18:31 UTC) #26
Zhenyao Mo
Revised. Please take another look.
4 years, 6 months ago (2016-06-03 22:43:02 UTC) #29
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2029803002/100001
4 years, 6 months ago (2016-06-03 22:43:50 UTC) #30
piman
LGTM, thanks.
4 years, 6 months ago (2016-06-03 22:46:39 UTC) #31
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-04 01:19:45 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2029803002/100001
4 years, 6 months ago (2016-06-04 11:44:07 UTC) #36
commit-bot: I haz the power
Committed patchset #5 (id:100001)
4 years, 6 months ago (2016-06-04 11:48:10 UTC) #37
commit-bot: I haz the power
4 years, 6 months ago (2016-06-04 11:49:29 UTC) #39
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/25966f2863c58fb04faa48986150c363d30be6fa
Cr-Commit-Position: refs/heads/master@{#397913}

Powered by Google App Engine
This is Rietveld 408576698