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

Issue 7063054: Added shaderproc for 1xN repeatX/repeatY BitmapProcShader (Closed)

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

Description

This handles a special case seen in the mlb skp. The new shaderproc is just a simplification of Repeat_S32_D32_nofilter_trans_shaderproc. BEFORE: running bench [1257 3085] tabl_mlb.skp tile_256x256: cmsecs = 46.02 running bench [640 480] constXRepeat 8888: cmsecs = 44.93 GPU: cmsecs = 8.42 gmsecs = 8.59 AFTER: running bench [1257 3085] tabl_mlb.skp tile_256x256: cmsecs = 36.66 running bench [640 480] constXRepeat 8888: cmsecs = 1.40 GPU: cmsecs = 8.27 gmsecs = 8.63

Patch Set 1 #

Patch Set 2 : added support for filtering, transparency & different tile modes #

Patch Set 3 : fix bug when not filtering but have a scale matrix #

Total comments: 6

Patch Set 4 : Split bench off into its own CL #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+163 lines, -5 lines) Patch
M src/core/SkBitmapProcState.cpp View 1 2 3 6 chunks +121 lines, -5 lines 0 comments Download
M src/core/SkBitmapProcState_filter.h View 1 2 3 1 chunk +42 lines, -0 lines 4 comments Download

Messages

Total messages: 10
robertphillips
11 years, 11 months ago (2013-01-09 14:08:48 UTC) #1
TomH
Driveby LGTM and YAY
11 years, 11 months ago (2013-01-09 15:24:07 UTC) #2
robertphillips
The generalization does cost us some time but this is a big win for the ...
11 years, 11 months ago (2013-01-16 23:06:32 UTC) #3
TomH
On 2013/01/16 23:06:32, robertphillips wrote: > The generalization does cost us some time but this ...
11 years, 11 months ago (2013-01-17 09:23:12 UTC) #4
robertphillips
I was comparing the original reduced functionality time (constXRepeat 1.4) to the new version (constXTile_RR ...
11 years, 11 months ago (2013-01-17 13:59:46 UTC) #5
robertphillips
Note also that I completely ignored 565 in all of this: constXTile_MM_filter_trans 8888: msecs = ...
11 years, 11 months ago (2013-01-17 14:13:56 UTC) #6
reed1
Can we land the new bench(s) first? (not required, but might be faster if there ...
11 years, 11 months ago (2013-01-17 15:10:58 UTC) #7
robertphillips
https://codereview.appspot.com/7063054/diff/6001/bench/RepeatTileBench.cpp File bench/RepeatTileBench.cpp (right): https://codereview.appspot.com/7063054/diff/6001/bench/RepeatTileBench.cpp#newcode153 bench/RepeatTileBench.cpp:153: // filtering and the different tiling modes On 2013/01/17 ...
11 years, 11 months ago (2013-01-17 19:30:38 UTC) #8
reed1
Hurray for the optimized simpler version. Suggest adding a comment to that effect. lgtm https://codereview.appspot.com/7063054/diff/8002/src/core/SkBitmapProcState_filter.h ...
11 years, 11 months ago (2013-01-17 19:53:48 UTC) #9
robertphillips
11 years, 11 months ago (2013-01-18 16:39:12 UTC) #10
Message was sent while issue was closed.
committed as r7273

https://codereview.appspot.com/7063054/diff/8002/src/core/SkBitmapProcState_f...
File src/core/SkBitmapProcState_filter.h (right):

https://codereview.appspot.com/7063054/diff/8002/src/core/SkBitmapProcState_f...
src/core/SkBitmapProcState_filter.h:81: 
On 2013/01/17 19:53:48, reed1 wrote:
> // Two color version, where we filter only along 1 axis

Done.

https://codereview.appspot.com/7063054/diff/8002/src/core/SkBitmapProcState_f...
src/core/SkBitmapProcState_filter.h:100: 
On 2013/01/17 19:53:48, reed1 wrote:
> // Two color version, where we filter only along 1 axis

Done.
Sign in to reply to this message.

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