xf86-video-intel/uxa
Chris Wilson c1afc831c8 uxa: Cache solid fills.
Maintain a small cache of pixmaps to hold SolidFill pictures. Currently
we create a pixmap the size of the damaged region and fill that using
pixman before downloading it to the GPU and compositing. Needless to say
this is extremely expensive compared to simply emitting the solid
colour. To mitigate this cost, we maintain a small cache of 1x1R
pictures which is recognised by the driver as being a solid, but at the
very least is maintained as a GPU ready pixmap.

This gives a good boost to cairo-xcb (which uses solid fills) on a gm45:

Before:
  gnome-terminal-vim: 41.9s
After:
  gnome-terminal-vim: 31.7s

Compare with using a cache of 1x1R pixmaps in cairo-xcb:
  gnome-terminal-vim: 31.6s

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2009-12-07 21:37:31 +00:00
..
Makefile.am configure: use CWARNFLAGS from xorg-macros.m4 2009-11-05 16:58:35 +01:00
uxa-accel.c uxa: Review uxa_prepare_access() to remove potential nesting 2009-12-02 12:23:58 +00:00
uxa-glyphs.c uxa-glyphs: Enable TILING_X on glyph caches. 2009-11-30 00:58:05 +00:00
uxa-priv.h uxa: Cache solid fills. 2009-12-07 21:37:31 +00:00
uxa-render.c uxa: Cache solid fills. 2009-12-07 21:37:31 +00:00
uxa-unaccel.c uxa_check_composite: Minor whitespace. 2009-12-02 14:14:39 +00:00
uxa.c uxa: Cache solid fills. 2009-12-07 21:37:31 +00:00
uxa.h i915: Derive the correct target color from the pixmap by checking its format 2009-11-13 20:20:52 +00:00