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

Issue 2182443003: WebGL 2: Fix bugs in negativetextureapi.html for Mac (Closed)

Created:
4 years, 5 months ago by yunchao
Modified:
4 years, 4 months ago
CC:
chromium-reviews, blink-reviews, darin-cc_chromium.org, haraken, jam, piman+watch_chromium.org, Yang Gu
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

WebGL 2: Fix bugs in negativetextureapi.html for Mac BUG=631934 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/4771076dd784de40192c7249914a2fbb208e7a49 Cr-Commit-Position: refs/heads/master@{#408313}

Patch Set 1 : a small fix #

Patch Set 2 : Update code per zmo's review: fix the bug in cmd buffer, instead of Blink WebGL #

Total comments: 6

Patch Set 3 : add tests into gpu_unittests for CopyTexSubImage3D #

Patch Set 4 : code rebase #

Patch Set 5 : small change #

Total comments: 17

Patch Set 6 : addressed feedbacks from zmo and qiankun #

Total comments: 9

Patch Set 7 : addressed zmo's feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+207 lines, -19 lines) Patch
M content/test/gpu/gpu_tests/webgl2_conformance_expectations.py View 1 2 3 2 chunks +0 lines, -5 lines 0 comments Download
M gpu/command_buffer/build_gles2_cmd_buffer.py View 1 1 chunk +2 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 2 3 4 5 3 chunks +66 lines, -1 line 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_autogen.h View 1 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_1_autogen.h View 1 1 chunk +0 lines, -12 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_textures.cc View 1 2 3 4 5 6 1 chunk +138 lines, -0 lines 0 comments Download

Messages

Total messages: 57 (39 generated)
yunchao
A small change to fix bugs in negativetextureapi.html for some platforms. The corresponding item in ...
4 years, 5 months ago (2016-07-26 05:28:40 UTC) #8
Zhenyao Mo
On 2016/07/26 05:28:40, yunchao wrote: > A small change to fix bugs in negativetextureapi.html for ...
4 years, 5 months ago (2016-07-26 05:32:59 UTC) #9
yunchao
On 2016/07/26 05:32:59, Zhenyao Mo wrote: > On 2016/07/26 05:28:40, yunchao wrote: > > A ...
4 years, 5 months ago (2016-07-26 05:39:03 UTC) #10
Zhenyao Mo
On 2016/07/26 05:39:03, yunchao wrote: > On 2016/07/26 05:32:59, Zhenyao Mo wrote: > > On ...
4 years, 5 months ago (2016-07-26 05:43:28 UTC) #11
yunchao
On 2016/07/26 05:43:28, Zhenyao Mo wrote: > On 2016/07/26 05:39:03, yunchao wrote: > > On ...
4 years, 5 months ago (2016-07-26 05:55:29 UTC) #12
Zhenyao Mo
The current code looks correct, but you need more validation than what you put down ...
4 years, 4 months ago (2016-07-26 13:25:55 UTC) #18
yunchao
Thanks for your quick review, Zhenyao. I will update the code accordingly. https://codereview.chromium.org/2182443003/diff/80001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc ...
4 years, 4 months ago (2016-07-26 13:30:50 UTC) #19
yunchao
Zhenyao (and all), please take another look. The code has been updated. Some comments from ...
4 years, 4 months ago (2016-07-27 11:12:30 UTC) #35
qiankun
Mostly looks good to me. https://codereview.chromium.org/2182443003/diff/160001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/2182443003/diff/160001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode13297 gpu/command_buffer/service/gles2_cmd_decoder.cc:13297: height); extra space before ...
4 years, 4 months ago (2016-07-27 13:56:26 UTC) #36
Zhenyao Mo
https://codereview.chromium.org/2182443003/diff/160001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/2182443003/diff/160001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode13296 gpu/command_buffer/service/gles2_cmd_decoder.cc:13296: glCopyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, width, Here ...
4 years, 4 months ago (2016-07-27 17:38:29 UTC) #37
yunchao
Thanks for your review, Zhenyao and Qiankun. Code has been updated accordingly. PTAL. https://codereview.chromium.org/2182443003/diff/160001/gpu/command_buffer/service/gles2_cmd_decoder.cc File ...
4 years, 4 months ago (2016-07-27 23:46:11 UTC) #40
Zhenyao Mo
lgtm with nits https://codereview.chromium.org/2182443003/diff/180001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/2182443003/diff/180001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode13298 gpu/command_buffer/service/gles2_cmd_decoder.cc:13298: // textures if it is uncleared, ...
4 years, 4 months ago (2016-07-28 00:10:54 UTC) #41
yunchao
Thanks for your quick review, Zhenyao. https://codereview.chromium.org/2182443003/diff/180001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/2182443003/diff/180001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode13298 gpu/command_buffer/service/gles2_cmd_decoder.cc:13298: // textures if ...
4 years, 4 months ago (2016-07-28 00:41:04 UTC) #46
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/2182443003/200001
4 years, 4 months ago (2016-07-28 01:31:31 UTC) #51
commit-bot: I haz the power
Committed patchset #7 (id:200001)
4 years, 4 months ago (2016-07-28 02:16:37 UTC) #53
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/4771076dd784de40192c7249914a2fbb208e7a49 Cr-Commit-Position: refs/heads/master@{#408313}
4 years, 4 months ago (2016-07-28 02:20:03 UTC) #55
Zhenyao Mo
https://codereview.chromium.org/2182443003/diff/180001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/2182443003/diff/180001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode13298 gpu/command_buffer/service/gles2_cmd_decoder.cc:13298: // textures if it is uncleared, out-of-bounds reading, etc. ...
4 years, 4 months ago (2016-07-28 05:13:26 UTC) #56
yunchao
4 years, 4 months ago (2016-07-28 05:14:56 UTC) #57
Message was sent while issue was closed.
On 2016/07/28 05:13:26, Zhenyao Mo wrote:
>
https://codereview.chromium.org/2182443003/diff/180001/gpu/command_buffer/ser...
> File gpu/command_buffer/service/gles2_cmd_decoder.cc (right):
> 
>
https://codereview.chromium.org/2182443003/diff/180001/gpu/command_buffer/ser...
> gpu/command_buffer/service/gles2_cmd_decoder.cc:13298: // textures if it is
> uncleared, out-of-bounds reading, etc.
> On 2016/07/28 00:41:04, yunchao wrote:
> > On 2016/07/28 00:10:54, Zhenyao Mo wrote:
> > > Please do follow up.  
> > 
> > Yes. In fact, I have already had a CL to handle the feedback loop issue. I
> will
> > improve it and submit it to review today.
> > 
> > > Can you also add a conformance test? Say you create a 3D
> > > texture without data, and then do CopyTexSubImage3D to one of the
> level/slice.
> > 
> > > At this point, in Chrome the texture is still marked as uninitialized. Now
> you
> > > try to render using the that slice. You will find it's been initialized to
0
> > > instead of the data CopyTexSubImage3D wrote into.
> > > 
> > > Once the test is added, we can get a CL to fix it.
> > 
> > OK. I will add this test case in gpu_unittests by follow-up CL, as well as
the
> > code to fix it in the same CL.
> 
> I suggest adding a webgl2 conformance test instead of a unit test.


Got it.

Powered by Google App Engine
This is Rietveld 408576698