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

Issue 2145093003: Discard correct drawing buffer (Closed)

Created:
4 years, 5 months ago by qiankun
Modified:
4 years, 5 months ago
CC:
chromium-reviews, krit, pdr+graphicswatchlist_chromium.org, drott+blinkwatch_chromium.org, blink-reviews-platform-graphics_chromium.org, dshwang, jbroman, Justin Novosad, Rik, f(malita), blink-reviews, piman+watch_chromium.org, Stephen Chennney, ajuma+watch_chromium.org, danakj+watch_chromium.org, rwlbuis, Yang Gu, xinghua.cao
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Discard correct drawing buffer This partly revert https://codereview.chromium.org/1950053003. On platform supported GL_EXT_discard_framebuffer extension, it causes a WebGL conformance test regression: conformance/state/state-uneffected-after-compositing.html The root cause is current bound fbo will be discarded other than the default fbo. We should discard default fbo correctly. BUG=628472 Committed: https://crrev.com/fd383c4428d3a4e1041425214f001661dca8d173 Cr-Commit-Position: refs/heads/master@{#405689}

Patch Set 1 #

Patch Set 2 : Discard correct drawing buffer #

Total comments: 3

Patch Set 3 : remove comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -0 lines) Patch
M third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 25 (12 generated)
qiankun
PTAL.
4 years, 5 months ago (2016-07-14 12:32:10 UTC) #3
qiankun
https://codereview.chromium.org/2145093003/diff/20001/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp File third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp (right): https://codereview.chromium.org/2145093003/diff/20001/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp#newcode296 third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp:296: m_gl->DiscardFramebufferEXT(GL_FRAMEBUFFER, 3, attachments); This only makes framebuffer undefined to ...
4 years, 5 months ago (2016-07-14 12:37:10 UTC) #4
yunchao
LGTM. We have discussed this bug in detail offline today. PTAL.
4 years, 5 months ago (2016-07-14 15:27:31 UTC) #5
yunchao
Add zmo@ too.
4 years, 5 months ago (2016-07-14 15:51:22 UTC) #7
erikchen
lgtm
4 years, 5 months ago (2016-07-14 16:16:51 UTC) #8
Zhenyao Mo
lgtm https://codereview.chromium.org/2145093003/diff/20001/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp File third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp (right): https://codereview.chromium.org/2145093003/diff/20001/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp#newcode291 third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp:291: // It appears safe to overwrite the context's ...
4 years, 5 months ago (2016-07-14 17:27:03 UTC) #9
qiankun
https://codereview.chromium.org/2145093003/diff/20001/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp File third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp (right): https://codereview.chromium.org/2145093003/diff/20001/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp#newcode291 third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp:291: // It appears safe to overwrite the context's framebuffer ...
4 years, 5 months ago (2016-07-14 23:40:00 UTC) #10
Ken Russell (switch to Gerrit)
Thanks for fixing this. LGTM. In general it would be better to file a new ...
4 years, 5 months ago (2016-07-15 00:27:48 UTC) #13
qiankun
On 2016/07/15 00:27:48, Ken Russell wrote: > Thanks for fixing this. LGTM. > > In ...
4 years, 5 months ago (2016-07-15 03:21:52 UTC) #17
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/2145093003/40001
4 years, 5 months ago (2016-07-15 03:22:49 UTC) #20
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 5 months ago (2016-07-15 03:26:50 UTC) #22
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-15 03:26:57 UTC) #23
commit-bot: I haz the power
4 years, 5 months ago (2016-07-15 03:29:17 UTC) #25
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/fd383c4428d3a4e1041425214f001661dca8d173
Cr-Commit-Position: refs/heads/master@{#405689}

Powered by Google App Engine
This is Rietveld 408576698