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

Issue 23947005: Implement CSS luminance masking using skia SkLumaMaskXfermode class. (Closed)

Created:
7 years, 3 months ago by Andrei Parvu
Modified:
7 years, 3 months ago
CC:
blink-reviews, jamesr, dsinclair, eae+blinkwatch, leviw+renderwatch, danakj, dglazkov+blink, Rik, jchaffraix+rendering, Stephen Chennney, jeez, pdr.
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Implement CSS luminance masking using skia SkLumaMaskXfermode class. BUG=289420 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=158106

Patch Set 1 #

Patch Set 2 : #

Total comments: 1

Patch Set 3 : #

Patch Set 4 : Fix build #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -35 lines) Patch
M LayoutTests/TestExpectations View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
A + LayoutTests/css3/masking/mask-luminance-gradient.html View 1 2 2 chunks +10 lines, -12 lines 0 comments Download
A + LayoutTests/css3/masking/mask-luminance-gradient-expected.html View 1 2 2 chunks +10 lines, -12 lines 0 comments Download
A + LayoutTests/css3/masking/mask-luminance-png.html View 1 2 2 chunks +4 lines, -3 lines 0 comments Download
A + LayoutTests/css3/masking/mask-luminance-svg.html View 1 2 2 chunks +4 lines, -3 lines 0 comments Download
A + LayoutTests/css3/masking/mask-luminance-svg-expected.html View 1 2 2 chunks +4 lines, -3 lines 0 comments Download
A LayoutTests/css3/masking/resources/circle.svg View 1 chunk +5 lines, -0 lines 0 comments Download
A LayoutTests/css3/masking/resources/circle-alpha.svg View 1 chunk +3 lines, -0 lines 0 comments Download
A LayoutTests/css3/masking/resources/dice.png View Binary file 0 comments Download
M Source/core/platform/graphics/GraphicsContext.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M Source/core/platform/graphics/GraphicsContext.cpp View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/platform/graphics/GraphicsContextState.h View 1 3 chunks +3 lines, -0 lines 0 comments Download
M Source/core/platform/graphics/skia/NativeImageSkia.cpp View 1 3 chunks +11 lines, -2 lines 0 comments Download
M Source/core/rendering/RenderBoxModelObject.cpp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Andrei Parvu
In order to use CSS luminance masking, I've added the srcOver mode to the SkLumaXfermode ...
7 years, 3 months ago (2013-09-17 14:04:52 UTC) #1
Andrei Parvu
Could someone take a look at this patch, please? Thanks.
7 years, 3 months ago (2013-09-19 08:51:32 UTC) #2
eseidel
This looks OK. Is this feature guarded behind a runtime flag? https://codereview.chromium.org/23947005/diff/6001/Source/core/platform/graphics/skia/NativeImageSkia.cpp File Source/core/platform/graphics/skia/NativeImageSkia.cpp (right): ...
7 years, 3 months ago (2013-09-19 15:10:36 UTC) #3
Andrei Parvu
On 2013/09/19 15:10:36, eseidel wrote: > This looks OK. Is this feature guarded behind a ...
7 years, 3 months ago (2013-09-19 15:20:24 UTC) #4
eseidel
lgtm
7 years, 3 months ago (2013-09-19 15:23:29 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/andrei.prv@gmail.com/23947005/6001
7 years, 3 months ago (2013-09-19 15:23:42 UTC) #6
eseidel
Don't worry about the {}, not worth the bother.
7 years, 3 months ago (2013-09-19 15:23:43 UTC) #7
commit-bot: I haz the power
Failed to apply patch for LayoutTests/css3/masking/mask-luminance-gradient-expected.html: While running patch -p1 --forward --force --no-backup-if-mismatch; A LayoutTests/css3/masking/mask-luminance-gradient-expected.html ...
7 years, 3 months ago (2013-09-19 15:23:50 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/andrei.prv@gmail.com/23947005/17001
7 years, 3 months ago (2013-09-20 08:57:35 UTC) #9
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 3 months ago (2013-09-20 09:20:49 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/andrei.prv@gmail.com/23947005/31001
7 years, 3 months ago (2013-09-20 09:28:33 UTC) #11
commit-bot: I haz the power
Retried try job too often on blink_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=blink_presubmit&number=7276
7 years, 3 months ago (2013-09-20 09:41:36 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/andrei.prv@gmail.com/23947005/39001
7 years, 3 months ago (2013-09-20 11:29:10 UTC) #13
commit-bot: I haz the power
7 years, 3 months ago (2013-09-20 12:35:14 UTC) #14
Message was sent while issue was closed.
Change committed as 158106

Powered by Google App Engine
This is Rietveld 408576698