Fix transformation in eglfs backingstore
authorLaszlo Agocs <laszlo.p.agocs@nokia.com>
Wed, 15 Aug 2012 15:17:38 +0000 (18:17 +0300)
committerQt by Nokia <qt-info@nokia.com>
Wed, 22 Aug 2012 20:08:54 +0000 (22:08 +0200)
commit12491f35bbea7008b15fb0ba0ee7ea5bf6eb6b6c
treefff36bd433084a34b9e7610f357108172559ab27
parent38bd71e04da87fc1c92dd94e2eddb62b8944ceeb
Fix transformation in eglfs backingstore

While not visible with forced-fullscreen windows, the formula
used to set up positioning on the Y axis is wrong. (with the GL
coordinate system Y goes 1..-1 when moving top-to-bottom)

Taken from kms' version of the backingstore which had the formulas
corrected.

Change-Id: I460a4eec925e47b08453af4e093d719567af22ea
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
src/plugins/platforms/eglfs/qeglfsbackingstore.cpp