Changeset 846 for trunk/src/opengl/qpixmapdata_x11gl_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/opengl/qpixmapdata_x11gl_p.h
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation (qt-info@nokia.com) … … 60 60 #include <qgl.h> 61 61 62 #ifndef QT_NO_EGL 63 #include <QtGui/private/qeglcontext_p.h> 64 #endif 65 62 66 QT_BEGIN_NAMESPACE 67 68 class QX11GLSharedContexts; 63 69 64 70 class QX11GLPixmapData : public QX11PixmapData, public QGLPaintDevice … … 68 74 virtual ~QX11GLPixmapData(); 69 75 76 // Re-implemented from QX11PixmapData: 77 void fill(const QColor &color); 78 void copy(const QPixmapData *data, const QRect &rect); 79 bool scroll(int dx, int dy, const QRect &rect); 80 70 81 // Re-implemented from QGLPaintDevice 71 82 QPaintEngine* paintEngine() const; // Also re-implements QX11PixmapData::paintEngine 72 83 void beginPaint(); 73 void endPaint();74 84 QGLContext* context() const; 75 85 QSize size() const; … … 77 87 static bool hasX11GLPixmaps(); 78 88 static QGLFormat glFormat(); 89 static QX11GLSharedContexts* sharedContexts(); 90 79 91 private: 80 92 mutable QGLContext* ctx;
Note:
See TracChangeset
for help on using the changeset viewer.