summaryrefslogtreecommitdiff
path: root/glamor/glamor_priv.h
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2015-06-19 18:40:47 -0700
committerEric Anholt <eric@anholt.net>2015-06-29 21:43:36 -0700
commit0e3f1252dacdc3194a99a2d090b5c13f070f8799 (patch)
treee5851467be55dc83d5be9a3f2380d18f61378212 /glamor/glamor_priv.h
parentf47e3f539568d19e22d10d7dd4ec09c7d570e716 (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.h1
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