summaryrefslogtreecommitdiffstats
path: root/src/opengl/qglpixelbuffer.h
diff options
context:
space:
mode:
authorTom Cooksey <thomas.cooksey@nokia.com>2009-08-31 11:28:14 (GMT)
committerTom Cooksey <thomas.cooksey@nokia.com>2009-09-08 16:36:14 (GMT)
commitb7963df603a315136b32297b861f089c0cd49acd (patch)
tree797d95a3be461b1b76585cf67a09a02ae092f184 /src/opengl/qglpixelbuffer.h
parent7c59abc1883a24e54ac3bb2193acc2cac5ad416a (diff)
downloadQt-b7963df603a315136b32297b861f089c0cd49acd.zip
Qt-b7963df603a315136b32297b861f089c0cd49acd.tar.gz
Qt-b7963df603a315136b32297b861f089c0cd49acd.tar.bz2
Make QGLPixelBuffer work again using new QGLPaintDevice API
Add a new QGLPBufferGLPaintDevice implementation which allows the GL engines to target QGLPixelBuffers again.
Diffstat (limited to 'src/opengl/qglpixelbuffer.h')
-rw-r--r--src/opengl/qglpixelbuffer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/opengl/qglpixelbuffer.h b/src/opengl/qglpixelbuffer.h
index 5e81ea3..fe313a6 100644
--- a/src/opengl/qglpixelbuffer.h
+++ b/src/opengl/qglpixelbuffer.h
@@ -110,6 +110,8 @@ private:
QScopedPointer<QGLPixelBufferPrivate> d_ptr;
friend class QGLDrawable;
friend class QGLWindowSurface;
+ friend class QGLPaintDevice;
+ friend class QGLPBufferGLPaintDevice;
};
QT_END_NAMESPACE