diff options
| author | Tom Cooksey <thomas.cooksey@nokia.com> | 2010-03-02 15:41:16 (GMT) |
|---|---|---|
| committer | Tom Cooksey <thomas.cooksey@nokia.com> | 2010-03-02 15:48:15 (GMT) |
| commit | e614e3548bbe505c75e8b3a54f44f07522a6ecf5 (patch) | |
| tree | 9b9a6515416a94434e346ec548e002fb6e11e96b /doc/src/snippets/code/src_script_qscriptable.cpp | |
| parent | 03daf059647c0a0222e8774b0a083f58c8e64934 (diff) | |
| download | Qt-e614e3548bbe505c75e8b3a54f44f07522a6ecf5.zip Qt-e614e3548bbe505c75e8b3a54f44f07522a6ecf5.tar.gz Qt-e614e3548bbe505c75e8b3a54f44f07522a6ecf5.tar.bz2 | |
Add and use QGLContextPrivate::eglSurfaceForDevice()
The QGLContext only stores the EGLSurface for QWidgets & QGLWidgets,
other device types like QPixmap & QGLPixelBuffer store the surface
themsselves. With this patch it is possible to create a QGLContext
on a QPixmap, make it current and render GL to that QPixmap on X11.
Reviewed-By: TrustMe
Diffstat (limited to 'doc/src/snippets/code/src_script_qscriptable.cpp')
0 files changed, 0 insertions, 0 deletions
