glamor: Use glamor_program for glamor_glyphblt
authorKeith Packard <keithp@keithp.com>
Wed, 2 Apr 2014 04:15:47 +0000 (21:15 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 3 Apr 2014 20:07:52 +0000 (13:07 -0700)
commit5f700c3ac31db52f02f6ef11ea7823a8ce4f6f6f
tree1f47a5cbc6754c7d0e8dad6b110a9e5e5eab9b56
parent3411e8c538476443cafbb70082ef7457932e4a38
glamor: Use glamor_program for glamor_glyphblt

This constructs suitable shaders using the glamor_program
infrastructure for poly glyph blt, and then gets rid of the no-op
wrapper of miImageGlyphBlt.

Improves x11perf -f8text by 11.6221% +/- 1.04585% (n=10)

Signed-off-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Eric Anholt <eric@anholt.net>
glamor/glamor_core.c
glamor/glamor_glyphblt.c
glamor/glamor_priv.h