Be able to disable GLX/EGL_EXT_buffer_age for lima
Mali Utgard GPU wants to be able to disable this extension for some application which prefer redraw to reload.
Without knowing damage region first, some tile buffer based GPU like ARM Mali Utgard has to load whole render target to tile buffer before partial update, then write them back. Expose this extension will mis-lead some application to use it which will make performance worse for this kind of GPU. EGL_KHR_partial_update is better choice for this kind of GPU.
We have some discussion before:
- V1 !658 (closed)
- https://lists.freedesktop.org/archives/mesa-dev/2018-July/199332.html
- https://patchwork.freedesktop.org/series/45953/
v2:
- use drirc way for being able to enable/disable this extension for different applications
- currently enable it by default, but need more test to decide the default setting