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

Issue 1410553002: Propagate premultiplied color enforcement flag (Closed)

Created:
5 years, 2 months ago by ericrk
Modified:
5 years, 2 months ago
CC:
reviews_skia.org
Base URL:
https://chromium.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

The SkArithmeticMode_gpu GL filters support clamping to valid premultiplied colors, however the flag for whether or not to do this, which is present in their parent filters, is dropped when creating the GL implementations. This change adds logic to forward the value from the parent filter to the GL implementation. This makes GPU behavior match software and fixes a WebKit LayoutTest. See referenced bug. BUG=473186 Committed: https://skia.googlesource.com/skia/+/af96fce87937aba4aa5d394ee6316ba790308490

Patch Set 1 #

Patch Set 2 : add unit test #

Patch Set 3 : fix case #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -5 lines) Patch
M gm/arithmode.cpp View 1 2 chunks +35 lines, -1 line 0 comments Download
M src/effects/SkArithmeticMode_gpu.cpp View 1 2 3 chunks +5 lines, -4 lines 0 comments Download

Messages

Total messages: 14 (4 generated)
ericrk
5 years, 2 months ago (2015-10-15 19:46:48 UTC) #2
Stephen White
Good catch! Could you add a test case to gm/xfermodeimagefilter? (You might have to start ...
5 years, 2 months ago (2015-10-15 19:49:37 UTC) #3
bsalomon
seems ok to me, but leave final 1gtm to Stephen. Style nit, we use camel ...
5 years, 2 months ago (2015-10-15 19:50:06 UTC) #4
Stephen White
Whoops, forgot this is actually an SkXfermode, not an SkXfermodeImageFilter. Please add a test case ...
5 years, 2 months ago (2015-10-15 19:52:03 UTC) #5
ericrk
On 2015/10/15 19:52:03, Stephen White wrote: > Whoops, forgot this is actually an SkXfermode, not ...
5 years, 2 months ago (2015-10-19 21:21:29 UTC) #7
Stephen White
On 2015/10/19 21:21:29, ericrk wrote: > On 2015/10/15 19:52:03, Stephen White wrote: > > Whoops, ...
5 years, 2 months ago (2015-10-19 21:30:25 UTC) #8
Stephen White
LGTM (but will probably need Brian's for the API change)
5 years, 2 months ago (2015-10-19 21:31:08 UTC) #10
Stephen White
On 2015/10/19 21:31:08, Stephen White wrote: > LGTM (but will probably need Brian's for the ...
5 years, 2 months ago (2015-10-19 21:31:41 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1410553002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1410553002/60001
5 years, 2 months ago (2015-10-19 21:31:55 UTC) #13
commit-bot: I haz the power
5 years, 2 months ago (2015-10-19 21:41:13 UTC) #14
Message was sent while issue was closed.
Committed patchset #3 (id:60001) as
https://skia.googlesource.com/skia/+/af96fce87937aba4aa5d394ee6316ba790308490

Powered by Google App Engine
This is Rietveld 408576698