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

Issue 2234923002: [Command buffer] CopyTexSubImage3D: Copying pixels outside of framebuffer should be untouched (Closed)

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

Description

[Command buffer] CopyTexSubImage3D: Copying pixels outside of framebuffer should be untouched BUG=636987, 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/4f4547bc67a3ef3cb41208606885fb236e964f7b Cr-Commit-Position: refs/heads/master@{#412271}

Patch Set 1 #

Patch Set 2 : [Command buffer] CopyTexSubImage3D: Copying pixels outside of framebuffer should be initialized to 0 #

Total comments: 12

Patch Set 3 : addressed feedbacks from kbr and piman #

Total comments: 2

Patch Set 4 : update the code according to the new spec: out-of-bounds pixels should be untouched #

Total comments: 2

Patch Set 5 : addressed zmo@'s feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -6 lines) Patch
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 2 3 4 1 chunk +25 lines, -6 lines 0 comments Download

Messages

Total messages: 53 (36 generated)
yunchao
PTAL. Thanks! The conformance test is almost ready by Yizhou, but we need to improve ...
4 years, 4 months ago (2016-08-11 16:10:54 UTC) #11
Zhenyao Mo
On 2016/08/11 16:10:54, yunchao wrote: > PTAL. Thanks! > > The conformance test is almost ...
4 years, 4 months ago (2016-08-11 16:35:21 UTC) #12
Ken Russell (switch to Gerrit)
Thanks for writing the test for this and for this patch. A couple of questions. ...
4 years, 4 months ago (2016-08-11 18:09:44 UTC) #15
piman
https://codereview.chromium.org/2234923002/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/2234923002/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode13294 gpu/command_buffer/service/gles2_cmd_decoder.cc:13294: if (!format || !type) { This shouldn't happen, the ...
4 years, 4 months ago (2016-08-11 18:16:31 UTC) #16
piman
https://codereview.chromium.org/2234923002/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/2234923002/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode13317 gpu/command_buffer/service/gles2_cmd_decoder.cc:13317: width, height, 1, format, type, zero.get()); On 2016/08/11 18:09:44, ...
4 years, 4 months ago (2016-08-11 18:33:16 UTC) #17
yunchao
Thanks for your review, piman and kbr. The code has been updated accordingly. PTAL. https://codereview.chromium.org/2234923002/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder.cc ...
4 years, 4 months ago (2016-08-12 15:42:46 UTC) #29
Ken Russell (switch to Gerrit)
https://codereview.chromium.org/2234923002/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/2234923002/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode13317 gpu/command_buffer/service/gles2_cmd_decoder.cc:13317: width, height, 1, format, type, zero.get()); On 2016/08/12 15:42:45, ...
4 years, 4 months ago (2016-08-12 17:39:16 UTC) #30
Ken Russell (switch to Gerrit)
https://codereview.chromium.org/2234923002/diff/80001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/2234923002/diff/80001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode13311 gpu/command_buffer/service/gles2_cmd_decoder.cc:13311: width, height, 1, format, type, zero.get()); Per comments above ...
4 years, 4 months ago (2016-08-12 17:50:27 UTC) #31
yunchao
@kbr and @piman, I have updated the code accordingly. Please take another look. It is ...
4 years, 4 months ago (2016-08-12 23:59:43 UTC) #35
Zhenyao Mo
https://codereview.chromium.org/2234923002/diff/100001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/2234923002/diff/100001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode13284 gpu/command_buffer/service/gles2_cmd_decoder.cc:13284: texture_manager()->ClearTextureLevel(this, texture_ref, target, level); This might return false. Can ...
4 years, 4 months ago (2016-08-15 17:47:32 UTC) #38
Ken Russell (switch to Gerrit)
Thanks for updating the code. LGTM from my standpoint with Mo's concern addressed.
4 years, 4 months ago (2016-08-15 23:51:25 UTC) #39
yunchao
Thanks for your review, Zhenyao and Ken. Code has been updated. Could you take another ...
4 years, 4 months ago (2016-08-16 03:15:04 UTC) #44
piman
lgtm
4 years, 4 months ago (2016-08-16 04:20:13 UTC) #45
Zhenyao Mo
lgtm
4 years, 4 months ago (2016-08-16 17:19:02 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/2234923002/120001
4 years, 4 months ago (2016-08-16 17:20:12 UTC) #49
commit-bot: I haz the power
Committed patchset #5 (id:120001)
4 years, 4 months ago (2016-08-16 17:23:48 UTC) #51
commit-bot: I haz the power
4 years, 4 months ago (2016-08-16 17:25:20 UTC) #53
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/4f4547bc67a3ef3cb41208606885fb236e964f7b
Cr-Commit-Position: refs/heads/master@{#412271}

Powered by Google App Engine
This is Rietveld 408576698