1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems


Facebook RSS Twitter Twitter Google Plus


Phoronix Test Suite

OpenBenchmarking.org

Marek Works On OpenGL 4.0 Transform Feedback

Mesa

Published on 05 July 2012 07:36 AM EDT
Written by Michael Larabel in Mesa
6 Comments

Marek Olšák, the prolific independent contributor to Mesa/Gallium3D with a special interest in Radeon Gallium3D, has just published his latest patch work. This time around he's been working on the remaining transform feedback extensions from OpenGL 4.0.

OpenGL Transform Feedback has been worked on for months within the Mesa/Gallium3D world with progress having been made. Just a few weeks ago Stream-Out was enabled by default in R600 Gallium3D to allow for this support in the Radeon HD 2000/3000/4000/5000/6000 series open-source driver.

OpenGL Transform Feedback allows for keeping the post-transform rendering state of an object so that it can be submitted again by writing primitives processed by vertex/geometry shaders to buffer objects. Marek's latest work implements the GL_ARB_transform_feedback3 and GL_ARB_transform_feedback_instanced OpenGL extensions as needed by OpenGL 4.0.

GL_ARB_transform_feedback_instanced: "Multiple instances of geometry may be specified to the GL by calling functions such as DrawArraysInstanced and DrawElementsInstanced. Further, the results of a transform feedback operation may be returned to the GL by calling DrawTransformFeedback, or DrawTransformFeedbackStream. However, it is not presently possible to draw multiple instances of data transform feedback without using a query and the resulting round trip from server to client. This extension adds functionality to draw multiple instances of the result of a transform feedback operation."

GL_ARB_transform_feedback3: "This extension further extends the transform feedback capabilities provided by the EXT_transform_feedback, NV_transform_feedback, and NV_transform_feedback2 extensions. Those extensions provided a new transform feedback mode, where selected vertex attributes can be recorded to a buffer object for each primitive processed by the GL. This extension provides increased flexibility in how vertex attributes can be written to buffer objects. Previous extensions allowed applications to record a set of attributes interleaved into a single buffer object (interleaved mode) or to record into multiple objects, but with only a single attribute per buffer (separate mode). This extension extends interleaved mode to write into multiple buffers, with multiple attributes per buffer."

The good news is that for implementing these two transform feedback extensions doesn't require changes to the individual Mesa/Gallium3D drivers assuming they implement the internal interfaces. However, these latest patches from Marek doesn't introduce support for multiple vertex streams. Marek's also contributed matching Piglit regression tests for these new extensions.

Marek's ten patches for this support can be found on the Mesa-dev list and add in over 500 lines of new code.

About The Author
Michael Larabel is the principal author of Phoronix.com and founded the web-site in 2004 with a focus on enriching the Linux hardware experience and being the largest web-site devoted to Linux hardware reviews, particularly for products relevant to Linux gamers and enthusiasts but also commonly reviewing servers/workstations and embedded Linux devices. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics hardware drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated testing software. He can be followed via and or contacted via .
Latest Linux Hardware Reviews
  1. A Walkthrough Of The New 32 System Open-Source Linux Benchmarking Test Farm
  2. Habey MITX-6771: Mini-ITX Board With Quad-Core J1900 Bay Trail
  3. OCZ Vector 150 SSD On Linux
  4. Noctua i4 CPU Cooler: Great For Cooling High-End LGA-2011v3 CPUs
Latest Linux Articles
  1. AMD Kaveri: Open-Source Radeon Gallium3D vs. Catalyst 14.12 Omega Driver
  2. 12-Way AMD Catalyst 14.12 vs. NVIDIA 346 Series Linux GPU Comparison
  3. AMD Catalyst 14.12 Omega Driver Brings Mixed Results For Linux Users
  4. 6-Way Winter 2014 Linux Distribution Comparison
Latest Linux News
  1. X.Org Server 1.16.3 Released To Fix Security Issues
  2. Linux 3.19 Merge Window Closes Ahead Of Schedule
  3. MIPS R6 Architecture Now Supported By GCC
  4. LowRISC To Feature Tagged Memory & Minion Cores
  5. Intel Skylake Audio Support For Linux 3.19
  6. After 10+ Years, NetworkManager Reaches v1.0
  7. VDPAU Updated To v0.9
  8. An Open Hardware Random Number Generator Proposed
  9. LLVM 3.6 Will Be Branched Next Month
  10. Opera Browser Puts Out Linux Updates For The Holidays
Latest Forum Discussions
  1. Need some hand holding with upgrading xserver
  2. The New SuperTuxKart Looks Better, But Can Cause GPU/Driver Problems
  3. XLennart: A Game For Systemd Haters With Nothing Better To Do
  4. Updated and Optimized Ubuntu Free Graphics Drivers
  5. Debian init discussion in Phoenix Wright format
  6. FPS capped on Linux (AMD fglrx drivers)
  7. Are there an app using HSA ?
  8. Bench specific mount point