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 Articles & Reviews
  1. Preliminary Tests Of Intel Sandy Bridge & Ivy Bridge vs. Broadwell
  2. AMD FX-8320E Performance On Linux
  3. Linux Compiler Benchmarks Of LLVM Clang 3.5 vs. LLVM Clang 3.6-rc1
  4. Intel Broadwell HD Graphics 5500: Windows 8.1 vs. Linux
  5. Linux Benchmarks Of NVIDIA's Early 2015 GeForce Line-Up
  6. NVIDIA GeForce GTX 960: A Great $200 GPU For Linux Gamers
Latest Linux News
  1. AppStream 0.8 Works On Improving Open-Source Software Metadata
  2. Linux "GHOST" Vulnerability Hits Glibc Systems
  3. Linux Game Publishing Remains Offline, Three Years After The CEO Shakeup
  4. PlayStation 4 System Compiler Support Landing In LLVM
  5. Now-Closed KDE Vulnerabilities Remind Us X11 Screen Locks / Screensavers Are Insecure
  6. Vivaldi: A New Chromium-Powered, Multi-Platform Browser
  7. KDE Plasma 5.2 Officially Released
  8. Intel Broadwell On Linux Has Working OpenCL 1.2, VP8 Video Acceleration
  9. GParted 0.21 Brings ReFS Detection, EXT4 For RHEL5, Reiser4 For Linux 3.x
  10. Wine Staging Update Has Better CUDA Support, Driver Testing Framework
Most Viewed News This Week
  1. Windows 10 To Be A Free Upgrade: What Linux Users Need To Know
  2. LibreOffice 4.4 Is Coming Soon With New Features
  3. Google Admin Encourages Trying Btrfs, Not ZFS On Linux
  4. TraceFS: The Newest Linux File-System
  5. My Initial Intel Broadwell Linux Experience With The ThinkPad X1 Carbon
  6. Interstellar Marines On Linux With Catalyst: Bull S*#@
  7. Keith Packard Leaves Intel's Linux Graphics Work
  8. Faster VP9 Decoding Is On The Horizon