]> code.ossystems Code Review - openembedded-core.git/commit
mesa: Replace dri-native with dri for native and nativesdk classes
authorFabio Berton <fabio.berton@ossystems.com.br>
Fri, 22 Feb 2019 14:09:30 +0000 (11:09 -0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 25 Feb 2019 10:42:56 +0000 (10:42 +0000)
commit223ee432b908180932bf70e77d4058964d7f0786
tree187f5c1f3b96674ebce214114bdaf37440187cf3
parent9ddd6add68f07fb7b3f264cee7c853ffe4a1b43e
mesa: Replace dri-native with dri for native and nativesdk classes

Instead of using a native specific packageconfig option, we now set
the swrast as the supported driver.

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

There are two swrast drivers, one dri-based, another gallium-based.
Autotools lets you build both, meson forces you to choose.
Thus DRIDRIVERS = "swrast" is only set for _native, as for _target
we get the gallium driver instead.

See discussion here [1]

Based on https://patchwork.openembedded.org/patch/158748/

[1] https://patchwork.openembedded.org/patch/158806/

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-graphics/mesa/mesa.inc