> Also a lot of work is required to write a gallium 3D driver its not trivial code to map to hw as you think,
Is the amount of functionality brought by the independent state trackers enough to justify the investment in writing Gallium 3D drivers instead of classic Mesa drivers?
Once you write a Gallium 3D driver for your HW, what do you get "for free" from the rest of the Gallium 3D infrastructure?
Posted Sep 25, 2013 7:57 UTC (Wed) by Cyberax (✭ supporter ✭, #52523)
[Link]
Not having to write complicated OpenGL state trackers, for one thing. And OpenCL in near future.
NVIDIA to provide documentation for Nouveau
Posted Sep 25, 2013 9:25 UTC (Wed) by airlied (subscriber, #9104)
[Link]
Not having to rewrite DRI interface code, having to worry about OpenGL state tracking semantics (GL does things different for rendering to windows and FBOs, and every driver has to repeat the mistake in classic), abstracted a bit from the OpenGL GLSL compiler. Free mipmap generation, lots of utility helpers.
Just a lot less boilerplate and cut-n-pasting all over the place.