Ignore:
Timestamp:
May 5, 2011, 5:36:53 AM (14 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.7.2 sources from branches/vendor/nokia/qt.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/opengl/qpixmapdata_x11gl_p.h

    r651 r846  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation (qt-info@nokia.com)
     
    6060#include <qgl.h>
    6161
     62#ifndef QT_NO_EGL
     63#include <QtGui/private/qeglcontext_p.h>
     64#endif
     65
    6266QT_BEGIN_NAMESPACE
     67
     68class QX11GLSharedContexts;
    6369
    6470class QX11GLPixmapData : public QX11PixmapData, public QGLPaintDevice
     
    6874    virtual ~QX11GLPixmapData();
    6975
     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
    7081    // Re-implemented from QGLPaintDevice
    7182    QPaintEngine* paintEngine() const; // Also re-implements QX11PixmapData::paintEngine
    7283    void beginPaint();
    73     void endPaint();
    7484    QGLContext* context() const;
    7585    QSize size() const;
     
    7787    static bool hasX11GLPixmaps();
    7888    static QGLFormat glFormat();
     89    static QX11GLSharedContexts* sharedContexts();
     90
    7991private:
    8092    mutable QGLContext* ctx;
Note: See TracChangeset for help on using the changeset viewer.