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. Sumo Lounge Emperor
  2. Gallium3D Continues Improving OpenGL For Older Radeon GPUs
  3. 15-Way Open vs. Closed Source NVIDIA/AMD Linux GPU Comparison
  4. Nouveau vs. NVIDIA Linux Comparison Shows Shortcomings
Latest Software Articles
  1. Intel Linux OpenGL Driver Leading Over Apple OS X
  2. The Cost Of Ubuntu Disk Encryption
  3. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  4. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
Latest Linux News
  1. New NVIDIA Linux Driver Supports The GeForce GTX 780
  2. Chrome 28 To Offer More Speed Improvements
  3. Digia Announces "Boot To Qt" Project
  4. X.Org Libraries Hit By Round Of Security Issues
  5. Wayland's Weston Gets Output Scaling Support
  6. Raspberry Pi Gets New Wayland Weston Renderer
  7. Debian GNU/Hurd 2013 Release Brings New Packages
  8. Intel Ultrabook Performance Is Faster With Mesa 9.2
  9. Hot Relocation HDD To SSD Support For Btrfs
  10. Phoronix Test Suite 4.6.0 "Utsira" Released
  11. New Intel X.Org Driver Supports All Of Haswell
Latest Forum Talk
  1. Radeon 7770 Can't reclock crash kernel
  2. Xserver 1.14 support will arrive with Catalyst...
  3. Radeon HD 7850 Catalyst wine performance
  4. X.Org Libraries Hit By Round Of Security Issues
  5. Digia Announces "Boot To Qt" Project
  6. Fedora 18 Comes To ARMv6, Raspberry Pi
  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