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

Issue 656053002: WebGL: Fix not-clear of non-preserveDrawingBuffer. (Closed)

Created:
6 years, 2 months ago by dshwang
Modified:
6 years, 2 months ago
CC:
blink-reviews, aandrey+blink_chromium.org, blink-reviews-html_chromium.org, dglazkov+blink, Rik
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

WebGL: Fix not-clear of non-preserveDrawingBuffer. Current WebGL relies on glDiscardFramebufferExt() to clear FBO, but the API doesn't guarantee clearing FBO. TEST=fast/canvas/webgl/draw-webgl-to-canvas-2d.html, fast/canvas/webgl/webgl-composite-modes-repaint.html BUG=423674 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=183804

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M Source/core/html/canvas/WebGLRenderingContextBase.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 12 (3 generated)
dshwang
Could you review? It fix a bug regressed by https://codereview.chromium.org/614883002 Currently there are not gpu ...
6 years, 2 months ago (2014-10-15 09:55:43 UTC) #2
Hongbo Min
On 2014/10/15 09:55:43, dshwang wrote: > Could you review? It fix a bug regressed by ...
6 years, 2 months ago (2014-10-15 10:03:57 UTC) #3
Hongbo Min
In addition, since glDiscardFramebufferEXT is just a performance hint to GPU driver, the desktop GPU ...
6 years, 2 months ago (2014-10-15 10:05:26 UTC) #4
dshwang
On 2014/10/15 10:03:57, Hongbo Min wrote: > On 2014/10/15 09:55:43, dshwang wrote: > > Could ...
6 years, 2 months ago (2014-10-15 10:24:56 UTC) #5
Ken Russell (switch to Gerrit)
Thanks for catching this. Unfortunate that it slipped through. The implementation must be correct; performance ...
6 years, 2 months ago (2014-10-15 23:44:08 UTC) #7
dshwang
On 2014/10/15 23:44:08, Ken Russell wrote: > Thanks for catching this. Unfortunate that it slipped ...
6 years, 2 months ago (2014-10-16 10:46:08 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/656053002/1
6 years, 2 months ago (2014-10-16 10:46:35 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1) as 183804
6 years, 2 months ago (2014-10-16 10:50:01 UTC) #11
Hongbo Min
6 years, 2 months ago (2014-10-17 01:25:48 UTC) #12
Message was sent while issue was closed.
On 2014/10/16 10:46:08, dshwang wrote:
> On 2014/10/15 23:44:08, Ken Russell wrote:
> > Thanks for catching this. Unfortunate that it slipped through. The
> > implementation must be correct; performance improvements are secondary. LGTM
> 
> Thank you for review.
> 
> Hongbo, firstly I land this CL. Let's find the way to get both speed-up and
> correctness to take advantage of your technique. Thanks.

That's OK. lgtm.

Powered by Google App Engine
This is Rietveld 408576698