eglfs: allow cursor to be created without a context
authorGirish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
Fri, 25 May 2012 23:30:00 +0000 (16:30 -0700)
committerQt by Nokia <qt-info@nokia.com>
Thu, 31 May 2012 07:25:56 +0000 (09:25 +0200)
commit8710c900d65ddc484fd404ee17d0ed8188dec5b5
treed722be361d5625115112b4d546b0f8760c4bdd13
parent47462ffd68023efd5497d50e02c56ed571b838c5
eglfs: allow cursor to be created without a context

Textures are now created and uploaded on demand on first render()
call where we are guaranteed to have a current GL context.

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