eglglessink: Move DAR query & store to surface init
authorReynaldo H. Verdejo Pinochet <reynaldo@collabora.com>
Tue, 16 Oct 2012 20:50:03 +0000 (17:50 -0300)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 18 Oct 2012 12:35:19 +0000 (14:35 +0200)
commit32861ab0a77e8c7ab1c9d195c5fe9ababaa1eec4
treeaeb0d4ce377f25b7800080281751aa7dc33dd636
parent406630a2942addf34ced679e1ecf4cd622f83253
eglglessink: Move DAR query & store to surface init

The DAR (display's pixel aspect ratio) should remain a
constant at runtime so there's no point on repeatedly
query and store this value. Doing it at surface setup
should be enough. As an added bonus this change should
make rendering a bit faster.
ext/eglgles/gsteglglessink.c