Files
poky/meta/recipes-graphics
Trevor Woerner 545f976943 mesa.inc: enable texture float for gallium
Following the lead from Fedora (as suggested by Rob Clark) always enable
--enable-texture-float for all gallium drivers, but then modify the code to
not enable it, at runtime, where the implementation isn't backed by hardware.

The patch comes from unpacking fedora-25's mesa-17.0.5-3.fc25.src.rpm from
https://dl.fedoraproject.org/pub/fedora/linux/updates/25/SRPMS/m/

Somewhere along the path from OpenGL ES 2.0 to OpenGL ES 3.0 are some
algorithms that are encumbered by patents. These algorithms are enabled
with mesa's --enable-texture-float configure flag. However, if hardware
acceleration is being used and the hardware supports --enable-texture-float,
it means the hardware vendor has paid for the patents.

Note that with this solution, non-hardware gallium drivers (e.g. swrast) can't
--enable-texture-float, which might cause issues with some piglit tests.

This solution was discussed and agreed-to on the mailing list:
http://lists.openembedded.org/pipermail/openembedded-core/2017-May/137233.html

(From OE-Core rev: 6fd63e24a1c6ac901edb393c9db8e245189a83e2)

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-06-12 15:08:32 +01:00
..
2016-06-15 18:05:23 +01:00
2017-06-09 17:12:14 +01:00
2016-12-20 15:22:16 +00:00
2017-05-30 10:15:19 +01:00
2017-05-29 15:15:20 +01:00
2017-05-23 17:45:36 +01:00
2017-05-18 14:01:48 +01:00
2016-07-10 14:12:17 +01:00
2017-06-03 23:46:06 +01:00
2017-03-01 23:27:08 +00:00
2017-05-30 10:15:20 +01:00
2017-05-23 17:45:36 +01:00
2017-06-03 23:46:07 +01:00