eglglessink: GLSL: Optimize frag_AYUV_prog
authorReynaldo H. Verdejo Pinochet <reynaldo@collabora.com>
Wed, 10 Oct 2012 05:04:18 +0000 (02:04 -0300)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 18 Oct 2012 12:35:18 +0000 (14:35 +0200)
commita95834a4911c3507b864c0478771d2d7106c7031
tree21d468536e2528ed9ae09ec3d764e885533bc631
parenta7a2dcc433aa11f2a7101c82f4f2bf01d0b9c7df
eglglessink: GLSL: Optimize frag_AYUV_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