[Mesa-dev] [PATCH] egl/x11/dri3: do not expose the preserved swap behavior (to be squashed)

Martin Peres martin.peres at linux.intel.com
Thu Nov 19 03:54:22 PST 2015


On 11/11/15 00:44, Eric Anholt wrote:
> Martin Peres <martin.peres at linux.intel.com> writes:
>
>> The preserved swap behavior is currently untested in piglit and not supported
>> on the GLX side. Before working on implementing it for EGL/DRI3, let's
>> disable it until support comes.
>>
>> This patch is trivial enough and will likely be squashed in the commit
>> egl/x11: Implement dri3 support with loader's dri3 helper
>>
>> Signed-off-by: Martin Peres <martin.peres at linux.intel.com>
> This looks good to me.  I don't think anybody really cares about
> SWAP_BEHAVIOR_PRESERVED -- the buffer_age stuff was what you really
> wanted all along.

Hey Eric and Martin,

It seems like KWin is relying on SWAP_BEHAVIOR_PRESERVED for its EGL 
backend. Should we add proper support for it in mesa or should we 
propose a patch for kwin to test for the extension to be present before 
using it?

Martin, what is your opinion on this since buffer age is what you need 
and you already have support for it for the glx and wayland backends?

Cheers,
Martin


More information about the mesa-dev mailing list