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

Issue 805273005: WebGL: paintRenderingResultsToImageData() must restore FBO. (Closed)

Created:
5 years, 11 months ago by dshwang
Modified:
5 years, 11 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
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

WebGL: paintRenderingResultsToImageData() must restore FBO. WebGLRenderingContextBase::paintRenderingResultsToImageData() relies on DrawingBuffer::paintRenderingResultsToImageData() restoring FBO, but DrawingBuffer does it only if premultipliedAlpha is true. paintRenderingResultsToImageData() must restore FBO by itself. TEST=fast/canvas/webgl/framebuffer-bindings-affected-by-to-data-url.html BUG=445848 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=188059

Patch Set 1 #

Total comments: 1

Patch Set 2 : add layout test #

Total comments: 1

Patch Set 3 : rebase to ToT #

Patch Set 4 : add description in test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+98 lines, -5 lines) Patch
A LayoutTests/fast/canvas/webgl/framebuffer-bindings-affected-by-to-data-url.html View 1 2 3 1 chunk +72 lines, -0 lines 0 comments Download
A + LayoutTests/fast/canvas/webgl/framebuffer-bindings-affected-by-to-data-url-expected.txt View 1 2 3 1 chunk +4 lines, -4 lines 0 comments Download
M Source/core/html/canvas/WebGLRenderingContextBase.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/html/canvas/WebGLRenderingContextBase.cpp View 1 2 4 chunks +21 lines, -1 line 0 comments Download

Messages

Total messages: 21 (3 generated)
dshwang
5 years, 11 months ago (2015-01-05 16:32:16 UTC) #2
dshwang
@zmo, @bajones, could you review this beta M41 P1 bug? @kbr is ooo now. @junov, ...
5 years, 11 months ago (2015-01-05 16:34:18 UTC) #4
dshwang
https://codereview.chromium.org/805273005/diff/1/Source/core/html/canvas/WebGLRenderingContextBase.cpp File Source/core/html/canvas/WebGLRenderingContextBase.cpp (right): https://codereview.chromium.org/805273005/diff/1/Source/core/html/canvas/WebGLRenderingContextBase.cpp#newcode955 Source/core/html/canvas/WebGLRenderingContextBase.cpp:955: if (!drawingBuffer()->paintRenderingResultsToImageData(width, height, sourceBuffer, contents)) drawingBuffer()->commit() binds DrawingBuffer::m_fbo but ...
5 years, 11 months ago (2015-01-05 16:44:27 UTC) #5
dshwang
Could any owners review this beta blocker? This must be resolved until 9th Jan. following ...
5 years, 11 months ago (2015-01-07 19:40:28 UTC) #6
Justin Novosad
Could you add a test, please? Reading the bug, I think it is would be ...
5 years, 11 months ago (2015-01-07 20:18:44 UTC) #7
Zhenyao Mo
On 2015/01/07 20:18:44, junov wrote: > Could you add a test, please? > > Reading ...
5 years, 11 months ago (2015-01-07 20:31:40 UTC) #8
Justin Novosad
On 2015/01/07 20:31:40, Zhenyao Mo wrote: > On 2015/01/07 20:18:44, junov wrote: > > Could ...
5 years, 11 months ago (2015-01-07 20:40:27 UTC) #9
dshwang
On 2015/01/07 20:40:27, junov wrote: > On 2015/01/07 20:31:40, Zhenyao Mo wrote: > > On ...
5 years, 11 months ago (2015-01-08 11:58:06 UTC) #10
dshwang
I managed to make a layout test :) @junov, could you review this beta blocker ...
5 years, 11 months ago (2015-01-08 15:44:59 UTC) #11
dshwang
@zmo, framebuffer-bindings-affected-by-to-data-url.html uses only standard api so it can be applied to webgl conformance test ...
5 years, 11 months ago (2015-01-08 15:54:35 UTC) #12
Justin Novosad
LGTM I am not really familiar with the WebGL conformance suites but I think the ...
5 years, 11 months ago (2015-01-08 16:37:49 UTC) #13
dshwang
On 2015/01/08 16:37:49, junov wrote: > LGTM > > I am not really familiar with ...
5 years, 11 months ago (2015-01-08 17:03:10 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/805273005/60001
5 years, 11 months ago (2015-01-08 17:03:46 UTC) #16
commit-bot: I haz the power
Committed patchset #4 (id:60001) as https://src.chromium.org/viewvc/blink?view=rev&revision=188059
5 years, 11 months ago (2015-01-08 17:10:31 UTC) #17
Zhenyao Mo
On 2015/01/08 15:54:35, dshwang wrote: > @zmo, framebuffer-bindings-affected-by-to-data-url.html uses only standard api > so it ...
5 years, 11 months ago (2015-01-08 17:28:45 UTC) #18
dshwang
On 2015/01/08 17:28:45, Zhenyao Mo wrote: > On 2015/01/08 15:54:35, dshwang wrote: > > @zmo, ...
5 years, 11 months ago (2015-01-08 17:51:15 UTC) #19
dshwang
@zmo I submit it to WCT. Could you review https://github.com/KhronosGroup/WebGL/pull/815 ? @junov, I need to ...
5 years, 11 months ago (2015-01-08 18:24:23 UTC) #20
dshwang
5 years, 11 months ago (2015-01-08 18:29:29 UTC) #21
Message was sent while issue was closed.
> @junov, I need to merge it to beta. I couldn't find any good document. could
you
> explain or merge?

never mind. @zmo marked the issue to Merge-Requested. thx.

Powered by Google App Engine
This is Rietveld 408576698