News: 0001482691

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Blumenkrantz Continues On Big Mesa Code Refactoring

([Mesa] 6 Hours Ago "THE JUICIEST REFACTOR EVER")


Mike Blumenkrantz of Valve's Linux graphics driver team has recently begun pushing changes to the Mesa 3D graphics code-base as part of [1]"The Juiciest Refactor Ever" . After merging the first of the patches last week, this week has brought more code for this juicy refactoring.

Blumenkrantz this week proceeded to open another merge request for Mesa to continue the code refactoring/cleanup: [2]"glx: THE JUICIEST REFACTOR EVER (part 1)" . He sums up this latest code, which is now merged to Mesa 24.3, as:

"In the beginning there were no interfaces, there was no dependency hell, there was no WHAT THE ACTUAL FUCK IS THIS CODE DOING?

In the beginning, there was only code.

Now, years later, we finally return to our roots.

(part 1 of 666)"

The now merged code is another 31 patches touching hundreds of lines of code that is cleaning up a lot of DRI and GLX code, inlining various functions and making other changes.

Overnight he opened another merge request too as [3]the part two code . That merge request is summed up as:

"The interfaces have been nearly wiped out. GLX is almost readable now. But the refactoring must soon take a turn in order to make further progress."

That is another 33 patches cleaning up Mesa's GLX and DRI code. His work continues and thanks ultimately to Valve for allowing this Mesa clean-up along with their many other contributions to these open-source 3D graphics drivers.



[1] https://www.phoronix.com/news/Mesa-24.3-Juiciest-Refactor

[2] https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30400

[3] https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30450



cl333r

BwackNinja

M@GOid

cl333r

Anux

schmidtbag

BwackNinja

The salary of the chief executive of the large corporation is not a market
award for achievement. It is frequently in the nature of a warm personal
gesture by the individual to himself.
-- John Kenneth Galbraith, "Annals of an Abiding Liberal"