eglfs: implement hardware cursor for the raspberry-pi
authorGirish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
Sat, 26 May 2012 18:52:06 +0000 (11:52 -0700)
committerQt by Nokia <qt-info@nokia.com>
Fri, 1 Jun 2012 13:22:49 +0000 (15:22 +0200)
commit5933205cfcd73481cb0645fa6183103063fe3e0d
tree708107118253121ed325557abc93c893f0f144ca
parentbae1613c4c3d8c38b90ed2ba5c1b149e1bc87987
eglfs: implement hardware cursor for the raspberry-pi

The cursor is rendered on a dispmanx layer and moved
around. This approach saves us from having to update the
underlying window each time the cursor moves.

Dispmanx layers cannot be moved to negative coords. As
a result, currently it is not possible to move to a
location less than the hostpot. A future commit will
fix this problem.

Change-Id: Ida5ee961d03a6929860c515e503482756a4913ed
Reviewed-by: Johannes Zellner <johannes.zellner@nokia.com>
Reviewed-by: Andy Nichols <andy.nichols@nokia.com>
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
mkspecs/devices/linux-rasp-pi-g++/qeglfshooks_pi.cpp
src/plugins/platforms/eglfs/eglfs.pro
src/plugins/platforms/eglfs/qeglfsbackingstore.cpp
src/plugins/platforms/eglfs/qeglfscursor.cpp
src/plugins/platforms/eglfs/qeglfscursor.h
src/plugins/platforms/eglfs/qeglfshooks.h
src/plugins/platforms/eglfs/qeglfshooks_stub.cpp
src/plugins/platforms/eglfs/qeglfsscreen.cpp