src/opengl/qgraphicssystem_gl_p.h
branchGCC_SURGE
changeset 31 5daf16870df6
parent 30 5dc02b23752f
equal deleted inserted replaced
27:93b982ccede2 31:5daf16870df6
    60 QT_BEGIN_NAMESPACE
    60 QT_BEGIN_NAMESPACE
    61 
    61 
    62 class Q_OPENGL_EXPORT QGLGraphicsSystem : public QGraphicsSystem
    62 class Q_OPENGL_EXPORT QGLGraphicsSystem : public QGraphicsSystem
    63 {
    63 {
    64 public:
    64 public:
    65     QGLGraphicsSystem();
    65     QGLGraphicsSystem(bool useX11GL);
    66 
    66 
    67     QPixmapData *createPixmapData(QPixmapData::PixelType type) const;
    67     QPixmapData *createPixmapData(QPixmapData::PixelType type) const;
    68     QWindowSurface *createWindowSurface(QWidget *widget) const;
    68     QWindowSurface *createWindowSurface(QWidget *widget) const;
       
    69 private:
       
    70     bool m_useX11GL;
    69 };
    71 };
    70 
    72 
    71 QT_END_NAMESPACE
    73 QT_END_NAMESPACE
    72 
    74 
    73 #endif
    75 #endif