The QWSGLWindowSurface class provides the drawing area for top-level windows with Qt for Embedded Linux on EGL/OpenGL ES. It also provides the drawing area for QGLWidgets whether they are top-level windows or children of another QWidget. More...
#include <QWSGLWindowSurface>
This class is under development and is subject to change.
This class was introduced in Qt 4.3.
QWSGLWindowSurface ( QWidget * window ) | |
QWSGLWindowSurface () | |
~QWSGLWindowSurface () | |
QGLContext * | context () const |
void | setContext ( QGLContext * context ) |
The QWSGLWindowSurface class provides the drawing area for top-level windows with Qt for Embedded Linux on EGL/OpenGL ES. It also provides the drawing area for QGLWidgets whether they are top-level windows or children of another QWidget.
Note that this class is only available in Qt for Embedded Linux and only available if Qt is configured with OpenGL support.
Constructs an empty QWSGLWindowSurface for the given top-level window. The window surface is later initialized from chooseContext() and resources for it is typically allocated in setGeometry().
Constructs an empty QWSGLWindowSurface.
Destroys the QWSGLWindowSurface object and frees any allocated resources.
Returns the QGLContext of the window surface.
See also setContext().
Sets the QGLContext for this window surface to context.
See also context().
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.