mesa3d: Add temporary fixes for etnaviv rendering
authorFabio Estevam <festevam@gmail.com>
Sun, 19 Mar 2017 19:26:59 +0000 (16:26 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 19 Mar 2017 20:22:35 +0000 (21:22 +0100)
commit8273895a5878372c0779dc40c2713ae966ebf2d6
tree5e680ce7881d2d9afd43582552ad0b44090b1698
parente9a2746710eb269cfb29075f3afda58e45627d4a
mesa3d: Add temporary fixes for etnaviv rendering

Currently when running Qt5_CinematicExperience demo from Qt5.8 the
covers of the movies appear with a black box instead of showing the
actual art cover.

Also, the fonts are incorrectly displayed in many cases.

Fix these issues by applying temporary patches to etnaviv.

According to Christian Gmeiner and Wladimir J. van der Laan
the correct solution to this problem is to use shader variants [1].

Use these temporary patches until the correct solution appears in
mesa mainline, so that etaniv users can run Qt successfully for
the time being.

[1] https://lists.freedesktop.org/archives/mesa-dev/2017-March/147948.html

Tested on imx6q-sabresd board.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/mesa3d/0006-Revert-etnaviv-Cannot-render-to-rb-swapped-formats.patch [new file with mode: 0644]
package/mesa3d/0007-Revert-Subject-PATCH-etnaviv-add-RGBX-RGBA-pixel-for.patch [new file with mode: 0644]