Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 363747 - [x11 overlay] media-libs/mesa-9999: floating point textures should probably be controlled by "bindist" USE flag
Summary: [x11 overlay] media-libs/mesa-9999: floating point textures should probably b...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-15 18:29 UTC by Nikos Chantziaras
Modified: 2011-04-16 11:22 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nikos Chantziaras 2011-04-15 18:29:21 UTC
The newly added floating point texture support in Mesa is currently being controlled by the "texture-float" USE flag. This is rather weird, since other core functionality of Mesa does not have USE flags. FP texture support should probably be controlled by the "bindist" flag instead.

FP textures are part of OpenGL proper and therefore have no special status over other GL API functionality, so we actually always want FP textures. However, upstream made it configurable for patent reasons (SGI holds the patents.)

That's why I think the correct approach is to make FP textures depend on the "bindist" flag, both in mesa-9999 as well as the upcoming mesa-7.11, along with an ebuild info (or warn?) output telling the user that distributing mesa builds that were built with "-bindist" can be legally problematic.

Reproducible: Always
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2011-04-15 20:49:31 UTC
Until a decision has been reached, I have set RESTRICT="texture-float? ( bindist )" to the ebuild.

I am not fully sure if we want to enable texture-float by default, getting an opinion from -dev or the trustees might be good.
Comment 2 Chí-Thanh Christopher Nguyễn gentoo-dev 2011-04-16 11:22:21 UTC
After discussion on IRC, it was changed to USE=bindist and users are instructed to read patents.txt.