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 ().