mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-11-23 18:24:13 +08:00
8621bd8d5e
How to use: - For GALLIUM drivers: 1. Add gallium drivers into your board.mk file: board.mk: BOARD_MESA3D_USES_MESON_BUILD := true BOARD_MESA3D_GALLIUM_DRIVERS := lima panfrost v3d 2. Add the following packages into your device.mk file: device.mk: PRODUCT_PACKAGES += \ libEGL_mesa \ libGLESv1_CM_mesa \ libGLESv2_mesa \ libgallium_dri \ libglapi - For VULKAN drivers: 1. Add single vulkan driver into your board.mk file: board.mk: BOARD_MESA3D_USES_MESON_BUILD := true BOARD_MESA3D_VULKAN_DRIVERS := freedreno broadcom 2. Add the following package configuration into your device.mk file: device.mk: PRODUCT_PACKAGES += \ vulkan.freedreno PRODUCT_PROPERTY_OVERRIDES += \ ro.hardware.vulkan=freedreno - To build 'libgbm' set definition in the board.mk: BOARD_MESA3D_BUILD_LIBGBM := true And add a package to the device.mk: PRODUCT_PACKAGES += libgbm Signed-off-by: Roman Stratiienko <r.stratiienko@gmail.com> Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Tested-by: Mauro Rossi <issor.oruam@gmail.com> Reviewed-by: Emma Anholt <emma@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10183> |
||
---|---|---|
.. | ||
Android.mk | ||
mesa3d_cross.mk |