diff options
author | Keith Packard <keithp@keithp.com> | 2014-04-01 21:15:47 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2014-04-03 13:07:52 -0700 |
commit | 5f700c3ac31db52f02f6ef11ea7823a8ce4f6f6f (patch) | |
tree | 1f47a5cbc6754c7d0e8dad6b110a9e5e5eab9b56 /glamor/glamor_priv.h | |
parent | 3411e8c538476443cafbb70082ef7457932e4a38 (diff) |
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>
Diffstat (limited to 'glamor/glamor_priv.h')
-rw-r--r-- | glamor/glamor_priv.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/glamor/glamor_priv.h b/glamor/glamor_priv.h index 74bb7896a..2a8cae109 100644 --- a/glamor/glamor_priv.h +++ b/glamor/glamor_priv.h @@ -230,6 +230,9 @@ typedef struct glamor_screen_private { /* glamor rect shaders */ glamor_program_fill poly_fill_rect_program; + /* glamor glyphblt shaders */ + glamor_program_fill poly_glyph_blt_progs; + /* vertext/elment_index buffer object for render */ GLuint vbo, ebo; /** Next offset within the VBO that glamor_get_vbo_space() will use. */ |