Geglglessink: LSL: Optimize frag_YUY2_YVYU_UYVY_prog
authorReynaldo H. Verdejo Pinochet <reynaldo@collabora.com>
Wed, 10 Oct 2012 14:05:04 +0000 (11:05 -0300)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 18 Oct 2012 12:35:18 +0000 (14:35 +0200)
commit846e77871bf45259687812a77c6c05f61c6007c5
tree504e2d300e151ef4c7f2353586a741c594fe03f7
parenteb8f7d63d5b3a89d7bd5684b19de0db78501b185
Geglglessink: LSL: Optimize frag_YUY2_YVYU_UYVY_prog

- Avoid repeatedly performing the texture lookup
- Use consts for the transform's offset and cofficients values
- Use the dot product instead of the explicit mult and add
ext/eglgles/gsteglglessink.c