- 08 Sep, 2020 1 commit
-
-
Sharaf Zaman authored
-
- 24 Aug, 2020 1 commit
-
-
Sharaf Zaman authored
-
- 17 Aug, 2020 1 commit
-
-
Sharaf Zaman authored
It turns out subivision algorithm and KoPathShape don't go well together. KoPathShape is a pretty expensive class memory-wise and is not supposed to be created-freed rapidly. By removing it, the performance gains is between 2-20x!
-
- 24 Jul, 2020 2 commits
-
-
Sharaf Zaman authored
-
Sharaf Zaman authored
This finally works! :-) Maniphest: T13101
-
- 20 Jul, 2020 1 commit
-
-
Sharaf Zaman authored
Implementation is still buggy Maniphest: T13101
-
- 07 Jul, 2020 1 commit
-
-
Sharaf Zaman authored
Primary reason for this is, that rendering meshpatches every single time a translation is done, is very expensive. So, we render it the first time and reuse it. The way we do it is: 1) First we render the patch in scaled-up version of QImage, this helps us with loss of quality which is a consequence of `QPainter&` passed in `KoMeshGradientBackground::paint` as a scaled version. 2) We render the whole patch on QImage, not just the patch inside clipped region. 3) Then we render the QImage on QPainter in user coordinates i.e independent from the shape. NOTE: One thing which has to be taken care of is, when we resize the shape, the patch is resized as well. Which is one of the expected behavior. But there is one more behavior, that is the patches should not be scaled, which can help us with having only selected portion of the patches in view. Maniphest: T13101
-
- 02 Jul, 2020 2 commits
-
-
Sharaf Zaman authored
for patch subdivision
-
Sharaf Zaman authored
Maniphest: T13101
-
- 29 Jun, 2020 5 commits
-
-
Sharaf Zaman authored
Maniphest: T13101
-
Sharaf Zaman authored
and remove `SvgMeshStop.h/cpp` -- just a blank file which wasn't included anywhere
-
Sharaf Zaman authored
-
Sharaf Zaman authored
-
Sharaf Zaman authored
Maniphest: T13101
-
- 19 Jun, 2020 1 commit
-
-
Sharaf Zaman authored
Maniphest: T13101
-
- 15 Jun, 2020 2 commits
-
-
Sharaf Zaman authored
-
Sharaf Zaman authored
Maniphest: T13101
-
- 14 Jun, 2020 1 commit
-
-
Sharaf Zaman authored
Maniphest: T13101
-
- 12 Jun, 2020 1 commit
-
-
Sharaf Zaman authored
Maniphest: T13101
-