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

Issue 2329453002: [Command buffer] During blit FB, It is invalid if src source and dst source have identical image (Closed)

Created:
4 years, 3 months ago by yunchao
Modified:
4 years, 3 months ago
CC:
chromium-reviews, piman+watch_chromium.org, Yang Gu
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Command buffer] During blit framebuffer, It is invalid if src source and dst source have identical image BUG=645490 TEST=conformance2/rendering/blitframebuffer-test.html 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/faeb732edb9e057db922bc1d623dd0a543b91ca0 Cr-Commit-Position: refs/heads/master@{#417896}

Patch Set 1 #

Total comments: 7

Patch Set 2 : addressed zmo@'s feedback #

Patch Set 3 : addressed zmo@'s feedback: do not interate all drawbuffers to optimize the perf if possible #

Total comments: 2

Patch Set 4 : remove unnecessary code #

Patch Set 5 : addressed zmo@'s feedback: break early if the readbuffer and drawbuffers has image identical #

Patch Set 6 : Add a TODO per zmo@'s feedback #

Patch Set 7 : update webgl2 expectation #

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

Messages

Total messages: 45 (34 generated)
yunchao
PTAL. Thanks a lot! I also updated the conformance test and add more cases to ...
4 years, 3 months ago (2016-09-09 16:07:24 UTC) #9
Zhenyao Mo
https://codereview.chromium.org/2329453002/diff/1/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/2329453002/diff/1/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode1352 gpu/command_buffer/service/gles2_cmd_decoder.cc:1352: // Check that whether the currently bound draw framebuffer ...
4 years, 3 months ago (2016-09-09 16:29:57 UTC) #11
yunchao
Thanks for your quick review, Zhenyao. Code has been updated accordingly. Could you take another ...
4 years, 3 months ago (2016-09-09 16:47:33 UTC) #13
Zhenyao Mo
https://codereview.chromium.org/2329453002/diff/1/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/2329453002/diff/1/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode4355 gpu/command_buffer/service/gles2_cmd_decoder.cc:4355: for (uint32_t ii = 0; ii < group_->max_draw_buffers(); ++ii) ...
4 years, 3 months ago (2016-09-09 17:39:32 UTC) #17
yunchao
On 2016/09/09 17:39:32, Zhenyao Mo wrote: > https://codereview.chromium.org/2329453002/diff/1/gpu/command_buffer/service/gles2_cmd_decoder.cc > File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): > > https://codereview.chromium.org/2329453002/diff/1/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode4355 ...
4 years, 3 months ago (2016-09-12 03:28:14 UTC) #22
Zhenyao Mo
lgtm We should consider doing something similar like CheckFramebufferStatus(). We cache the validation results, and ...
4 years, 3 months ago (2016-09-12 05:36:59 UTC) #25
Zhenyao Mo
https://codereview.chromium.org/2329453002/diff/60001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/2329453002/diff/60001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode7700 gpu/command_buffer/service/gles2_cmd_decoder.cc:7700: is_feedback_loop = FeedbackLoopTrue; nit: break
4 years, 3 months ago (2016-09-12 05:37:08 UTC) #26
yunchao
Thanks for your quick review, Zhenyao. I added a TODO per your suggestion. I can ...
4 years, 3 months ago (2016-09-12 06:01:51 UTC) #30
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/2329453002/140001
4 years, 3 months ago (2016-09-12 08:53:14 UTC) #41
commit-bot: I haz the power
Committed patchset #7 (id:140001)
4 years, 3 months ago (2016-09-12 08:57:04 UTC) #43
commit-bot: I haz the power
4 years, 3 months ago (2016-09-12 08:59:18 UTC) #45
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/faeb732edb9e057db922bc1d623dd0a543b91ca0
Cr-Commit-Position: refs/heads/master@{#417896}

Powered by Google App Engine
This is Rietveld 408576698