summaryrefslogtreecommitdiffstats
path: root/src/graphicsitems/nodes/qxpainternode.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/graphicsitems/nodes/qxpainternode.h')
-rw-r--r--src/graphicsitems/nodes/qxpainternode.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/graphicsitems/nodes/qxpainternode.h b/src/graphicsitems/nodes/qxpainternode.h
index 32d4f97..7d6212c 100644
--- a/src/graphicsitems/nodes/qxpainternode.h
+++ b/src/graphicsitems/nodes/qxpainternode.h
@@ -67,12 +67,16 @@ public:
void setLinearFiltering(bool linearFiltering);
bool linearFiltering() const { return m_linear_filtering; }
+ void setSmoothPainting(bool s);
+ bool smoothPainting() const { return m_smoothPainting; }
+
void updateTexture();
private:
QxPaintItem *m_item;
QGLFramebufferObject *m_fbo;
+ QGLFramebufferObject *m_multisampledFbo;
TextureMaterial m_material;
TextureMaterialWithOpacity m_materialO;
QSGTextureRef m_texture;
@@ -80,6 +84,9 @@ private:
QSize m_size;
qreal m_opacity;
bool m_linear_filtering;
+ bool m_smoothPainting;
+ bool m_extensionsChecked;
+ bool m_multisamplingSupported;
};
#endif // QXPAINTERNODE_H