[Mesa-dev] Remove classic drivers or fork src/mesa for gallium?

Eric Anholt eric at anholt.net
Wed Dec 4 17:48:28 UTC 2019


On Tue, Dec 3, 2019 at 4:39 PM Marek Olšák <maraeo at gmail.com> wrote:
>
> Hi,
>
> Here are 2 proposals to simplify and better optimize the GL->Gallium translation.
>
> 1) Move classic drivers to a fork of Mesa, and remove them from master. Classic drivers won't share any code with master. glvnd will load them, but glvnd is not ready for this yet.
>
> 2) Keep classic drivers. Fork src/mesa for Gallium. I think only mesa/main, mesa/vbo, mesa/program, and drivers/dri/common need to be forked and mesa/state_tracker moved. src/gallium/state-trackers/gl/ can be the target location.
>
> Option 2 is more acceptable to people who want to keep classic drivers in the tree and it can be done right now.

(resending reply-all)

I object to both of these.  They increase work for Mesa folks like me
who do tree-wide work.

I feel like we're finally (formats, util/ helpers, etc.) paying down
the technical debt that we built with gallium copying so much of
src/mesa/main, and saying "let's go duplicate more code so we can do
some unspecified optimization work" gets me really upset.


More information about the mesa-dev mailing list