diff options
| author | Eric Anholt <eric@anholt.net> | 2015-06-19 18:40:47 -0700 |
|---|---|---|
| committer | Eric Anholt <eric@anholt.net> | 2015-06-29 21:43:36 -0700 |
| commit | 0e3f1252dacdc3194a99a2d090b5c13f070f8799 (patch) | |
| tree | e5851467be55dc83d5be9a3f2380d18f61378212 /glamor/glamor_priv.h | |
| parent | f47e3f539568d19e22d10d7dd4ec09c7d570e716 (diff) | |
glamor: Avoid using GL_QUADS on VC4.
Improves text rendering from about 284k glyphs per second to 320k
glyphs per second. There's no GL extension for probing this, because
of the philosophy of "Don't expose whether things are really in
hardware or not."
Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'glamor/glamor_priv.h')
| -rw-r--r-- | glamor/glamor_priv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/glamor/glamor_priv.h b/glamor/glamor_priv.h index 681895ff3..3e666b482 100644 --- a/glamor/glamor_priv.h +++ b/glamor/glamor_priv.h @@ -203,6 +203,7 @@ typedef struct glamor_screen_private { Bool has_pack_subimage; Bool has_unpack_subimage; Bool has_rw_pbo; + Bool use_quads; int max_fbo_size; struct xorg_list |
