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

Issue 4695057: Fix clipping problem in GPU Gaussian blur (Closed)

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

Description

The FBOs used for the fast Gaussian blur were being clipped to the size of the output window, causing the blurred primitive to be truncated if the FBO was larger than the output window. Clip them to the srcRect instead, and restore when done.

Patch Set 1 #

Total comments: 4

Patch Set 2 : revert stencil change, add comment #

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

Messages

Total messages: 8
Stephen White
13 years, 5 months ago (2011-07-13 21:00:38 UTC) #1
bsalomon
http://codereview.appspot.com/4695057/diff/1/src/gpu/SkGpuDevice.cpp File src/gpu/SkGpuDevice.cpp (right): http://codereview.appspot.com/4695057/diff/1/src/gpu/SkGpuDevice.cpp#newcode881 src/gpu/SkGpuDevice.cpp:881: kRenderTarget_GrTextureFlagBit | kNoStencil_GrTextureFlagBit, I think we have to query ...
13 years, 5 months ago (2011-07-13 21:25:30 UTC) #2
Stephen White
http://codereview.appspot.com/4695057/diff/1/src/gpu/SkGpuDevice.cpp File src/gpu/SkGpuDevice.cpp (right): http://codereview.appspot.com/4695057/diff/1/src/gpu/SkGpuDevice.cpp#newcode881 src/gpu/SkGpuDevice.cpp:881: kRenderTarget_GrTextureFlagBit | kNoStencil_GrTextureFlagBit, On 2011/07/13 21:25:30, bsalomon wrote: > ...
13 years, 5 months ago (2011-07-13 22:15:06 UTC) #3
bsalomon
Hey sorry I didn't notice your reply yesterday. I'm OK with committing as is with ...
13 years, 5 months ago (2011-07-14 12:51:35 UTC) #4
reed1
SWDIK -- sure, what do I know
13 years, 5 months ago (2011-07-14 13:03:39 UTC) #5
Stephen White
revert stencil change, add comment
13 years, 5 months ago (2011-07-14 15:08:51 UTC) #6
bsalomon
On 2011/07/14 15:08:51, Stephen White wrote: > revert stencil change, add comment LGTM
13 years, 5 months ago (2011-07-14 15:20:19 UTC) #7
Stephen White
13 years, 5 months ago (2011-07-14 15:41:52 UTC) #8
Landed as r1859; closing.
Sign in to reply to this message.

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