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

Issue 4710042: GPU blur cleanup (Closed)

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

Description

Clean up some issues raised in code review: - convolveRect() is too low-level; made it private and exposed convolveInX() and convolveInY() instead - added GrAutoTextureEntry to automatically unlock a texture entry - the clipping and bounder checks were returning false from drawWithGPUMaskFilter(), causing the software blur to kick in; return true instead - the Windows build was giving a spurious warning about reading an uninitialized variable; rearrange the code to fix it

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rename autounlock class; add comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+80 lines, -38 lines) Patch
gpu/include/GrContext.h View 1 3 chunks +46 lines, -11 lines 0 comments Download
gpu/src/GrContext.cpp View 1 chunk +24 lines, -8 lines 0 comments Download
src/gpu/SkGpuDevice.cpp View 1 6 chunks +10 lines, -19 lines 0 comments Download

Messages

Total messages: 9
Stephen White
13 years, 3 months ago (2011-07-12 17:55:28 UTC) #1
reed1
http://codereview.appspot.com/4710042/diff/1/gpu/include/GrContext.h File gpu/include/GrContext.h (left): http://codereview.appspot.com/4710042/diff/1/gpu/include/GrContext.h#oldcode665 gpu/include/GrContext.h:665: Should have a verb in the name, like GrAutoUnlockTextureEntry ...
13 years, 3 months ago (2011-07-12 18:58:58 UTC) #2
Stephen White
Rename autounlock class; add comments
13 years, 3 months ago (2011-07-12 19:15:03 UTC) #3
Stephen White
http://codereview.appspot.com/4710042/diff/1/gpu/include/GrContext.h File gpu/include/GrContext.h (left): http://codereview.appspot.com/4710042/diff/1/gpu/include/GrContext.h#oldcode665 gpu/include/GrContext.h:665: On 2011/07/12 18:58:58, reed1 wrote: > Should have a ...
13 years, 3 months ago (2011-07-12 19:15:22 UTC) #4
bsalomon
> convolveRect() is too low-level; made it private and exposed > convolveInX() and > convolveInY() ...
13 years, 3 months ago (2011-07-12 19:24:34 UTC) #5
reed1
LGTM
13 years, 3 months ago (2011-07-12 19:28:40 UTC) #6
Stephen White
On 2011/07/12 19:24:34, bsalomon wrote: > Hey Stephen, I was thinking that the logic related ...
13 years, 3 months ago (2011-07-12 19:42:50 UTC) #7
Stephen White
Landed as r1482. Closing.
13 years, 3 months ago (2011-07-12 19:51:36 UTC) #8
bsalomon
13 years, 3 months ago (2011-07-12 20:09:14 UTC) #9
On Tue, Jul 12, 2011 at 3:42 PM, <senorblanco@chromium.org> wrote:

> On 2011/07/12 19:24:34, bsalomon wrote:
>
>> I know moving the code Ganesh was already a lot of work and I can take
>>
> on this
>
>> task. I plan to do something similar with the OSAA code.
>>
>
> I'd like to take it on once I've got the remaining bits cleaned up,
> since I'll be messing around with this code a fair bit and we'd
> otherwise be touching a lot of the same code I think.
>
>
Awesome! :)
Sign in to reply to this message.

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