Changeset 846 for trunk/src/gui/image/qpixmap_x11_p.h
- Timestamp:
- May 5, 2011, 5:36:53 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.7.2 (added) merged: 845 /branches/vendor/nokia/qt/current merged: 844 /branches/vendor/nokia/qt/4.6.3 removed
- Property svn:mergeinfo changed
-
trunk/src/gui/image/qpixmap_x11_p.h
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) … … 63 63 class QX11PaintEngine; 64 64 65 66 65 67 class Q_GUI_EXPORT QX11PixmapData : public QPixmapData 66 68 { … … 88 90 Qt::TransformationMode mode) const; 89 91 QImage toImage() const; 92 90 93 QPaintEngine* paintEngine() const; 91 94 92 95 Qt::HANDLE handle() const { return hd; } 93 96 Qt::HANDLE x11ConvertToDefaultDepth(); 97 98 99 100 101 102 103 94 104 95 105 protected: … … 104 114 friend class QGLContextPrivate; // Needs to access xinfo, gl_surface & flags 105 115 friend class QEglContext; // Needs gl_surface 116 106 117 friend class QX11GLPixmapData; // Needs gl_surface 118 107 119 friend bool qt_createEGLSurfaceForPixmap(QPixmapData*, bool); // Needs gl_surface 108 120 109 121 void release(); 110 122 123 124 111 125 QBitmap mask_to_bitmap(int screen) const; 112 126 static Qt::HANDLE bitmap_to_mask(const QBitmap &, int screen); 113 127 void bitmapFromImage(const QImage &image); 128 129 130 114 131 115 132 Qt::HANDLE hd; … … 129 146 Qt::HANDLE mask_picture; 130 147 Qt::HANDLE hd2; // sorted in the default display depth 131 Qt::HANDLE gl_surface;132 #ifndef QT_NO_XRENDER133 void convertToARGB32(bool preserveContents = true);134 #endif135 148 QPixmap::ShareMode share_mode; 136 149
Note:
See TracChangeset
for help on using the changeset viewer.