Texture UVs for surface to follow data dimension


Change texture UVs to be generated according to data dimension. Also
utilise this change on texturesurface example.

Change-Id: Ideacfba409dc2e7cf579fb38d897e08c9f9a1b71
Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
commitaab6b4f77d408c523bd9335ffa48bcc552c00c62
parent0e5b7fba379fe4e751bb2c609bb03d0c9bb01eaa
authorMika Salmela <mika.salmela@digia.com>
committerMika Salmela <mika.salmela@digia.com>
commit timeTue, 7 Oct 2014 12:09:29 +0300