Will Floating Point Textures Be Merged Into Mesa?

Posted by Michael Larabel on March 04, 2011

Lucas Stach has brought a proposal to the Mesa mailing list of merging Mesa's floating point textures and render targets code branch into the mainline Mesa repository. Floating point textures have been available in OpenGL for years, but has yet to enter mainline Mesa as it's a patented feature.

The floating point textures and render targets work has lived in a separate Mesa repository due to the IP being protected by external patents. This work has been done by Marek Olšák and occasionally the separate branch is re-based against Mesa master but has never been merged.

This is similar to the S3TC texture compression situation in that its developed externally as it cannot be merged into Mesa due to patents. However, the S3TC work lives as an external library (libtxc_dxtn) where as the floating point textures work is an entire branch of Mesa to be rebuilt.

What Lucas proposes is to merge the code but to have it only built if during the configure process an argument like --enable-patented. However, this option would be disabled by default and is not likely to be flipped on by any of the major distributions, due to legal reasons.

By merging this and other patented features into mainline Mesa but by blocking them with a build-time argument, it places the legal burden on the user or party compiling the code. But by merging this code into mainline Mesa it makes the code easier to maintain as it's no longer living in a third-party repository where the work needs to be occasionally re-based, is easier for interested users to obtain and enable when building Mesa, and is always up-to-date with the latest core Mesa changes, driver improvements, and other features.

The only response so far to the request to merge floating point textures has been from Intel's Eric Anholt. Eric is in support of this merge, but simply says, "I would also like to see it merged to master."

Discuss this article in our forums, IRC channel, or email the author. You can also follow our content via RSS and on social networks like Facebook, Identi.ca, and Twitter (@Phoronix and @MichaelLarabel). Subscribe to Phoronix Premium to view our content without advertisements, view entire articles on a single page, and experience other benefits.
Latest Hardware Reviews
  1. Intel Haswell HD Graphics 4600 vs. AMD Radeon Graphics On Linux
  2. Intel Haswell HD Graphics 4600 Performance On Ubuntu Linux
  3. Intel Core i7 4770K "Haswell" Benchmarks On Ubuntu Linux
  4. The First Experience Of Intel Haswell On Linux
Latest Software Articles
  1. Optimized Binaries Provide Great Benefits For Intel Haswell
  2. 11-Way Linux, BSD Platform Comparison
  3. SNA Acceleration Works Great For Intel Core i7 Haswell
  4. The Linux Evolution For Intel Haswell's Performance
Latest Linux News
  1. NVIDIA Driver Soon Likely To Support EGL, Mir
  2. OpenMandriva Goes Into Alpha Form, Russian-Based
  3. NVIDIA Brings Their Linux Driver To ARM
  4. D Language Still Showing Promise, Advancements
  5. Planetary Annihilation Released For Linux Gamers
  6. Gentoo Starts Work On KDE-Wayland Support
  7. NVIDIA To License Its Kepler GPU Technology
  8. KDE's KWin Made Lots Of Progress In 4.11
  9. Ubuntu Announces Carrier Advisory Group
  10. Qt 5.1 Release Candidate 1 Has Arrived
  11. In-Fighting Continues Over Mir On Non-Unity Ubuntu
Latest Forum Talk
  1. NVIDIA Driver Soon Likely To Support EGL, Mir
  2. NVIDIA Brings Their Linux Driver To ARM
  3. OpenMandriva Goes Into Alpha Form, Russian-Based
  4. Ubuntu Announces Carrier Advisory Group
  5. Gentoo Starts Work On KDE-Wayland Support
  6. D Language Still Showing Promise, Advancements
  1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Motherboards
  5. Peripherals
  6. Processors
  7. Software
  8. Operating Systems
  9. All Articles
  1. Linux Benchmarking
  2. OpenBenchmarking.org
  3. Phoronix Test Suite