Asynchronous page rendering (compilig of pages)

This commit is contained in:
Jakub Melka
2019-12-14 19:09:34 +01:00
parent 0277a9f059
commit 1f09c83700
16 changed files with 473 additions and 61 deletions

View File

@ -140,6 +140,9 @@ public:
/// Returns true, if mesh is empty
bool isEmpty() const { return m_vertices.empty(); }
/// Returns estimate of number of bytes, which this mesh occupies in memory
qint64 getMemoryConsumptionEstimate() const;
private:
std::vector<QPointF> m_vertices;
std::vector<Triangle> m_triangles;