Nouveau Gallium3D Now Handles ARB_viewport_array

Written by Michael Larabel in Nouveau on 13 February 2014 at 12:10 AM EST. Add A Comment
NOUVEAU
It was just earlier this week I wrote about R600 Gallium3D supporting GL_ARB_viewport_array, an extension mandated by the OpenGL 4.1 specification; the Nouveau Gallium3D driver now also supports this extension.

Ilia Mirkin has managed the work to enable support for the ARB_viewport_array OpenGL extension within the "NV50" Gallium3D driver. This extension allows for multiple viewports and as explained by the OpenGL.org registry, "This extension enhances OpenGL by providing a mechanism to expose multiple viewports. Each viewport is specified as a rectangle. The destination viewport may be selected per-primitive by the geometry shader. This allows the Geometry Shader to produce different versions of primitives destined for separate viewport rectangles on the same surface. Additionally, when combined with multiple framebuffer attachments, it allows a different viewport rectangle to be selected for each. This extension also exposes a separate scissor rectangle for each viewport. Finally, the viewport bounds are now floating point quantities allowing fractional pixel offsets to be applied during the viewport transform."

Last month this GL extension was enabled in core Mesa and Intel's driver and since then has sprouted up in Radeon Gallium3D and now Nouveau Gallium3D drivers. There's still lots of OpenGL 4.x support needed but at least these open-source Linux graphics driver developers continue working in the right direction.

The change happened with this Git commit and will be part of the Mesa 10.2 release in a few months time.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week