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

Issue 25453004: Luminance-to-alpha color filter (SkLumaColorFilter). (Closed)

Created:
7 years, 2 months ago by f(malita)
Modified:
7 years, 2 months ago
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Luminance-to-alpha color filter (SkLumaColorFilter). Adding a color filter luma implementation. The plan is to convert existing clients and then deprecate SkLumaXfermode. R=reed@google.com,bsalomon@google.com,robertphillips@google.com Committed: http://code.google.com/p/skia/source/detail?r=11636

Patch Set 1 #

Total comments: 2

Patch Set 2 : Re-uploading with --no-find-copies. #

Patch Set 3 : Re-factored filterSpan(). #

Patch Set 4 : Rebased after GrGLEffect changes. #

Total comments: 1

Patch Set 5 : Added test & more docs. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+423 lines, -0 lines) Patch
M bench/ColorFilterBench.cpp View 4 chunks +30 lines, -0 lines 0 comments Download
A gm/lumafilter.cpp View 1 2 1 chunk +152 lines, -0 lines 0 comments Download
M gyp/effects.gypi View 2 chunks +2 lines, -0 lines 0 comments Download
M gyp/gmslides.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M gyp/public_headers.gypi View 1 chunk +1 line, -0 lines 0 comments Download
A include/effects/SkLumaColorFilter.h View 1 2 3 4 1 chunk +46 lines, -0 lines 0 comments Download
A src/effects/SkLumaColorFilter.cpp View 1 2 3 4 1 chunk +152 lines, -0 lines 0 comments Download
M src/ports/SkGlobalInitialization_chromium.cpp View 2 chunks +2 lines, -0 lines 0 comments Download
M src/ports/SkGlobalInitialization_default.cpp View 2 chunks +2 lines, -0 lines 0 comments Download
M tests/ColorFilterTest.cpp View 1 2 3 4 2 chunks +35 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
f(malita)
7 years, 2 months ago (2013-10-01 15:45:05 UTC) #1
reed1
https://codereview.chromium.org/25453004/diff/1/include/effects/SkLumaColorFilter.h File include/effects/SkLumaColorFilter.h (right): https://codereview.chromium.org/25453004/diff/1/include/effects/SkLumaColorFilter.h#newcode24 include/effects/SkLumaColorFilter.h:24: class SK_API SkLumaColorFilter : public SkColorFilter { Is it ...
7 years, 2 months ago (2013-10-01 16:10:35 UTC) #2
f(malita)
https://codereview.chromium.org/25453004/diff/1/include/effects/SkLumaColorFilter.h File include/effects/SkLumaColorFilter.h (right): https://codereview.chromium.org/25453004/diff/1/include/effects/SkLumaColorFilter.h#newcode24 include/effects/SkLumaColorFilter.h:24: class SK_API SkLumaColorFilter : public SkColorFilter { On 2013/10/01 ...
7 years, 2 months ago (2013-10-01 16:26:49 UTC) #3
reed1
On 2013/10/01 16:26:49, Florin Malita wrote: > https://codereview.chromium.org/25453004/diff/1/include/effects/SkLumaColorFilter.h > File include/effects/SkLumaColorFilter.h (right): > > https://codereview.chromium.org/25453004/diff/1/include/effects/SkLumaColorFilter.h#newcode24 ...
7 years, 2 months ago (2013-10-01 16:53:26 UTC) #4
f(malita)
On 2013/10/01 16:53:26, reed1 wrote: > On 2013/10/01 16:26:49, Florin Malita wrote: > > > ...
7 years, 2 months ago (2013-10-02 16:48:41 UTC) #5
reed1
suggested tests: 1. draw black w/ this filter, and confirm that it was a no-op ...
7 years, 2 months ago (2013-10-03 09:08:15 UTC) #6
bsalomon
On 2013/10/03 09:08:15, reed1 wrote: > suggested tests: > > 1. draw black w/ this ...
7 years, 2 months ago (2013-10-03 14:52:13 UTC) #7
reed1
On 2013/10/03 14:52:13, bsalomon wrote: > On 2013/10/03 09:08:15, reed1 wrote: > > suggested tests: ...
7 years, 2 months ago (2013-10-03 14:54:04 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/fmalita@chromium.org/25453004/31001
7 years, 2 months ago (2013-10-07 17:49:17 UTC) #9
commit-bot: I haz the power
7 years, 2 months ago (2013-10-07 18:00:20 UTC) #10
Message was sent while issue was closed.
Change committed as 11636

Powered by Google App Engine
This is Rietveld 408576698