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

Issue 2351093002: Fix crash in BlitFramebufferCHROMIUM if a read or draw depth/stencil buffer is not present (Closed)

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

Description

Fix crash in BlitFramebufferCHROMIUM if a read or draw depth/stencil buffer is not present From ES3 spec: "If a buffer is specified in mask and does not exist in both the read and draw framebuffers, the corresponding bit is silently ignored." BUG=648133 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/72e9876bdadd8cb4df5e813d03b5ca8d966d214f Cr-Commit-Position: refs/heads/master@{#420207}

Patch Set 1 #

Patch Set 2 : win fix #

Patch Set 3 : fix webgl issues #

Patch Set 4 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+141 lines, -17 lines) Patch
M gpu/command_buffer/service/framebuffer_manager.h View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/framebuffer_manager.cc View 1 2 1 chunk +16 lines, -6 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 2 3 1 chunk +12 lines, -8 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc View 1 1 chunk +2 lines, -3 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_framebuffers.cc View 1 2 1 chunk +105 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (15 generated)
piman
4 years, 3 months ago (2016-09-20 00:52:45 UTC) #5
Ken Russell (switch to Gerrit)
Sorry for the delay reviewing. The test failures look real and I can reproduce them ...
4 years, 3 months ago (2016-09-20 23:24:24 UTC) #12
Ken Russell (switch to Gerrit)
On 2016/09/20 23:24:24, Ken Russell wrote: > Sorry for the delay reviewing. The test failures ...
4 years, 3 months ago (2016-09-20 23:51:16 UTC) #13
Ken Russell (switch to Gerrit)
On 2016/09/20 23:51:16, Ken Russell wrote: > On 2016/09/20 23:24:24, Ken Russell wrote: > > ...
4 years, 3 months ago (2016-09-20 23:52:16 UTC) #14
piman
On 2016/09/20 23:51:16, Ken Russell wrote: > On 2016/09/20 23:24:24, Ken Russell wrote: > > ...
4 years, 3 months ago (2016-09-21 00:21:08 UTC) #15
Ken Russell (switch to Gerrit)
On 2016/09/21 00:21:08, piman OOO back 2016-09-12 wrote: > On 2016/09/20 23:51:16, Ken Russell wrote: ...
4 years, 3 months ago (2016-09-21 01:39:03 UTC) #16
piman
On Tue, Sep 20, 2016 at 6:39 PM, <kbr@chromium.org> wrote: > On 2016/09/21 00:21:08, piman ...
4 years, 3 months ago (2016-09-21 22:11:26 UTC) #17
piman
PTAL, I fixed the logic to look at both DEPTH_ATTACHMENT and DEPTH_STENCIL_ATTACHMENT points (and same ...
4 years, 3 months ago (2016-09-21 23:17:22 UTC) #20
Ken Russell (switch to Gerrit)
Thanks for working around the mess there. LGTM
4 years, 3 months ago (2016-09-21 23:44:43 UTC) #21
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/2351093002/60001
4 years, 3 months ago (2016-09-21 23:46:10 UTC) #24
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 3 months ago (2016-09-22 00:04:21 UTC) #25
commit-bot: I haz the power
4 years, 3 months ago (2016-09-22 00:31:33 UTC) #27
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/72e9876bdadd8cb4df5e813d03b5ca8d966d214f
Cr-Commit-Position: refs/heads/master@{#420207}

Powered by Google App Engine
This is Rietveld 408576698