2010/4/21 shivap <
sshirem...@gmail.com>:
> i want to know how neon optimization is done in pixelflinger and skia
> as mentioned in thread (
http://groups.google.co.in/group/0xlab-devel/
> browse_thread/thread/4a6add9bb189aa57/30a302529ebace89?
> hl=en&lnk=gst&q=pixelflinger#30a302529ebace89)
>
hi shivap,
Thanks for your interest on PixelFlinger and Skia.
You can bench skia through builtin tool 'bench' inside skia source
tree in Eclair.
Reference output:
$ skia_bench -repeat 10
running bench text_48_linear_pos 8888: 170.10 565: 140.20 4444:
203.80 A8: 105.60
running bench text_48_linear 8888: 168.40 565: 135.10 4444:
197.50 A8: 100.80
running bench text_48_pos 8888: 165.50 565: 141.10 4444:
187.30 A8: 103.90
running bench text_48 8888: 162.10 565: 130.80 4444:
181.20 A8: 94.80
running bench text_9_linear_pos 8888: 20.50 565: 17.90 4444:
21.20 A8: 17.00
running bench text_9_linear 8888: 17.40 565: 20.50 4444:
18.30 A8: 13.80
running bench text_9_pos 8888: 19.20 565: 16.20 4444:
18.80 A8: 15.30
running bench text_9 8888: 14.80 565: 12.60 4444:
15.10 A8: 11.70
running bench repeatTile_index8 8888: 570.80 565: 338.40 4444:
712.50 A8: 356.30
However, for microbenmarking, you have to write your own test cases
such as blitter, blending, etc.
> wher can i find documentation for pixelflinger and skia
> implementation?
>
As far as I know, there is NO documentation about PixelFlinger, and
source code is the best material
for you. Correct me if you find real technical document about PixelFlinger.
Skia comes with Doxygen based API document.
Sincerely,
Jim Huang (jserv)
http://0xlab.org/