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

Reply via email to