On Thursday, November 19, 2015 1:54:22 PM CET Martin Peres wrote: > On 11/11/15 00:44, Eric Anholt wrote: > > Martin Peres <martin.pe...@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.pe...@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?
That's certainly a left over from before buffer age. I don't know whether we can remove it unconditionally. Not every GLES harware which does support X11 supports buffer age. I assume the smartest thing to do is not ask for PRESERVED if buffer age is supported. Cheers Martin
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev