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 QGLWidget s whether they are top-level windows or children of another QWidget . 更多...
| 头: | #include <QWSGLWindowSurface> |
| Since: | 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 QGLWidget s 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 支持。
构造空的 QWSGLWindowSurface for the given top-level window . The window surface is later initialized from chooseContext() and resources for it is typically allocated in setGeometry().
构造空的 QWSGLWindowSurface .
销毁 QWSGLWindowSurface 对象并释放任何分配资源。
返回 QGLContext of the window surface.
另请参阅 setContext ().
设置 QGLContext for this window surface to context .
另请参阅 context ().