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

Issue 1465223010: IsGL_REDSupportedOnFBOs: return true only if FBO is complete (Closed)

Created:
5 years ago by Julien Isorce Samsung
Modified:
5 years 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

IsGL_REDSupportedOnFBOs: return true only if FBO is complete In general the framebuffer has to be complete to claim supporting RED on FBO. If textureId is invalid glFramebufferTexture2DEXT returns GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT. So before this patch, IsGL_REDSupportedOnFBOs would have returned true. This leads to green frames when playing video. This CL does fix bug 545904 but it is an indirect consequence. We still need a new gpu driver bug workaround because this CL does not avoid the DCHECK(glGetError() == GL_NO_ERROR); at the end of IsGL_REDSupportedOnFBOs. Indeed the error is set from the glTexImage2D call and glFramebufferTexture2DEXT does not reset this gl error. BUG=545904 R=bajones@chromium.org, hendrikw@chromium.org, kbr@chromium.org, zmo@chromium.org TEST= --use-gl=egl on Mesa drivers Committed: https://crrev.com/78acd34a5a46c8398dbe1e1b1d3168551ba8b6ff Cr-Commit-Position: refs/heads/master@{#362996}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M gpu/command_buffer/service/feature_info.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 22 (8 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1465223010/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1465223010/1
5 years ago (2015-12-01 15:16:29 UTC) #2
commit-bot: I haz the power
Dry run: No L-G-T-M from a valid reviewer yet. Only full committers are accepted. Even ...
5 years ago (2015-12-01 15:16:30 UTC) #4
Julien Isorce Samsung
ping :) ?
5 years ago (2015-12-02 12:59:10 UTC) #5
hendrikw
On 2015/12/02 12:59:10, j.isorce wrote: > ping :) ? Change makes sense, LGTM, but needs ...
5 years ago (2015-12-02 17:31:05 UTC) #6
Ken Russell (switch to Gerrit)
zmo@ should review this. It looks OK to me.
5 years ago (2015-12-02 18:43:51 UTC) #7
Zhenyao Mo
LGTM
5 years ago (2015-12-02 19:08:22 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1465223010/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1465223010/1
5 years ago (2015-12-02 21:47:42 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_compile_dbg_32_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_32_ng/builds/130245)
5 years ago (2015-12-02 22:19:43 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1465223010/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1465223010/1
5 years ago (2015-12-02 23:05:41 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/149073)
5 years ago (2015-12-03 00:29:04 UTC) #16
Julien Isorce Samsung
On 2015/12/03 00:29:04, commit-bot: I haz the power wrote: > Try jobs failed on following ...
5 years ago (2015-12-03 15:15:46 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1465223010/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1465223010/1
5 years ago (2015-12-03 15:16:15 UTC) #19
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years ago (2015-12-03 16:48:31 UTC) #20
commit-bot: I haz the power
5 years ago (2015-12-03 16:49:35 UTC) #22
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/78acd34a5a46c8398dbe1e1b1d3168551ba8b6ff
Cr-Commit-Position: refs/heads/master@{#362996}

Powered by Google App Engine
This is Rietveld 408576698