Chrome is going to use EGLSync a lot to synchronize between EGL/KMS (along with the flush image external extension). VM's are used for testing, so adding this path would be helpful.
On Fri, May 5, 2017 at 5:54 PM, Emil Velikov <emil.l.veli...@gmail.com> wrote: > Hi Gurchetan, > > On 5 May 2017 at 20:56, Gurchetan Singh <gurchetansi...@chromium.org> > wrote: > > From: Gurchetan Singh <gurchetansi...@chromium.org> > > > > Use the same fence implementation for drisw.c as dri2.c by > > making dri2FenceExtension an external variable. This is desirable > > for synchronization in virtual machines. > > Out of curiosity: can you share what virtual machines are you thinking of? > > I cannot spot anything in the dri2_fence code that would require an > actual non-SW driver. > On that grounds we're fine, but drisw.c simply cannot depend on dri2.c > - please flesh the relevant code to another file. > > I'm leaning towards dri_flush.{c,h} although other suggestions are welcome. > > Thanks > Emil >
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev