OpenCoverage

qsgsoftwarepixmaptexture_p.h

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/adaptations/software/qsgsoftwarepixmaptexture_p.h
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4class QSGSoftwarePixmapTexture : public QSGTexture-
5{-
6 public:-
7#pragma GCC diagnostic push-
8 -
9#pragma GCC diagnostic ignored "-Wsuggest-override"-
10 static const QMetaObject staticMetaObject; virtual const QMetaObject *metaObject() const; virtual void *qt_metacast(const char *); virtual int qt_metacall(QMetaObject::Call, int, void **); static inline QString tr(const char *s, const char *c = nullptr, int n = -1) { return staticMetaObject.tr(s, c, n); } __attribute__ ((__deprecated__)) static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) { return staticMetaObject.tr(s, c, n); } private:-
11#pragma GCC diagnostic ignored "-Wattributes"-
12 __attribute__((visibility("hidden"))) static void qt_static_metacall(QObject *, QMetaObject::Call, int, void **);-
13#pragma GCC diagnostic pop-
14 struct QPrivateSignal {};-
15public:-
16 QSGSoftwarePixmapTexture(const QImage &image, uint flags);-
17 QSGSoftwarePixmapTexture(const QPixmap &pixmap);-
18-
19 int textureId() const override;-
20 QSize textureSize() const override;-
21 bool hasAlphaChannel() const override;-
22 bool hasMipmaps() const override;-
23 void bind() override;-
24-
25 const QPixmap &pixmap() const { return
never executed: return m_pixmap;
m_pixmap;
never executed: return m_pixmap;
}
0
26-
27private:-
28 QPixmap m_pixmap;-
29};-
30-
31-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0