[OE-core] [PATCH 2/3] mesa: Replace dri-native with dri for native and nativesdk classes

Alexander Kanavin alex.kanavin at gmail.com
Mon Feb 18 14:58:01 UTC 2019


On Mon, 18 Feb 2019 at 15:18, Richard Purdie
<richard.purdie at linuxfoundation.org> wrote:

> I think you need to leave DRIDRIVERS = "swrast" here or the x86 appends
> wouldn't have swrast listed?
>
> Do we really want to limit the native version to swrast only? This
> seems a fairly major change of behaviour and not what the original code
> was intending?

Currently the native version does not build any dri drivers at all.
This is intentional: mesa-native is used only by virgl, so I made the
most minimal possible configuration for mesa-native so that a) virgl
works; and b) build time is as short as possible.

With the switchover to meson, dri support is enabled only if also at
least one dri driver is enabled. swrast seemed like the best choice.

If/when we have more use cases for mesa-native than virgl, we can add
other bits to the configuration.

Hope this makes sense.

Cheers,
Alex


More information about the Openembedded-core mailing list