LWN.net Logo

NVIDIA to provide documentation for Nouveau

NVIDIA to provide documentation for Nouveau

Posted Sep 24, 2013 23:42 UTC (Tue) by airlied (subscriber, #9104)
In reply to: NVIDIA to provide documentation for Nouveau by rahvin
Parent article: NVIDIA to provide documentation for Nouveau

The Gallium 3D OpenGL state tracker is developed my lots of companies and non-companies alike.

Tungsten Graphics wrote the original, consumed into the VMware, I think since the initial import the biggest contribution to it was an independent who wrote the GLSL to TGSI translator.

Other contributors are Marek who worked on radeon in his spare time and is now employed my AMD, and myself at Red Hat.

That layer is under constant development, a lot of it isn't done by VMware anymore, VMware are currently focused on the llvmpipe sw renderer pipe driver code and their closed direct3d implementations from what I can see.

Also a lot of work is required to write a gallium 3D driver its not trivial code to map to hw as you think,

Apart from all that there is also a gallium video decoding layer using vdpau that AMD has contributed a lot of, a gallium compute interface for OpenCL that AMD and VMware (initially) along with independents put a lot of work into.


(Log in to post comments)

NVIDIA to provide documentation for Nouveau

Posted Sep 25, 2013 7:28 UTC (Wed) by gioele (subscriber, #61675) [Link]

> 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?

NVIDIA to provide documentation for Nouveau

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.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds