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

Issue 5726057: disable GPU blur on small paths (Closed)

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

Description

disable GPU blur on small paths The current criteria is height, width and radius are all no bigger than 64, I think it's quite a small rectangle, hopefully it won't hurt the performance for other use cases. The benchmark I'm using gets a great performance boost. BUG= TEST=http://www.kevs3d.co.uk/dev/asteroidsbench/ Test 3 has much better FPS with this CL (from 15FPS to 28FPS).

Patch Set 1 #

Patch Set 2 : use CPU blur with small paths #

Patch Set 3 : enlarge the criteria to 128 and make it available only on linux platform #

Patch Set 4 : use a conservative value, add mac platform #

Patch Set 5 : add radius criteria #

Patch Set 6 : remove linux and mac build flags #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -2 lines) Patch
M bench/BlurBench.cpp View 1 2 3 4 5 1 chunk +5 lines, -2 lines 0 comments Download
M src/gpu/SkGpuDevice.cpp View 1 2 3 4 5 2 chunks +16 lines, -0 lines 0 comments Download

Messages

Total messages: 12
guanqun
Please review!
13 years, 3 months ago (2012-03-05 05:42:36 UTC) #1
guanqun
A more aggressive approach is to enlarge the number from 64 to 128... But I ...
13 years, 3 months ago (2012-03-05 06:25:51 UTC) #2
bsalomon
On 2012/03/05 06:25:51, guanqun wrote: > A more aggressive approach is to enlarge the number ...
13 years, 3 months ago (2012-03-05 14:02:16 UTC) #3
guanqun
On 2012/03/05 14:02:16, bsalomon wrote: > Perhaps we should have several runs of the bench ...
13 years, 3 months ago (2012-03-06 06:29:02 UTC) #4
guanqun
I tried this script on a low end MacBookPro. When the radius is 128, the ...
13 years, 3 months ago (2012-03-06 13:52:32 UTC) #5
Stephen White
On 2012/03/07 02:44:43, guanqun wrote: > Tried on a netbook based on Intel Atom processor, ...
13 years, 3 months ago (2012-03-07 02:57:56 UTC) #7
guanqun
On 2012/03/07 02:57:56, Stephen White wrote: > Two things, though: > > 1) I noticed ...
13 years, 3 months ago (2012-03-07 04:24:05 UTC) #8
guanqun
I've changed the bench to draw oval instead my original concave paths and add the ...
13 years, 3 months ago (2012-03-07 06:38:17 UTC) #9
bsalomon
On 2012/03/07 06:38:17, guanqun wrote: > I've changed the bench to draw oval instead my ...
13 years, 3 months ago (2012-03-13 12:45:34 UTC) #10
guanqun
On 2012/03/13 12:45:34, bsalomon wrote: > I'd say remove the MAC / LINUX check unless ...
13 years, 3 months ago (2012-03-14 02:10:41 UTC) #11
guanqun
13 years, 3 months ago (2012-03-22 02:58:55 UTC) #12
ping...
Sign in to reply to this message.

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