diff options
author | Emil Velikov <[email protected]> | 2017-08-03 19:29:28 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2017-09-06 17:48:50 +0100 |
commit | c9d449de640f62d83149e64015029b466c44b12c (patch) | |
tree | d96a11e63ab52231f61979811797121b49358e36 /src/egl | |
parent | f24bc1816242895d0bc0711a50bd2dfd3cb8b21a (diff) |
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 <[email protected]>
Cc: Kenneth Graunke <[email protected]>
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Eric Anholt <[email protected]
Diffstat (limited to 'src/egl')
-rw-r--r-- | src/egl/drivers/dri2/platform_x11.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/egl/drivers/dri2/platform_x11.c b/src/egl/drivers/dri2/platform_x11.c index 869cb2a36d1..5ca5b912dab 100644 --- a/src/egl/drivers/dri2/platform_x11.c +++ b/src/egl/drivers/dri2/platform_x11.c @@ -1386,6 +1386,7 @@ static const __DRIextension *dri2_loader_extensions_old[] = { static const __DRIextension *dri2_loader_extensions[] = { &dri2_loader_extension.base, &image_lookup_extension.base, + &use_invalidate.base, &background_callable_extension.base, NULL, }; |