eglglessink: Fix for outbound DAR reported by EGL
authorReynaldo H. Verdejo Pinochet <reynaldo@collabora.com>
Mon, 15 Oct 2012 16:44:29 +0000 (13:44 -0300)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 18 Oct 2012 12:35:18 +0000 (14:35 +0200)
commitd2dcecfc8ad6854fc619b2b1f5c9135789e87287
tree806344b707614942c7883c7348eaa27880fc4a79
parentdde62cee8e854407d753c95ef65b9f8768ee17c6
eglglessink: Fix for outbound DAR reported by EGL

Some EGL implementations don't honor the spec
requirement of returning DAR values as w/h *
EGL_DISPLAY_SCALING.

This changeset:

- Fixes rendering on the Samsung Galaxy III
- Fixes wrong check on required 1.2 EGL version
- Reorders the code a bit.
ext/eglgles/gsteglglessink.c