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

Issue 2895493002: Fix fbo completeness check when non-base-level texture image is attached. (Closed)

Created:
3 years, 7 months ago by Zhenyao Mo
Modified:
3 years, 7 months ago
Reviewers:
piman
CC:
chromium-reviews, piman+watch_chromium.org, Ken Russell (switch to Gerrit), Kai Ninomiya
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix fbo completeness check when non-base-level texture image is attached. When non-base-level texture image is attached, it is required that texture is mipmap complete for the fbo to be complete. Currently command buffer doesn't check this. BUG=722684 TEST=gpu_unittests R=piman@chromium.org CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;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 Review-Url: https://codereview.chromium.org/2895493002 Cr-Commit-Position: refs/heads/master@{#473772} Committed: https://chromium.googlesource.com/chromium/src/+/9585ee5ebcc8de435e2901b857901c736b6c1e40

Patch Set 1 #

Patch Set 2 : fix #

Total comments: 3

Patch Set 3 : another bug fix #

Total comments: 3

Patch Set 4 : more fix #

Patch Set 5 : handle a bug related to TexStorage #

Unified diffs Side-by-side diffs Delta from patch set Stats (+125 lines, -51 lines) Patch
M gpu/command_buffer/service/framebuffer_manager.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/framebuffer_manager_unittest.cc View 1 2 3 4 1 chunk +38 lines, -2 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_textures.cc View 1 2 3 4 2 chunks +21 lines, -9 lines 0 comments Download
M gpu/command_buffer/service/mailbox_manager_sync.h View 1 chunk +0 lines, -1 line 0 comments Download
M gpu/command_buffer/service/texture_manager.h View 1 2 3 4 4 chunks +14 lines, -13 lines 0 comments Download
M gpu/command_buffer/service/texture_manager.cc View 1 2 3 4 11 chunks +49 lines, -26 lines 0 comments Download

Messages

Total messages: 31 (19 generated)
Zhenyao Mo
piman: PTAL https://codereview.chromium.org/2895493002/diff/20001/gpu/command_buffer/service/texture_manager.cc File gpu/command_buffer/service/texture_manager.cc (left): https://codereview.chromium.org/2895493002/diff/20001/gpu/command_buffer/service/texture_manager.cc#oldcode1485 gpu/command_buffer/service/texture_manager.cc:1485: if (texture_complete_ && texture_mips_dirty_) { This original ...
3 years, 7 months ago (2017-05-18 22:12:48 UTC) #2
piman
lgtm https://codereview.chromium.org/2895493002/diff/20001/gpu/command_buffer/service/texture_manager.cc File gpu/command_buffer/service/texture_manager.cc (right): https://codereview.chromium.org/2895493002/diff/20001/gpu/command_buffer/service/texture_manager.cc#newcode1443 gpu/command_buffer/service/texture_manager.cc:1443: return; Are we guaranteed that if any of ...
3 years, 7 months ago (2017-05-18 22:50:52 UTC) #5
Zhenyao Mo
https://codereview.chromium.org/2895493002/diff/20001/gpu/command_buffer/service/texture_manager.cc File gpu/command_buffer/service/texture_manager.cc (right): https://codereview.chromium.org/2895493002/diff/20001/gpu/command_buffer/service/texture_manager.cc#newcode1443 gpu/command_buffer/service/texture_manager.cc:1443: return; On 2017/05/18 22:50:52, piman wrote: > Are we ...
3 years, 7 months ago (2017-05-18 22:59:14 UTC) #8
Zhenyao Mo
piman: another bug fix. Please take a look again. https://codereview.chromium.org/2895493002/diff/40001/gpu/command_buffer/service/texture_manager.cc File gpu/command_buffer/service/texture_manager.cc (right): https://codereview.chromium.org/2895493002/diff/40001/gpu/command_buffer/service/texture_manager.cc#newcode1113 gpu/command_buffer/service/texture_manager.cc:1113: ...
3 years, 7 months ago (2017-05-18 23:58:43 UTC) #9
piman
lgtm
3 years, 7 months ago (2017-05-19 00:03:35 UTC) #12
piman
https://codereview.chromium.org/2895493002/diff/40001/gpu/command_buffer/service/texture_manager.cc File gpu/command_buffer/service/texture_manager.cc (right): https://codereview.chromium.org/2895493002/diff/40001/gpu/command_buffer/service/texture_manager.cc#newcode1192 gpu/command_buffer/service/texture_manager.cc:1192: info.internal_workaround = true; Oh, should we set completeness_dirty_ = ...
3 years, 7 months ago (2017-05-19 00:05:33 UTC) #13
Zhenyao Mo
https://codereview.chromium.org/2895493002/diff/40001/gpu/command_buffer/service/texture_manager.cc File gpu/command_buffer/service/texture_manager.cc (right): https://codereview.chromium.org/2895493002/diff/40001/gpu/command_buffer/service/texture_manager.cc#newcode1192 gpu/command_buffer/service/texture_manager.cc:1192: info.internal_workaround = true; On 2017/05/19 00:05:33, piman wrote: > ...
3 years, 7 months ago (2017-05-19 00:26:59 UTC) #14
piman
lgtm
3 years, 7 months ago (2017-05-19 00:44:50 UTC) #17
Zhenyao Mo
piman: sorry to bug you again with this CL, but the WebGL conformance tests caught ...
3 years, 7 months ago (2017-05-23 00:16:50 UTC) #22
piman
lgtm
3 years, 7 months ago (2017-05-23 00:25:20 UTC) #23
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/2895493002/80001
3 years, 7 months ago (2017-05-23 01:10:26 UTC) #28
commit-bot: I haz the power
3 years, 7 months ago (2017-05-23 01:15:34 UTC) #31
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/9585ee5ebcc8de435e2901b85790...

Powered by Google App Engine
This is Rietveld 408576698