| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickshadereffect_p.h |
| Switch to Source code | Preprocessed file |
| Line | Source | Count |
|---|---|---|
| 1 | - | |
| 2 | static_assert(bool(1 == 1), "Required feature " "quick_shadereffect" " for file " __FILE__ " not available."); | - |
| 3 | - | |
| 4 | - | |
| 5 | - | |
| 6 | - | |
| 7 | class QQuickOpenGLShaderEffect; | - |
| 8 | class QQuickGenericShaderEffect; | - |
| 9 | class QQuickShaderEffectPrivate; | - |
| 10 | - | |
| 11 | class __attribute__((visibility("default"))) QQuickShaderEffect : public QQuickItem | - |
| 12 | { | - |
| 13 | public: | - |
| 14 | #pragma GCC diagnostic push | - |
| 15 | - | |
| 16 | #pragma GCC diagnostic ignored "-Wsuggest-override" | - |
| 17 | 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: | - |
| 18 | #pragma GCC diagnostic ignored "-Wattributes" | - |
| 19 | __attribute__((visibility("hidden"))) static void qt_static_metacall(QObject *, QMetaObject::Call, int, void **); | - |
| 20 | #pragma GCC diagnostic pop | - |
| 21 | struct QPrivateSignal {}; | - |
| 22 | - | |
| 23 | - | |
| 24 | - | |
| 25 | - | |
| 26 | - | |
| 27 | - | |
| 28 | - | |
| 29 | - | |
| 30 | - | |
| 31 | public: | - |
| 32 | enum CullMode { | - |
| 33 | NoCulling, | - |
| 34 | BackFaceCulling, | - |
| 35 | FrontFaceCulling | - |
| 36 | }; | - |
| 37 | friend constexpr const QMetaObject *qt_getEnumMetaObject(CullMode) noexcept { return &staticMetaObject; } friend constexpr const char *qt_getEnumName(CullMode) noexcept { return "CullMode"; } | - |
| 38 | - | |
| 39 | enum Status { | - |
| 40 | Compiled, | - |
| 41 | Uncompiled, | - |
| 42 | Error | - |
| 43 | }; | - |
| 44 | friend constexpr const QMetaObject *qt_getEnumMetaObject(Status) noexcept { return &staticMetaObject; } friend constexpr const char *qt_getEnumName(Status) noexcept { return "Status"; } | - |
| 45 | - | |
| 46 | QQuickShaderEffect(QQuickItem *parent = nullptr); | - |
| 47 | - | |
| 48 | QByteArray fragmentShader() const; | - |
| 49 | void setFragmentShader(const QByteArray &code); | - |
| 50 | - | |
| 51 | QByteArray vertexShader() const; | - |
| 52 | void setVertexShader(const QByteArray &code); | - |
| 53 | - | |
| 54 | bool blending() const; | - |
| 55 | void setBlending(bool enable); | - |
| 56 | - | |
| 57 | QVariant mesh() const; | - |
| 58 | void setMesh(const QVariant &mesh); | - |
| 59 | - | |
| 60 | CullMode cullMode() const; | - |
| 61 | void setCullMode(CullMode face); | - |
| 62 | - | |
| 63 | bool supportsAtlasTextures() const; | - |
| 64 | void setSupportsAtlasTextures(bool supports); | - |
| 65 | - | |
| 66 | QString log() const; | - |
| 67 | Status status() const; | - |
| 68 | - | |
| 69 | bool isComponentComplete() const; | - |
| 70 | QString parseLog(); | - |
| 71 | - | |
| 72 | - | |
| 73 | bool isOpenGLShaderEffect() const; | - |
| 74 | - | |
| 75 | - | |
| 76 | public : | - |
| 77 | void fragmentShaderChanged(); | - |
| 78 | void vertexShaderChanged(); | - |
| 79 | void blendingChanged(); | - |
| 80 | void meshChanged(); | - |
| 81 | void cullModeChanged(); | - |
| 82 | void logChanged(); | - |
| 83 | void statusChanged(); | - |
| 84 | void supportsAtlasTexturesChanged(); | - |
| 85 | - | |
| 86 | protected: | - |
| 87 | bool event(QEvent *e) override; | - |
| 88 | void geometryChanged(const QRectF &newGeometry, const QRectF &oldGeometry) override; | - |
| 89 | QSGNode *updatePaintNode(QSGNode *oldNode, UpdatePaintNodeData *updatePaintNodeData) override; | - |
| 90 | void componentComplete() override; | - |
| 91 | void itemChange(ItemChange change, const ItemChangeData &value) override; | - |
| 92 | - | |
| 93 | private: | - |
| 94 | - | |
| 95 | QQuickOpenGLShaderEffect *m_glImpl; | - |
| 96 | - | |
| 97 | QQuickGenericShaderEffect *m_impl; | - |
| 98 | - | |
| 99 | inline QQuickShaderEffectPrivate* d_func() { return never executed: reinterpret_cast<QQuickShaderEffectPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<QQuickShaderEffectPrivate *>(qGetPtrHelper(d_ptr));never executed: } inline const QQuickShaderEffectPrivate* d_func() const { returnreturn reinterpret_cast<QQuickShaderEffectPrivate *>(qGetPtrHelper(d_ptr));never executed: reinterpret_cast<const QQuickShaderEffectPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<const QQuickShaderEffectPrivate *>(qGetPtrHelper(d_ptr));never executed: } friend class QQuickShaderEffectPrivate;return reinterpret_cast<const QQuickShaderEffectPrivate *>(qGetPtrHelper(d_ptr)); | 0 |
| 100 | }; | - |
| 101 | - | |
| 102 | - | |
| Switch to Source code | Preprocessed file |