diff options
author | Tom Cooksey <thomas.cooksey@nokia.com> | 2009-08-27 14:08:20 (GMT) |
---|---|---|
committer | Tom Cooksey <thomas.cooksey@nokia.com> | 2009-09-08 16:36:13 (GMT) |
commit | 7c59abc1883a24e54ac3bb2193acc2cac5ad416a (patch) | |
tree | 589ab0cedd22197bace46f8b616998de5127b40c /config.tests | |
parent | 5a3d0e73121e191fe2f1337ac8f6761c35868b66 (diff) | |
download | Qt-7c59abc1883a24e54ac3bb2193acc2cac5ad416a.zip Qt-7c59abc1883a24e54ac3bb2193acc2cac5ad416a.tar.gz Qt-7c59abc1883a24e54ac3bb2193acc2cac5ad416a.tar.bz2 |
Replace QGLDrawable with a new QGLPaintDevice
This patch adds a new abstract base class which inherits from
QPaintDevice called QGLPaintDevice. This base class will contain
everything the GL paint engines need to know about the surface they are
drawing onto. As such, new surfaces can be targeted by the GL paint
engines without having to modify QtOpenGL. This is very useful for
plugins, specifically QGraphicsSystem plugins.
To unify things a little, the GL paint engines will use the same
QGLPaintDevice API to render into existing target surfaces (QGLWidget,
QGLPixelBuffer & QGLFrameBufferObject). Ideally we'd make QGLPaintDevice
a common ancestor for these surfaces, but obviously that wil break B/C.
This patch only implements QGLWidget using the new interface. Rendering
to other surfaces will be fixed in following patches.
Diffstat (limited to 'config.tests')
0 files changed, 0 insertions, 0 deletions