diff options
author | Keith Packard <keithp@keithp.com> | 2014-10-10 09:25:51 +0200 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2015-05-14 16:32:07 -0700 |
commit | b0d2e010316d710eb4052963de3a1e2dc7ba356e (patch) | |
tree | 53cf8093f0d82716489fed2147e445f50579106e /glamor/glamor_trapezoid.c | |
parent | 1b745e0c1ff45e014aa21c3d8edf93227bec99bf (diff) |
glamor: Replace CompositeGlyphs code [v2]
New composite glyphs code uses the updated glamor program
infrastructure to create efficient shaders for drawing render text.
Glyphs are cached in two atlases (one 8-bit, one 32-bit) in a simple
linear fashion. When the atlas fills, it is discarded and a new one
constructed.
v2: Eric Anholt changed the non-GLSL 130 path to use quads instead of
two triangles for a significant performance improvement on hardware
with quads. Someone can fix the GLES quads emulation if they want to
make it faster there.
v3: Eric found more dead code to delete
Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'glamor/glamor_trapezoid.c')
0 files changed, 0 insertions, 0 deletions