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

Issue 227213002: globalCompositeOperation is ignored in stroke, strokeRect. (Closed)

Created:
6 years, 8 months ago by zino
Modified:
6 years, 8 months ago
Reviewers:
pdr., krit, Justin Novosad
CC:
blink-reviews, jamesr, dsinclair, jbroman, danakj, dglazkov+blink, adamk+blink_chromium.org, Stephen Chennney, aandrey+blink_chromium.org, rwlbuis, Rik
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

In Blink project, globalCompositeOperation (blending and compositing) features were already implemented. The features works well in fill APIs but it still isn't supported in stroke APIs. So, we make sure of supporting the features in stroke APIs. BUG=117675, 351178 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=171356

Patch Set 1 #

Patch Set 2 : add layout test #

Patch Set 3 : rebase #

Total comments: 2

Patch Set 4 : fixed #

Total comments: 2

Patch Set 5 : fixed #

Total comments: 2

Patch Set 6 : use WTF::Closure #

Patch Set 7 : fixed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+84 lines, -37 lines) Patch
A + LayoutTests/fast/canvas/canvas-composite-stroke-alpha.html View 1 5 chunks +15 lines, -23 lines 0 comments Download
A + LayoutTests/fast/canvas/canvas-composite-stroke-alpha-expected.txt View 1 2 chunks +3 lines, -3 lines 0 comments Download
M Source/core/html/canvas/CanvasRenderingContext2D.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/html/canvas/CanvasRenderingContext2D.cpp View 1 2 3 4 5 6 5 chunks +59 lines, -11 lines 0 comments Download
M Source/platform/graphics/GraphicsContext.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M Source/platform/graphics/GraphicsContext.cpp View 1 2 3 4 5 6 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
zino
Please take a look. Thank you.
6 years, 8 months ago (2014-04-07 08:05:18 UTC) #1
krit
not LGTM https://codereview.chromium.org/227213002/diff/50001/Source/core/html/canvas/CanvasRenderingContext2D.cpp File Source/core/html/canvas/CanvasRenderingContext2D.cpp (right): https://codereview.chromium.org/227213002/diff/50001/Source/core/html/canvas/CanvasRenderingContext2D.cpp#newcode1075 Source/core/html/canvas/CanvasRenderingContext2D.cpp:1075: didDraw(path.boundingRect()); It think you should make the ...
6 years, 8 months ago (2014-04-07 08:10:35 UTC) #2
zino
On 2014/04/07 08:10:35, krit wrote: > not LGTM > > https://codereview.chromium.org/227213002/diff/50001/Source/core/html/canvas/CanvasRenderingContext2D.cpp > File Source/core/html/canvas/CanvasRenderingContext2D.cpp (right): ...
6 years, 8 months ago (2014-04-07 11:20:10 UTC) #3
Justin Novosad
https://codereview.chromium.org/227213002/diff/80001/Source/core/html/canvas/CanvasRenderingContext2D.cpp File Source/core/html/canvas/CanvasRenderingContext2D.cpp (left): https://codereview.chromium.org/227213002/diff/80001/Source/core/html/canvas/CanvasRenderingContext2D.cpp#oldcode1364 Source/core/html/canvas/CanvasRenderingContext2D.cpp:1364: boundingRect.inflate(state().m_lineWidth / 2); I think that with this line ...
6 years, 8 months ago (2014-04-07 15:50:30 UTC) #4
zino
On 2014/04/07 15:50:30, junov wrote: > https://codereview.chromium.org/227213002/diff/80001/Source/core/html/canvas/CanvasRenderingContext2D.cpp > File Source/core/html/canvas/CanvasRenderingContext2D.cpp (left): > > https://codereview.chromium.org/227213002/diff/80001/Source/core/html/canvas/CanvasRenderingContext2D.cpp#oldcode1364 > ...
6 years, 8 months ago (2014-04-07 17:25:05 UTC) #5
Justin Novosad
https://codereview.chromium.org/227213002/diff/110001/Source/core/html/canvas/CanvasRenderingContext2D.cpp File Source/core/html/canvas/CanvasRenderingContext2D.cpp (right): https://codereview.chromium.org/227213002/diff/110001/Source/core/html/canvas/CanvasRenderingContext2D.cpp#newcode232 Source/core/html/canvas/CanvasRenderingContext2D.cpp:232: , m_lineWidth(1) You responded "Done", but m_lineWidth is still ...
6 years, 8 months ago (2014-04-07 18:03:14 UTC) #6
zino
On 2014/04/07 18:03:14, junov wrote: > https://codereview.chromium.org/227213002/diff/110001/Source/core/html/canvas/CanvasRenderingContext2D.cpp > File Source/core/html/canvas/CanvasRenderingContext2D.cpp (right): > > https://codereview.chromium.org/227213002/diff/110001/Source/core/html/canvas/CanvasRenderingContext2D.cpp#newcode232 > ...
6 years, 8 months ago (2014-04-07 19:17:04 UTC) #7
zino
It seems "WTF::Closure class" has been already exist. I've just reimplemented a new patch by ...
6 years, 8 months ago (2014-04-09 14:23:15 UTC) #8
Justin Novosad
On 2014/04/07 19:17:04, zino wrote: > On 2014/04/07 18:03:14, junov wrote: > > > https://codereview.chromium.org/227213002/diff/110001/Source/core/html/canvas/CanvasRenderingContext2D.cpp ...
6 years, 8 months ago (2014-04-09 18:56:39 UTC) #9
Justin Novosad
On 2014/04/09 14:23:15, zino wrote: > It seems "WTF::Closure class" has been already exist. > ...
6 years, 8 months ago (2014-04-09 18:58:01 UTC) #10
zino
On 2014/04/09 18:58:01, junov wrote: > On 2014/04/09 14:23:15, zino wrote: > > It seems ...
6 years, 8 months ago (2014-04-11 05:36:19 UTC) #11
Justin Novosad
On 2014/04/11 05:36:19, zino wrote: > On 2014/04/09 18:58:01, junov wrote: > > On 2014/04/09 ...
6 years, 8 months ago (2014-04-11 12:54:15 UTC) #12
zino
On 2014/04/07 08:10:35, krit wrote: > not LGTM > > https://codereview.chromium.org/227213002/diff/50001/Source/core/html/canvas/CanvasRenderingContext2D.cpp > File Source/core/html/canvas/CanvasRenderingContext2D.cpp (right): ...
6 years, 8 months ago (2014-04-11 13:11:17 UTC) #13
krit
On 2014/04/11 13:11:17, zino wrote: > On 2014/04/07 08:10:35, krit wrote: > > not LGTM ...
6 years, 8 months ago (2014-04-11 13:16:31 UTC) #14
zino
The CQ bit was checked by jinho.bang@samsung.com
6 years, 8 months ago (2014-04-11 13:54:45 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jinho.bang@samsung.com/227213002/170001
6 years, 8 months ago (2014-04-11 13:54:47 UTC) #16
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-11 14:32:14 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on mac_blink_rel
6 years, 8 months ago (2014-04-11 14:32:15 UTC) #18
zino
The CQ bit was checked by jinho.bang@samsung.com
6 years, 8 months ago (2014-04-11 16:21:39 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jinho.bang@samsung.com/227213002/190001
6 years, 8 months ago (2014-04-11 16:21:43 UTC) #20
zino
The CQ bit was checked by jinho.bang@samsung.com
6 years, 8 months ago (2014-04-11 16:29:38 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jinho.bang@samsung.com/227213002/190001
6 years, 8 months ago (2014-04-11 16:29:42 UTC) #22
commit-bot: I haz the power
6 years, 8 months ago (2014-04-11 17:24:25 UTC) #23
Message was sent while issue was closed.
Change committed as 171356

Powered by Google App Engine
This is Rietveld 408576698