From: Emil Velikov Date: Thu, 3 Aug 2017 18:29:28 +0000 (+0100) Subject: egl/x11: advertise __DRI_USE_INVALIDATE for DRI2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c9d449de640f62d83149e64015029b466c44b12c;p=mesa.git egl/x11: advertise __DRI_USE_INVALIDATE for DRI2 Back in 2012 (commit 1e7776ca2bc - egl: Remove bogus invalidate code.) the loader use of invalidate() was purged as "bogus". One of the factors defining that statement was the lack of the loader-side invalidate extension - __DRI_USE_INVALIDATE. Since then the commit was reverted (commit eed0a80137d - egl: Restore "bogus" DRI2 invalidate event code.), always performing the driver invalidate call, although the loader was never updated to expose the extension. Do so allowing the driver to do fine grained tuning. Cc: Eric Anholt Cc: Kenneth Graunke Signed-off-by: Emil Velikov Reviewed-by: Eric Anholt