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/gui/image/qpixmap_x11_p.h

    r651 r846  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation ([email protected])
     
    6363class QX11PaintEngine;
    6464
     65
     66
    6567class Q_GUI_EXPORT QX11PixmapData : public QPixmapData
    6668{
     
    8890                        Qt::TransformationMode mode) const;
    8991    QImage toImage() const;
     92
    9093    QPaintEngine* paintEngine() const;
    9194
    9295    Qt::HANDLE handle() const { return hd; }
    9396    Qt::HANDLE x11ConvertToDefaultDepth();
     97
     98
     99
     100
     101
     102
     103
    94104
    95105protected:
     
    104114    friend class QGLContextPrivate; // Needs to access xinfo, gl_surface & flags
    105115    friend class QEglContext; // Needs gl_surface
     116
    106117    friend class QX11GLPixmapData; // Needs gl_surface
     118
    107119    friend bool  qt_createEGLSurfaceForPixmap(QPixmapData*, bool); // Needs gl_surface
    108120
    109121    void release();
    110122
     123
     124
    111125    QBitmap mask_to_bitmap(int screen) const;
    112126    static Qt::HANDLE bitmap_to_mask(const QBitmap &, int screen);
    113127    void bitmapFromImage(const QImage &image);
     128
     129
     130
    114131
    115132    Qt::HANDLE hd;
     
    129146    Qt::HANDLE mask_picture;
    130147    Qt::HANDLE hd2; // sorted in the default display depth
    131     Qt::HANDLE gl_surface;
    132 #ifndef QT_NO_XRENDER
    133     void convertToARGB32(bool preserveContents = true);
    134 #endif
    135148    QPixmap::ShareMode share_mode;
    136149
Note: See TracChangeset for help on using the changeset viewer.