src/opengl/qwindowsurface_gl_p.h
changeset 33 3e2da88830cd
parent 18 2f34d5167611
child 37 758a864f9613
equal deleted inserted replaced
30:5dc02b23752f 33:3e2da88830cd
    64 class QPoint;
    64 class QPoint;
    65 class QRegion;
    65 class QRegion;
    66 class QWidget;
    66 class QWidget;
    67 struct QGLWindowSurfacePrivate;
    67 struct QGLWindowSurfacePrivate;
    68 
    68 
       
    69 Q_OPENGL_EXPORT QGLWidget* qt_gl_share_widget();
       
    70 
    69 class QGLWindowSurfaceGLPaintDevice : public QGLPaintDevice
    71 class QGLWindowSurfaceGLPaintDevice : public QGLPaintDevice
    70 {
    72 {
    71 public:
    73 public:
    72     QPaintEngine* paintEngine() const;
    74     QPaintEngine* paintEngine() const;
    73     void endPaint();
    75     void endPaint();
    75     int metric(PaintDeviceMetric m) const;
    77     int metric(PaintDeviceMetric m) const;
    76     QGLContext* context() const;
    78     QGLContext* context() const;
    77     QGLWindowSurfacePrivate* d;
    79     QGLWindowSurfacePrivate* d;
    78 };
    80 };
    79 
    81 
    80 class QGLWindowSurface : public QObject, public QWindowSurface // , public QPaintDevice
    82 class Q_OPENGL_EXPORT QGLWindowSurface : public QObject, public QWindowSurface // , public QPaintDevice
    81 {
    83 {
    82     Q_OBJECT
    84     Q_OBJECT
    83 public:
    85 public:
    84     QGLWindowSurface(QWidget *window);
    86     QGLWindowSurface(QWidget *window);
    85     ~QGLWindowSurface();
    87     ~QGLWindowSurface();