diff options
author | Eric Anholt <eric@anholt.net> | 2017-07-26 16:54:40 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2017-10-13 17:23:46 -0700 |
commit | c66d65a645332bbf055a1c49f092636139eb9285 (patch) | |
tree | 8c2ee246d52eca34593ad905b0ae777de87770a7 /glamor/glamor.c | |
parent | 885636b7d42b3c7b151fc386d358184db004ce45 (diff) |
glamor: Use GL_MESA_tile_raster_order for overlapping blits.
Improves Raspberry Pi 3 x11perf -copywinwin500 from ~480/sec to
~700/sec.
Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'glamor/glamor.c')
-rw-r--r-- | glamor/glamor.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/glamor/glamor.c b/glamor/glamor.c index 91236e29c..d06934595 100644 --- a/glamor/glamor.c +++ b/glamor/glamor.c @@ -601,6 +601,8 @@ glamor_init(ScreenPtr screen, unsigned int flags) epoxy_has_gl_extension("GL_EXT_map_buffer_range"); glamor_priv->has_buffer_storage = epoxy_has_gl_extension("GL_ARB_buffer_storage"); + glamor_priv->has_mesa_tile_raster_order = + epoxy_has_gl_extension("GL_MESA_tile_raster_order"); glamor_priv->has_nv_texture_barrier = epoxy_has_gl_extension("GL_NV_texture_barrier"); glamor_priv->has_unpack_subimage = |