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

Issue 1412883002: Fix WebGL 2 texture renderability check. (Closed)

Created:
5 years, 2 months ago by Zhenyao Mo
Modified:
5 years, 1 month ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, 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

Fix WebGL 2 texture renderability check. It should check from base_level and up, not 0 and up. BUG=429053 TEST=conformance2/textures/misc/tex-mipmap-levels.html, gpu_unittests R=bajones@chromium.org,kbr@chromium.org Committed: https://crrev.com/493f20d34a57ae22da78f798235881ff39465ae0 Cr-Commit-Position: refs/heads/master@{#356475}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Total comments: 5

Patch Set 7 : working #

Total comments: 10

Patch Set 8 : fix asan crash #

Unified diffs Side-by-side diffs Delta from patch set Stats (+147 lines, -46 lines) Patch
M content/test/gpu/gpu_tests/webgl2_conformance_expectations.py View 1 2 3 4 5 6 7 1 chunk +0 lines, -1 line 0 comments Download
M gpu/command_buffer/service/texture_manager.h View 1 2 3 4 5 6 7 3 chunks +10 lines, -3 lines 0 comments Download
M gpu/command_buffer/service/texture_manager.cc View 1 2 3 4 5 6 7 16 chunks +81 lines, -35 lines 0 comments Download
M gpu/command_buffer/service/texture_manager_unittest.cc View 1 2 3 4 5 6 7 3 chunks +56 lines, -7 lines 0 comments Download

Messages

