Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1439)

Issue 6547049: Add convolveAlpha flag to matrix convolution (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 2 months ago by Stephen White
Modified:
12 years, 2 months ago
Reviewers:
schenney, reed1
CC:
skia-reviews_googlegroups.com
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Description

This patch adds support for optional processing of the alpha channel. Test cases are added to the GM and the bench.

Patch Set 1 #

Patch Set 2 : implement unpremul/premul for convolveAlpha false #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -18 lines) Patch
M bench/MatrixConvolutionBench.cpp View 1 3 chunks +7 lines, -5 lines 0 comments Download
M gm/matrixconvolution.cpp View 1 3 chunks +8 lines, -6 lines 0 comments Download
M include/effects/SkMatrixConvolutionImageFilter.h View 1 2 chunks +7 lines, -1 line 0 comments Download
M src/effects/SkMatrixConvolutionImageFilter.cpp View 1 7 chunks +56 lines, -6 lines 1 comment Download

Messages

Total messages: 10
Stephen White
12 years, 2 months ago (2012-09-20 23:34:17 UTC) #1
Stephen White
PTAL
12 years, 2 months ago (2012-09-20 23:35:12 UTC) #2
reed1
My read of the spec is that if we are *not* convolving alpha, then we ...
12 years, 2 months ago (2012-09-21 12:25:45 UTC) #3
Stephen White
On 2012/09/21 12:25:45, reed1 wrote: > My read of the spec is that if we ...
12 years, 2 months ago (2012-09-21 12:39:54 UTC) #4
schenney
The spec is clearly as Mike says. If existing WK is wrong, file a WK ...
12 years, 2 months ago (2012-09-21 14:28:19 UTC) #5
Stephen White
On 2012/09/21 14:28:19, schenney wrote: > The spec is clearly as Mike says. If existing ...
12 years, 2 months ago (2012-09-24 16:44:40 UTC) #6
Stephen White
PTAL: for convolveAlpha = false, the patch allocates an offscreen, does unpremul to it, then ...
12 years, 2 months ago (2012-09-24 19:12:33 UTC) #7
reed1
we can skip the unpremul if the src is marked as opaque... lgtm https://codereview.appspot.com/6547049/diff/9001/src/effects/SkMatrixConvolutionImageFilter.cpp File ...
12 years, 2 months ago (2012-09-24 19:23:54 UTC) #8
Stephen White
On 2012/09/24 19:23:54, reed1 wrote: > we can skip the unpremul if the src is ...
12 years, 2 months ago (2012-09-24 19:27:08 UTC) #9
Stephen White
12 years, 2 months ago (2012-09-25 15:12:30 UTC) #10
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b