summaryrefslogtreecommitdiffstats
path: root/src/gui/image/qpixmapdata_p.h
diff options
context:
space:
mode:
authorTom Cooksey <thomas.cooksey@nokia.com>2009-10-01 06:54:02 (GMT)
committerTom Cooksey <thomas.cooksey@nokia.com>2009-10-01 08:19:24 (GMT)
commit9c0b1db38f7ad8b6b0d51410033854be72146e74 (patch)
tree0764e740dfa48c0df4093474e5b4f49f52183686 /src/gui/image/qpixmapdata_p.h
parent790583dc16a89ed77954c096aae52bf9f91aec09 (diff)
downloadQt-9c0b1db38f7ad8b6b0d51410033854be72146e74.zip
Qt-9c0b1db38f7ad8b6b0d51410033854be72146e74.tar.gz
Qt-9c0b1db38f7ad8b6b0d51410033854be72146e74.tar.bz2
Split EGL config selection & surface creation into seperate functions
This is needed to implement render-to-pixmap on x11/EGL, which will also need to create an EGL surface for pixmaps.
Diffstat (limited to 'src/gui/image/qpixmapdata_p.h')
-rw-r--r--src/gui/image/qpixmapdata_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/image/qpixmapdata_p.h b/src/gui/image/qpixmapdata_p.h
index 3e85236..c26fba3 100644
--- a/src/gui/image/qpixmapdata_p.h
+++ b/src/gui/image/qpixmapdata_p.h
@@ -134,6 +134,7 @@ private:
friend class QS60PixmapData;
friend class QGLTextureCache; //Needs to check the reference count
friend class QExplicitlySharedDataPointer<QPixmapData>;
+ friend bool qt_createEGLSurfaceForPixmap(QPixmapData*, bool); // Needs to set is_cached
QAtomicInt ref;
int detach_no;