[PATCH] Use new pixman_glyph_cache_t API that will be in pixman 0.28.0

Alan Coopersmith alan.coopersmith at oracle.com
Wed May 30 17:54:50 PDT 2012


On 05/30/12 05:27 PM, Søren Sandmann wrote:
> From: Søren Sandmann Pedersen <ssp at redhat.com>
> 
> This new API allows glyphs to be cached in a data structure in pixman,
> and entire glyph strings to be composited in one go.
> 
> Results from the cairo peformance test suite running against Xvfb with
> a screen size of 1680x1050 at 32bpp:
> 
> Speedups
> ========
>  xlib          firefox-talos-gfx  13669.42 -> 3717.03:  3.68x speedup
> ██▋
>  xlib          xfce4-terminal-a1  1842.63 -> 1086.13:   1.70x speedup
>>  xlib                  evolution  1401.95 -> 897.70:    1.56x speedup
>>  xlib         gnome-terminal-vim  1859.13 -> 1192.92:   1.56x speedup
>>  xlib                    poppler  1650.37 -> 1244.72:   1.33x speedup
>>  xlib       firefox-planet-gnome  7300.14 -> 5751.90:   1.27x speedup
>>  xlib                       gvim  1385.19 -> 1284.40:   1.08x speedup
>
I note the pixman patches use a custom hash function instead of the standard
SHA1 hash the X server currently uses (and currently tries to find an
accelerated version of) - any idea if this factors into the performance at all?

-- 
	-Alan Coopersmith-              alan.coopersmith at oracle.com
	 Oracle Solaris Engineering - http://blogs.oracle.com/alanc


More information about the xorg-devel mailing list