Total messages: 42 (12 generated)
Zhenyao Mo
Another one. PTAL.
5 years, 2 months ago (2015-10-16 22:24:11 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1412883002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1412883002/1
5 years, 2 months ago (2015-10-16 22:24:52 UTC) #4
bajones
LGTM
5 years, 2 months ago (2015-10-16 22:28:01 UTC) #5
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 2 months ago (2015-10-16 23:44:15 UTC) #7
Zhenyao Mo
not ready for review yet. Decided to update more places with base_level thing.
5 years, 2 months ago (2015-10-17 01:27:30 UTC) #8
qiankun
On 2015/10/17 01:27:30, Zhenyao Mo wrote: > not ready for review yet. Decided to update ...
5 years, 2 months ago (2015-10-17 08:17:10 UTC) #9
Ken Russell (switch to Gerrit)
lgtm. It's fine if you'd like to add support for this incrementally. Maybe better than ...
5 years, 2 months ago (2015-10-18 22:45:08 UTC) #10
Zhenyao Mo
OK, please take a look again. I audited texture_manager.cc and think I covered all the ...
5 years, 2 months ago (2015-10-22 00:52:33 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1412883002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1412883002/100001
5 years, 2 months ago (2015-10-22 00:53:39 UTC) #14
Zhenyao Mo
@qiankun, sorry our CLs got collided. Please also review my CL if you have time.
5 years, 2 months ago (2015-10-22 00:57:54 UTC) #15
piman
lgtm https://codereview.chromium.org/1412883002/diff/100001/gpu/command_buffer/service/texture_manager.cc File gpu/command_buffer/service/texture_manager.cc (right): https://codereview.chromium.org/1412883002/diff/100001/gpu/command_buffer/service/texture_manager.cc#newcode803 gpu/command_buffer/service/texture_manager.cc:803: face_info.num_mip_levels = std::min( nit: 2 spaces before std::min ...
5 years, 2 months ago (2015-10-22 01:18:37 UTC) #16
Ken Russell (switch to Gerrit)
LGTM again. Great work making this change complete. https://codereview.chromium.org/1412883002/diff/100001/content/test/gpu/gpu_tests/webgl2_conformance_expectations.py File content/test/gpu/gpu_tests/webgl2_conformance_expectations.py (left): https://codereview.chromium.org/1412883002/diff/100001/content/test/gpu/gpu_tests/webgl2_conformance_expectations.py#oldcode96 content/test/gpu/gpu_tests/webgl2_conformance_expectations.py:96: self.Fail('conformance2/textures/misc/tex-mipmap-levels.html', ...
5 years, 2 months ago (2015-10-22 01:36:32 UTC) #17
Zhenyao Mo
LGTM https://codereview.chromium.org/1412883002/diff/100001/gpu/command_buffer/service/texture_manager.cc File gpu/command_buffer/service/texture_manager.cc (right): https://codereview.chromium.org/1412883002/diff/100001/gpu/command_buffer/service/texture_manager.cc#newcode803 gpu/command_buffer/service/texture_manager.cc:803: face_info.num_mip_levels = std::min( On 2015/10/22 01:18:36, piman (slow ...
5 years, 2 months ago (2015-10-22 01:43:20 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1412883002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1412883002/120001
5 years, 2 months ago (2015-10-22 01:49:17 UTC) #21
Zhenyao Mo
No idea why I put LGTM to my own CL
5 years, 2 months ago (2015-10-22 01:51:06 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/124077)
5 years, 2 months ago (2015-10-22 02:51:27 UTC) #24
qiankun
https://codereview.chromium.org/1412883002/diff/120001/gpu/command_buffer/service/texture_manager.cc File gpu/command_buffer/service/texture_manager.cc (right): https://codereview.chromium.org/1412883002/diff/120001/gpu/command_buffer/service/texture_manager.cc#newcode483 gpu/command_buffer/service/texture_manager.cc:483: DCHECK_GE(level, 0); We should check for level >= base_level_ ...
5 years, 2 months ago (2015-10-22 06:06:08 UTC) #26
Ken Russell (switch to Gerrit)
On 2015/10/22 02:51:27, commit-bot: I haz the power wrote: > Try jobs failed on following ...
5 years, 2 months ago (2015-10-22 17:49:03 UTC) #28
David Yen
On 2015/10/22 17:49:03, Ken Russell wrote: > On 2015/10/22 02:51:27, commit-bot: I haz the power ...
5 years, 2 months ago (2015-10-23 06:43:24 UTC) #29
Zhenyao Mo
https://codereview.chromium.org/1412883002/diff/120001/gpu/command_buffer/service/texture_manager.cc File gpu/command_buffer/service/texture_manager.cc (right): https://codereview.chromium.org/1412883002/diff/120001/gpu/command_buffer/service/texture_manager.cc#newcode483 gpu/command_buffer/service/texture_manager.cc:483: DCHECK_GE(level, 0); On 2015/10/22 06:06:08, qiankun wrote: > We ...
5 years, 1 month ago (2015-10-26 21:05:24 UTC) #30
qiankun
lgtm https://codereview.chromium.org/1412883002/diff/120001/gpu/command_buffer/service/texture_manager.cc File gpu/command_buffer/service/texture_manager.cc (right): https://codereview.chromium.org/1412883002/diff/120001/gpu/command_buffer/service/texture_manager.cc#newcode1317 gpu/command_buffer/service/texture_manager.cc:1317: if (level >= 0 && face_index < face_infos_.size() ...
5 years, 1 month ago (2015-10-27 06:32:50 UTC) #31
Zhenyao Mo
On 2015/10/27 06:32:50, qiankun wrote: > lgtm > > https://codereview.chromium.org/1412883002/diff/120001/gpu/command_buffer/service/texture_manager.cc > File gpu/command_buffer/service/texture_manager.cc (right): > ...
5 years, 1 month ago (2015-10-27 22:48:12 UTC) #32
qiankun
On 2015/10/27 22:48:12, Zhenyao Mo wrote: > On 2015/10/27 06:32:50, qiankun wrote: > > lgtm ...
5 years, 1 month ago (2015-10-27 23:08:01 UTC) #33
Ken Russell (switch to Gerrit)
On 2015/10/27 23:08:01, qiankun wrote: > On 2015/10/27 22:48:12, Zhenyao Mo wrote: > > On ...
5 years, 1 month ago (2015-10-27 23:22:11 UTC) #34
zmo
On 2015/10/27 23:22:11, Ken Russell wrote: > On 2015/10/27 23:08:01, qiankun wrote: > > On ...
5 years, 1 month ago (2015-10-27 23:36:04 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1412883002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1412883002/140001
5 years, 1 month ago (2015-10-27 23:36:52 UTC) #38
qiankun
On 2015/10/27 23:36:04, zmo wrote: > On 2015/10/27 23:22:11, Ken Russell wrote: > > On ...
5 years, 1 month ago (2015-10-27 23:37:46 UTC) #39
commit-bot: I haz the power
Committed patchset #8 (id:140001)
5 years, 1 month ago (2015-10-28 01:23:04 UTC) #40
commit-bot: I haz the power
Patchset 8 (id:??) landed as https://crrev.com/493f20d34a57ae22da78f798235881ff39465ae0 Cr-Commit-Position: refs/heads/master@{#356475}
5 years, 1 month ago (2015-10-28 01:24:06 UTC) #41
Jamie Madill
5 years, 1 month ago (2015-10-28 14:26:23 UTC) #42
Message was sent while issue was closed.
A revert of this CL (patchset #8 id:140001) has been created in
https://codereview.chromium.org/1425943002/ by jmadill@chromium.org.

The reason for reverting is: Failing on several configs, possibly has a bug:

On Windows, triggers a bug in ANGLE, should have a skip suppression:
http://build.chromium.org/p/chromium.gpu.fyi/builders/Win7%20Debug%20%28NVIDI...
(assert in Renderer11.cpp in Debug)

On Mac, fails for unknown reasons:
http://build.chromium.org/p/chromium.gpu.fyi/builders/Mac%2010.10%20Release%2...
http://build.chromium.org/p/chromium.gpu.fyi/builders/Mac%2010.9%20Debug%20%2...

On Linux AMD, fails as well:
http://build.chromium.org/p/chromium.gpu.fyi/builders/Linux%20Release%20%28AT...
.

Powered by Google App Engine
This is Rietveld 408576698