eglfs: Allow setting screen size through environment variables.
authorRobin Burchell <robin.burchell@collabora.co.uk>
Thu, 5 Jul 2012 12:44:22 +0000 (14:44 +0200)
committerQt by Nokia <qt-info@nokia.com>
Thu, 5 Jul 2012 22:37:39 +0000 (00:37 +0200)
commit56e751a0c9892c1a334a10746e67958209be5b51
tree97b1599ff60598b33609375ff52c668df5c573a8
parent0823fa2c61b9105a9729fbeb3f5c411143e27760
eglfs: Allow setting screen size through environment variables.

This adds:
- QT_QPA_EGLFS_WIDTH
- QT_QPA_EGLFS_HEIGHT

If both are set, fb0 detection is completely bypassed, otherwise, the
environment variables act as an override for the fb0 values.

Change-Id: Iaf38c8b0d40ce0a921bb6c5dbf31af788802d3fa
Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
src/plugins/platforms/eglfs/qeglfshooks_stub.cpp