aboutsummaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorChris Spencer <spencercw@gmail.com>2023-09-07 19:07:56 +0100
committerMarge Bot <emma+marge@anholt.net>2023-12-13 20:09:37 +0000
commit50458703fad756813706f8c4533493e52035ee20 (patch)
tree9091030a9022135b8fd343a8ed384b35b1a5a745 /meson_options.txt
parent6a4156f812f07592ffe3628411e4f39b164a3f30 (diff)
downloadmesa3d-50458703fad756813706f8c4533493e52035ee20.tar.gz
meson: Add option to ignore artificial Android limitations
Some capabilities are artificially disabled on Android to avoid running afoul of the CTS. Make this behaviour opt-out so devices that don't need strict conformance can take advantage of the full capabilities of the driver. Signed-off-by: Chris Spencer <spencercw@gmail.com> Reviewed-by: Chia-I Wu <olvaffe@gmail.com> Acked-by: Yiwei Zhang <zzyiwei@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25101>
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt
index c76fa6d3382..92ffd1d6c40 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -31,6 +31,15 @@ option(
)
option(
+ 'android-strict',
+ type : 'boolean',
+ value : true,
+ description : 'Enable strict Android compliance. Disabling may cause CTS ' +
+ 'failures or other problems, but allows drivers to expose ' +
+ 'capabilities that are normally hidden. Default: true'
+)
+
+option(
'android-libbacktrace',
type : 'feature',
description : 'Use Android\'s libbacktrace',