xserver-multidpi/fb
Søren Sandmann Pedersen 9cbcb5bd6a Use new pixman_glyph_cache_t API that will be in pixman 0.28.0
This new API allows glyphs to be cached in a data structure in pixman,
and entire glyph strings to be composited in one go.

Also bump pixman dependency to 0.27.2.

Results from the cairo peformance test suite running against Xvfb with
a screen size of 1680x1050@32bpp:

Speedups
========
 xlib          firefox-talos-gfx  12416.63 -> 3603.93   3.45x speedup
██▌
 xlib          xfce4-terminal-a1   1727.57 -> 1048.85:  1.65x speedup
▋
 xlib                  evolution   1370.49 -> 869.34:   1.58x speedup
▋
 xlib         gnome-terminal-vim   1832.83 -> 1251.94:  1.46x speedup
▌
 xlib                    poppler   1519.70 -> 1204.05:  1.26x speedup
▎
 xlib       firefox-planet-gnome   6982.55 -> 5598.16:  1.25x speedup
▎
 xlib                  ocitysmap   1142.77 -> 1071.53:  1.07x speedup
▏

No slowdowns were reported.

Results of x11perf -aa10text:

Before:

      8000000 reps @   0.0007 msec (1450000.0/sec)
      8000000 reps @   0.0007 msec (1460000.0/sec)
      8000000 reps @   0.0007 msec (1460000.0/sec)
      8000000 reps @   0.0007 msec (1470000.0/sec)
      8000000 reps @   0.0007 msec (1480000.0/sec)
     40000000 trep @   0.0007 msec (1460000.0/sec)

After:

     32000000 reps @   0.0002 msec (4910000.0/sec)
     32000000 reps @   0.0002 msec (4830000.0/sec)
     32000000 reps @   0.0002 msec (4890000.0/sec)
     32000000 reps @   0.0002 msec (4830000.0/sec)
     32000000 reps @   0.0002 msec (4900000.0/sec)
    160000000 trep @   0.0002 msec (4870000.0/sec)

Version 2: Destroy the glyph cache at server regen time

Acked-by: Aaron Plattner <aplattner@nvidia.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Soren Sandmann <ssp@redhat.com>
2012-10-25 11:37:50 -04:00
..
fb.h Use new pixman_glyph_cache_t API that will be in pixman 0.28.0 2012-10-25 11:37:50 -04:00
fb24_32.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
fb24_32.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
fballpriv.c Use new screen-specific privates for fb window and gc privates 2012-07-05 13:40:18 -07:00
fbarc.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
fbbits.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
fbbits.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
fbblt.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
fbbltone.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
fbcmap_mi.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
fbcopy.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
fbfill.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
fbfillrect.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
fbfillsp.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
fbgc.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
fbgetsp.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
fbglyph.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
fbimage.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
fbline.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
fboverlay.c Use new screen-specific privates for fb window and gc privates 2012-07-05 13:40:18 -07:00
fboverlay.h api: rework the X server driver API to avoid global arrays. 2012-06-05 13:22:18 +01:00
fbpict.c Use new pixman_glyph_cache_t API that will be in pixman 0.28.0 2012-10-25 11:37:50 -04:00
fbpict.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
fbpixmap.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
fbpoint.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
fbpush.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
fbrop.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
fbscreen.c Use new pixman_glyph_cache_t API that will be in pixman 0.28.0 2012-10-25 11:37:50 -04:00
fbseg.c fb: reorder Bresenham error correction to avoid overshoot. 2012-08-14 12:14:25 -07:00
fbsetsp.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
fbsolid.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
fbstipple.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
fbtile.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
fbtrap.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
fbutil.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
fbwindow.c Use new screen-specific privates for fb window and gc privates 2012-07-05 13:40:18 -07:00
Makefile.am fb: Remove hw/xfree86/ from includes 2011-02-08 12:41:13 -05:00
wfbrename.h Use new screen-specific privates for fb window and gc privates 2012-07-05 13:40:18 -07:00