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

Issue 1586053002: Reland of Untouch out of bound pixels for CopyTexSubImage2D (Closed)

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

Untouch out of bound pixels for CopyTexSubImage2D CopyTexSubImage2D is defined not to touch the corresponding destination range for any pixel outside the bound framebuffer. This CL removes code which wrongly clears subregion of destination texture. BUG=577357 Committed: https://crrev.com/98bcf19d91d046e9e04d820d9a8479e07b27834a Cr-Commit-Position: refs/heads/master@{#370332}

Patch Set 1 #

Total comments: 2

Patch Set 2 : set correct cleared_rect #

Patch Set 3 : fix comments#5 #

Total comments: 2

Patch Set 4 : fix comments#7 #

Patch Set 5 : fix layout tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -51 lines) Patch
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 2 3 2 chunks +7 lines, -27 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/canvas/webgl/uninitialized-test.html View 1 2 3 4 9 chunks +14 lines, -14 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/canvas/webgl/uninitialized-test-expected.txt View 1 2 3 4 1 chunk +10 lines, -10 lines 0 comments Download

Messages

Total messages: 23 (6 generated)
qiankun
This CL fixes conformance/textures/misc/copy-tex-image-and-sub-image-2d.html.
4 years, 11 months ago (2016-01-14 15:05:30 UTC) #2
Zhenyao Mo
https://codereview.chromium.org/1586053002/diff/1/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (left): https://codereview.chromium.org/1586053002/diff/1/gpu/command_buffer/service/gles2_cmd_decoder.cc#oldcode11418 gpu/command_buffer/service/gles2_cmd_decoder.cc:11418: } Look at the code above SetLevelClearedRect(), since now ...
4 years, 11 months ago (2016-01-14 18:13:37 UTC) #3
qiankun
https://codereview.chromium.org/1586053002/diff/1/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (left): https://codereview.chromium.org/1586053002/diff/1/gpu/command_buffer/service/gles2_cmd_decoder.cc#oldcode11418 gpu/command_buffer/service/gles2_cmd_decoder.cc:11418: } On 2016/01/14 18:13:37, Zhenyao Mo wrote: > Look ...
4 years, 11 months ago (2016-01-19 16:07:32 UTC) #4
Zhenyao Mo
The code looks good to me, but could you not modify the function args (xoffset, ...
4 years, 11 months ago (2016-01-19 20:50:14 UTC) #5
qiankun
On 2016/01/19 20:50:14, Zhenyao Mo wrote: > The code looks good to me, but could ...
4 years, 11 months ago (2016-01-20 00:13:03 UTC) #6
Zhenyao Mo
https://codereview.chromium.org/1586053002/diff/40001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/1586053002/diff/40001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode11396 gpu/command_buffer/service/gles2_cmd_decoder.cc:11396: xoffset += (copyX - x); What I mean is, ...
4 years, 11 months ago (2016-01-20 00:26:49 UTC) #7
qiankun
https://codereview.chromium.org/1586053002/diff/40001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/1586053002/diff/40001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode11396 gpu/command_buffer/service/gles2_cmd_decoder.cc:11396: xoffset += (copyX - x); On 2016/01/20 00:26:49, Zhenyao ...
4 years, 11 months ago (2016-01-20 01:02:50 UTC) #8
Zhenyao Mo
lgtm Thanks for fixing this. Is there a conformance test we can enable? If yes, ...
4 years, 11 months ago (2016-01-20 01:05:00 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1586053002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1586053002/60001
4 years, 11 months ago (2016-01-20 01:38:17 UTC) #11
qiankun
On 2016/01/20 01:05:00, Zhenyao Mo wrote: > lgtm > > Thanks for fixing this. > ...
4 years, 11 months ago (2016-01-20 01:38:19 UTC) #12
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2016-01-20 05:06:03 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1586053002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1586053002/60001
4 years, 11 months ago (2016-01-20 06:22:39 UTC) #16
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 11 months ago (2016-01-20 06:27:39 UTC) #17
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/98bcf19d91d046e9e04d820d9a8479e07b27834a Cr-Commit-Position: refs/heads/master@{#370332}
4 years, 11 months ago (2016-01-20 06:28:48 UTC) #19
Justin Novosad
A revert of this CL (patchset #4 id:60001) has been created in https://codereview.chromium.org/1612473002/ by junov@chromium.org. ...
4 years, 11 months ago (2016-01-20 15:35:38 UTC) #20
qiankun
On 2016/01/20 15:35:38, Justin Novosad wrote: > A revert of this CL (patchset #4 id:60001) ...
4 years, 11 months ago (2016-01-20 17:21:59 UTC) #21
Zhenyao Mo
4 years, 11 months ago (2016-01-20 18:46:48 UTC) #23
On 2016/01/20 17:21:59, qiankun wrote:
> On 2016/01/20 15:35:38, Justin Novosad wrote:
> > A revert of this CL (patchset #4 id:60001) has been created in
> > https://codereview.chromium.org/1612473002/ by mailto:junov@chromium.org.
> > 
> > The reason for reverting is: This change breaks blink layout test
> > fast/canvas/webgl/uninitialized-test.html
> > Example of a failed run:
> >
>
https://build.chromium.org/p/chromium.webkit/builders/WebKit%20Linux/builds/5....
> 
> Thanks Justin.
> I updated the layout test. PTAL.

Qiankun: no need to further maintain the layout tests since they are just
duplicates of conformance tests.

I uploaded https://codereview.chromium.org/1601093008/ to remove them.  Once
that's landed and reviewed, we can reland your CL.

Powered by Google App Engine
This is Rietveld 408576698