summaryrefslogtreecommitdiffstats
path: root/src/gui/image/qpixmap_x11_p.h
diff options
context:
space:
mode:
authorTom Cooksey <thomas.cooksey@nokia.com>2010-03-01 16:53:17 +0100
committerTom Cooksey <thomas.cooksey@nokia.com>2010-03-02 09:24:26 +0100
commit9c1ff07b427765beb71755e964b017d8258b834e (patch)
tree6d29345397572b5f72d849d833d9f91e21af92a3 /src/gui/image/qpixmap_x11_p.h
parentb2cbb880273ae6516d68be5b5f3f9b614c31ca79 (diff)
Make bindTextureFromNativePixmap use new QEgl APIs
The old qt_chooseEGLConfigForPixmap & qt_createEGLSurfaceForPixmap code will remain until QX11GLPixmapData can be re-written properly. Reviewed-By: TrustMe
Diffstat (limited to 'src/gui/image/qpixmap_x11_p.h')
-rw-r--r--src/gui/image/qpixmap_x11_p.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/gui/image/qpixmap_x11_p.h b/src/gui/image/qpixmap_x11_p.h
index 7bc586d4b0..521a612c99 100644
--- a/src/gui/image/qpixmap_x11_p.h
+++ b/src/gui/image/qpixmap_x11_p.h
@@ -94,6 +94,11 @@ public:
static Qt::HANDLE createBitmapFromImage(const QImage &image);
+ Qt::HANDLE gl_surface;
+#ifndef QT_NO_XRENDER
+ void convertToARGB32(bool preserveContents = true);
+#endif
+
protected:
int metric(QPaintDevice::PaintDeviceMetric metric) const;
@@ -131,10 +136,6 @@ private:
Qt::HANDLE picture;
Qt::HANDLE mask_picture;
Qt::HANDLE hd2; // sorted in the default display depth
- Qt::HANDLE gl_surface;
-#ifndef QT_NO_XRENDER
- void convertToARGB32(bool preserveContents = true);
-#endif
QPixmap::ShareMode share_mode;
QX11PaintEngine *pengine;