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

Issue 4798041: GPU blur fix (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
CC:
reed1, skia-review_googlegroups.com
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Sometimes, the cache serves us textures of different sizes for srcTexture and dstTexture (this is fair; they're supposed to be approximate). Code was assuming otherwise while downsampling; fix is to reapply the scale on each downsample. (Yes, I could cache these reciprocals if and when they prove to be a hot spot). Also, use setIDiv(w,h) everywhere for conciseness.

Patch Set 1 #

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

Messages

Total messages: 3
Stephen White
13 years, 3 months ago (2011-07-19 21:16:28 UTC) #1
bsalomon
On 2011/07/19 21:16:28, Stephen White wrote: The age of setIDiv is here. LGTM.
13 years, 3 months ago (2011-07-19 21:19:38 UTC) #2
Stephen White
13 years, 3 months ago (2011-07-19 21:28:23 UTC) #3
On 2011/07/19 21:19:38, bsalomon wrote:
> On 2011/07/19 21:16:28, Stephen White wrote:
> 
> The age of setIDiv is here.

("When the moon .. is in the seventh house...")

Indeed!  Thanks for that!

> 
> LGTM.

Landed as r1907.  Closing.
Sign in to reply to this message.

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