[Mesa-dev] Move adriconf to mesa repositories

Jean Hertel jean.hertel at hotmail.com
Sun Apr 28 18:38:16 UTC 2019


>Could not find my original notes, but the idea is roughly as follows:
 >- introduce a separate (user only?) library - say libmesa-config.so
> - ^^ provides an API to query/set attributes, via numerical tokens
> - any localisation is built on top of ^^ as standalone files
>
>Reasoning:
>- library reused by anyone to make a pretty config tool in their
>toolkit and/or language
> - numerical tokens are trivial to handle and cheap - can be
>binned/deprecated easily
> - translation lives outside of the driver - the driver doesn't care
>about it, so don't bloat
> - translators do not need access to mesa - one less hurdle/obstacle
>
>
>Hope it makes sense, not sure if coffee has kicked in fully ;-)
>-Emil

Hey Emil,

I really liked this idea, specially since right now I have a lot of issues to query which option is exactly supported by each driver. Like in the scenarios when you have multiple drivers that support the same GPU, or when you have a difference between userspace and kernel space driver naming.

Can you give me more details on the idea?
If I got it right, this library would be independent and mesa will itself use it to query the options it wants/needs.

What about the current configuration files? Do you think there is a better way to handle them?
They are for in a xml format, which is far from optimal.

What about Vulkan?
As far as I known the current setup only handles OpenGL driver configurations.

Kind Regards,
Jean Hertel


More information about the mesa-dev mailing list