mesa: enable dri3 explicitly

Currently oe-core enables dri3 only for x11 AND vulcan. Although patch enabling
dri3 by default in oe-core was sent out, make sure here dri3 is enabled -
whatever oe-core suggest in the future.

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
This commit is contained in:
Andreas Müller 2018-03-31 21:27:03 +02:00 committed by Andrei Gherzan
parent 292e00099b
commit 963761aac3

View File

@ -1,3 +1,7 @@
PACKAGECONFIG_append_rpi = " gallium" # DRI3 note:
# With oe-core commit 8509e2e1a87578882b71948ccef3b50ccf1228b3 dri3 is set
# as default. To state out clearly that Raspi needs dri3 and to avoid surprises
# in case oe-core changes this default, we set dri3 explicitly.
PACKAGECONFIG_append_rpi = " gallium ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'x11 dri3', '', d)}"
GALLIUMDRIVERS_rpi = "vc4" GALLIUMDRIVERS_rpi = "vc4"
DRIDRIVERS_rpi = "" DRIDRIVERS_rpi = ""