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

Issue 4664075: Implement blur types for GPU-based blur (Closed)

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

Description

This patch implements the remaining blur types (inner, outer, solid) in the GPU-based Gaussian blur. They are implemented using a post-upsampling blending pass.

Patch Set 1 #

Total comments: 8

Patch Set 2 : Responding to review comments #

Patch Set 3 : Copy antialiasing state from the passed-in paint #

Patch Set 4 : Fix antialiasing on the hard shadow mask #

Total comments: 4

Patch Set 5 : Respond to review comments on patch set 4 #

Patch Set 6 : And comments per review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -31 lines) Patch
src/gpu/SkGpuDevice.cpp View 1 2 3 4 5 10 chunks +75 lines, -31 lines 0 comments Download

Messages

Total messages: 21
Stephen White
13 years, 2 months ago (2011-07-11 18:43:52 UTC) #1
bsalomon
On 2011/07/11 18:43:52, Stephen White wrote: I'll defer to Mike on this one as I'm ...
13 years, 2 months ago (2011-07-11 19:47:22 UTC) #2
reed1
If drawWithGPUMaskFilter returns false, seems like we should call drawWithMaskFilter. When you have a non-normal ...
13 years, 2 months ago (2011-07-11 20:25:20 UTC) #3
reed1
http://codereview.appspot.com/4664075/diff/1/src/gpu/SkGpuDevice.cpp File src/gpu/SkGpuDevice.cpp (right): http://codereview.appspot.com/4664075/diff/1/src/gpu/SkGpuDevice.cpp#newcode848 src/gpu/SkGpuDevice.cpp:848: SkMaskFilter::BlurType blurType = filter->asABlur(&info); possible we can move USE_GPU_BLUR ...
13 years, 2 months ago (2011-07-11 20:27:29 UTC) #4
reed1
I will write a bench for blur, so we can make that part of the ...
13 years, 2 months ago (2011-07-11 20:34:44 UTC) #5
Stephen White
http://codereview.appspot.com/4664075/diff/1/src/gpu/SkGpuDevice.cpp File src/gpu/SkGpuDevice.cpp (left): http://codereview.appspot.com/4664075/diff/1/src/gpu/SkGpuDevice.cpp#oldcode812 src/gpu/SkGpuDevice.cpp:812: { On 2011/07/11 20:25:20, reed1 wrote: > lets cache ...
13 years, 2 months ago (2011-07-11 20:59:25 UTC) #6
Stephen White
Responding to review comments
13 years, 2 months ago (2011-07-11 21:00:23 UTC) #7
Stephen White
On 2011/07/11 20:25:20, reed1 wrote: > If drawWithGPUMaskFilter returns false, seems like we should call ...
13 years, 2 months ago (2011-07-11 21:07:33 UTC) #8
bsalomon
On 2011/07/11 21:07:33, Stephen White wrote: > On 2011/07/11 20:25:20, reed1 wrote: > > If ...
13 years, 2 months ago (2011-07-11 21:12:44 UTC) #9
Stephen White
Copy antialiasing state from the passed-in paint
13 years, 2 months ago (2011-07-11 21:26:56 UTC) #10
Stephen White
Fix antialiasing on the hard shadow mask
13 years, 2 months ago (2011-07-11 21:45:07 UTC) #11
reed1
I like the new narrower use of USE_GPU_BLUR http://codereview.appspot.com/4664075/diff/13001/src/gpu/SkGpuDevice.cpp File src/gpu/SkGpuDevice.cpp (right): http://codereview.appspot.com/4664075/diff/13001/src/gpu/SkGpuDevice.cpp#newcode910 src/gpu/SkGpuDevice.cpp:910: tempPaint.fAntiAlias ...
13 years, 2 months ago (2011-07-12 14:20:31 UTC) #12
Stephen White
http://codereview.appspot.com/4664075/diff/13001/src/gpu/SkGpuDevice.cpp File src/gpu/SkGpuDevice.cpp (right): http://codereview.appspot.com/4664075/diff/13001/src/gpu/SkGpuDevice.cpp#newcode910 src/gpu/SkGpuDevice.cpp:910: tempPaint.fAntiAlias = grp->fAntiAlias; On 2011/07/12 14:20:31, reed1 wrote: > ...
13 years, 2 months ago (2011-07-12 14:50:44 UTC) #13
Stephen White
Respond to review comments on patch set 4
13 years, 2 months ago (2011-07-12 14:52:05 UTC) #14
reed1
On 2011/07/12 14:50:44, Stephen White wrote: > http://codereview.appspot.com/4664075/diff/13001/src/gpu/SkGpuDevice.cpp > File src/gpu/SkGpuDevice.cpp (right): > > http://codereview.appspot.com/4664075/diff/13001/src/gpu/SkGpuDevice.cpp#newcode910 ...
13 years, 2 months ago (2011-07-12 15:11:34 UTC) #15
bsalomon
The comment can be: AA uses the "coverage" stages on GrDrawTarget. Coverage with a dst ...
13 years, 2 months ago (2011-07-12 15:16:13 UTC) #16
Stephen White
And comments per review
13 years, 2 months ago (2011-07-12 15:32:29 UTC) #17
Stephen White
On Tue, Jul 12, 2011 at 11:11 AM, <reed@google.com> wrote: > On 2011/07/12 14:50:44, Stephen ...
13 years, 2 months ago (2011-07-12 15:39:08 UTC) #18
reed1
LGTM -- deferring to brian
13 years, 2 months ago (2011-07-12 15:42:56 UTC) #19
bsalomon
On 2011/07/12 15:42:56, reed1 wrote: > LGTM -- deferring to brian LGTM
13 years, 2 months ago (2011-07-12 16:48:43 UTC) #20
Stephen White
13 years, 2 months ago (2011-07-12 16:56:22 UTC) #21
On 2011/07/12 16:48:43, bsalomon wrote:
> On 2011/07/12 15:42:56, reed1 wrote:
> > LGTM -- deferring to brian
> 
> LGTM

Landed as r1839; closing.
Sign in to reply to this message.

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