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

Issue 309933004: Fix imageSourceURL() for WebGL elements. (Closed)

Created:
6 years, 6 months ago by hj.r.chung
Modified:
6 years, 6 months ago
CC:
blink-reviews, aandrey+blink_chromium.org, blink-reviews-html_chromium.org, dglazkov+blink, Rik, bajones, Zhenyao Mo
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Fix imageSourceURL() for WebGL elements. For saveImageAs, we want to save the latest frame that has been composited to the screen. So in this case, copy from the frontBuffer in DrawingBuffer::copyToPlatformTexture. BUG=374762 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=176007

Patch Set 1 #

Patch Set 2 : Modified patch and added test #

Patch Set 3 : Modified patch (doesn't break conformance tests) #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -11 lines) Patch
A ManualTests/webgl-save-image-as.html View 1 1 chunk +25 lines, -0 lines 0 comments Download
M Source/core/html/HTMLCanvasElement.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLCanvasElement.cpp View 1 2 3 2 chunks +6 lines, -3 lines 0 comments Download
M Source/core/html/canvas/WebGLRenderingContextBase.h View 1 2 3 2 chunks +3 lines, -0 lines 0 comments Download
M Source/core/html/canvas/WebGLRenderingContextBase.cpp View 1 2 3 3 chunks +3 lines, -1 line 0 comments Download
M Source/platform/graphics/ImageBuffer.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/platform/graphics/ImageBuffer.cpp View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M Source/platform/graphics/gpu/DrawingBuffer.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/platform/graphics/gpu/DrawingBuffer.cpp View 1 2 2 chunks +7 lines, -2 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
hj.r.chung
PTAL!
6 years, 6 months ago (2014-06-03 10:28:09 UTC) #1
Justin Novosad
Please add a test that triggers the bug.
6 years, 6 months ago (2014-06-03 14:41:43 UTC) #2
Ken Russell (switch to Gerrit)
Sorry for the delay reviewing. Agree with Justin -- can you please provide a test ...
6 years, 6 months ago (2014-06-05 01:24:53 UTC) #3
hj.r.chung
On 2014/06/05 01:24:53, Ken Russell wrote: > Sorry for the delay reviewing. > > Agree ...
6 years, 6 months ago (2014-06-05 02:21:29 UTC) #4
hj.r.chung
On 2014/06/05 02:21:29, hj.r.chung wrote: > On 2014/06/05 01:24:53, Ken Russell wrote: > > Sorry ...
6 years, 6 months ago (2014-06-05 04:54:00 UTC) #5
hj.r.chung
PATL.. Added a test and modified the patch so it doesn't break the to-data-url test
6 years, 6 months ago (2014-06-05 12:15:41 UTC) #6
Ken Russell (switch to Gerrit)
Thanks for the update. Sorry, but this fix is not correct. It breaks WebGL's preserveDrawingBuffer=false ...
6 years, 6 months ago (2014-06-07 03:27:37 UTC) #7
hj.r.chung
On 2014/06/07 03:27:37, Ken Russell wrote: > Thanks for the update. > > Sorry, but ...
6 years, 6 months ago (2014-06-09 01:00:27 UTC) #8
hj.r.chung
On 2014/06/09 01:00:27, hj.r.chung wrote: > On 2014/06/07 03:27:37, Ken Russell wrote: > > Thanks ...
6 years, 6 months ago (2014-06-10 11:36:01 UTC) #9
Ken Russell (switch to Gerrit)
Thanks. This looks nice. LGTM
6 years, 6 months ago (2014-06-11 21:55:26 UTC) #10
hj.r.chung
The CQ bit was checked by heejin.r.chung@samsung.com
6 years, 6 months ago (2014-06-12 04:49:22 UTC) #11
hj.r.chung
The CQ bit was unchecked by heejin.r.chung@samsung.com
6 years, 6 months ago (2014-06-12 04:49:23 UTC) #12
hj.r.chung
The CQ bit was checked by heejin.r.chung@samsung.com
6 years, 6 months ago (2014-06-12 04:49:27 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/heejin.r.chung@samsung.com/309933004/60001
6 years, 6 months ago (2014-06-12 04:49:45 UTC) #14
hj.r.chung
On 2014/06/11 21:55:26, Ken Russell wrote: > Thanks. This looks nice. LGTM Thanks for the ...
6 years, 6 months ago (2014-06-12 04:49:53 UTC) #15
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_blink_rel on tryserver.blink ...
6 years, 6 months ago (2014-06-12 06:49:26 UTC) #16
commit-bot: I haz the power
6 years, 6 months ago (2014-06-12 07:48:40 UTC) #17
Message was sent while issue was closed.
Change committed as 176007

Powered by Google App Engine
This is Rietveld 408576698