diff options
author | Mario Kleiner <[email protected]> | 2017-12-15 23:05:08 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-01-03 22:57:57 +0100 |
commit | 2d8e1a6a277cb1684d76210351147f5e7858c8b2 (patch) | |
tree | 5e776a4a62cdd7c432d77950654743fde52bce1c /src/gallium/auxiliary | |
parent | e5ff036c6751c39ee008ca7db47b3ce4d7a38a15 (diff) |
st/dri: Add option to control exposure of 10 bpc color configs.
Some clients may not like rgb10 fbconfigs and visuals.
Support driconf option 'allow_rgb10_configs' on gallium
to allow per application enable/disable.
The option defaults to enabled.
Signed-off-by: Mario Kleiner <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Signed-off-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r-- | src/gallium/auxiliary/pipe-loader/driinfo_gallium.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/pipe-loader/driinfo_gallium.h b/src/gallium/auxiliary/pipe-loader/driinfo_gallium.h index 003a3d7089e..505aae402ee 100644 --- a/src/gallium/auxiliary/pipe-loader/driinfo_gallium.h +++ b/src/gallium/auxiliary/pipe-loader/driinfo_gallium.h @@ -32,4 +32,5 @@ DRI_CONF_SECTION_END DRI_CONF_SECTION_MISCELLANEOUS DRI_CONF_ALWAYS_HAVE_DEPTH_BUFFER("false") DRI_CONF_GLSL_ZERO_INIT("false") + DRI_CONF_ALLOW_RGB10_CONFIGS("true") DRI_CONF_SECTION_END |