[Mesa-dev] [RFC] Code de-duplication across classic mesa/gallium

Marek Olšák maraeo at gmail.com
Sat Jan 11 13:04:28 PST 2014


I think it's a great idea. I once suggested this on IRC, but my
preferred file location was src/util. Either is okay with me though.

Marek



On Sat, Jan 11, 2014 at 4:39 PM, Emil Velikov <emil.l.velikov at gmail.com> wrote:
> Hello list,
>
> As you already know with the inception of gallium a lot of the classic
> mesa code was copied over to gallium/auxiliary for multitude of reasons.
>
> Recently I came across a handful of cases where classic mesa has become
> more robust while gallium is still in the mist (and vice versa).
>
> Considering the lack of divergence should we get those back together or
> are we going to continue ad-hoc patching?
>
> Taking into account our lovely build systems and the function names
> used, there are a few things to consider:
>
> * files location - concentrate new location (eg. src/common)
> * naming convention - the gallium seems more consistent and reasonable
>
> IHMO the above two yeld the following
> Pros
> * clear boundaries of what is done
> * less of a build chaos in the long term
> Cons
> * some initial work needs to be done for all build systems :\
>
> How do you feel on the subject ?
>
> Cheers,
> Emil
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list