eglfs: delete screen on exit
authorGirish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
Mon, 2 Apr 2012 21:34:36 +0000 (14:34 -0700)
committerQt by Nokia <qt-info@nokia.com>
Tue, 3 Apr 2012 08:45:02 +0000 (10:45 +0200)
commitf913859f88c5f032833f6eeb1c9c3066f4405a9a
tree0f965a886d806d9a9b4f48945811be931bffc858
parentf578e5236359a88f3a89f529b54efac1df86ea76
eglfs: delete screen on exit

Delete the screen when the integration gets deleted. The screen destructor
destroys the window surface and terminates the egl connection. Note that the
egl context is not destroyed since it is managed by QOpenGLContext.

Change-Id: Ifb91c20edb6d5db684c37fb84d5ff40436f40925
Reviewed-by: Donald Carr <donald.carr@nokia.com>
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
src/plugins/platforms/eglfs/qeglfsintegration.cpp
src/plugins/platforms/eglfs/qeglfsintegration.h
src/plugins/platforms/eglfs/qeglfsscreen.cpp
src/plugins/platforms/eglfs/qeglfsscreen.h