slow selection frame redraw
Hi,
A question asked out of curiosity. Currently when you draw a rubberband selection rectangle over an area where obhects have SVG Filters applied, especially with a Gaussian blur primitive, speed of redrawing the rectangle gets noticeably slower. Why is that?
Alexandre
Possible other candidates for moving to that new "layer" are IMHO: grids, guides (especially angular guides) and other tool helper paths (tweak tool's circle).
Vlada
Alexandre Prokoudine wrote:
Hi,
A question asked out of curiosity. Currently when you draw a rubberband selection rectangle over an area where obhects have SVG Filters applied, especially with a Gaussian blur primitive, speed of redrawing the rectangle gets noticeably slower. Why is that?
Alexandre
On Tue, Jun 2, 2009 at 10:59 AM, Vladimir Savic <vladimir.firefly.savic@...400...> wrote:
Possible other candidates for moving to that new "layer" are IMHO: grids, guides (especially angular guides) and other tool helper paths (tweak tool's circle).
Yes - in short, all CanvasItems.
On Tue, Jun 2, 2009 at 10:13 AM, Alexandre Prokoudine <alexandre.prokoudine@...400...> wrote:
Hi,
A question asked out of curiosity. Currently when you draw a rubberband selection rectangle over an area where obhects have SVG Filters applied, especially with a Gaussian blur primitive, speed of redrawing the rectangle gets noticeably slower. Why is that?
Because we have to redraw a strip of image under the frame. We don't have a separate buffer for canvas items, they are treated just like objects in the image (arena items) with regard to redraw. That sucks, anyone willing to rewrite that?
By the way, it was even worse than that a couple months back - before my fixes, due to various errors and misoptimizations it was being redrawn, partially, twice or even thrice.
On Tue, Jun 2, 2009 at 6:35 PM, bulia byak wrote:
On Tue, Jun 2, 2009 at 10:13 AM, Alexandre Prokoudine <alexandre.prokoudine@...400...> wrote:
Hi,
A question asked out of curiosity. Currently when you draw a rubberband selection rectangle over an area where obhects have SVG Filters applied, especially with a Gaussian blur primitive, speed of redrawing the rectangle gets noticeably slower. Why is that?
Because we have to redraw a strip of image under the frame. We don't have a separate buffer for canvas items, they are treated just like objects in the image (arena items) with regard to redraw. That sucks, anyone willing to rewrite that?
By the way, it was even worse than that a couple months back - before my fixes, due to various errors and misoptimizations it was being redrawn, partially, twice or even thrice.
Thank you for explanation and fixes! :)
Alexandre
On Tue, 2009-06-02 at 11:35 -0300, bulia byak wrote:
On Tue, Jun 2, 2009 at 10:13 AM, Alexandre Prokoudine <alexandre.prokoudine@...400...> wrote:
Hi,
A question asked out of curiosity. Currently when you draw a rubberband selection rectangle over an area where obhects have SVG Filters applied, especially with a Gaussian blur primitive, speed of redrawing the rectangle gets noticeably slower. Why is that?
Because we have to redraw a strip of image under the frame. We don't have a separate buffer for canvas items, they are treated just like objects in the image (arena items) with regard to redraw. That sucks, anyone willing to rewrite that?
This is definitely something that needs to be fixed to improve performance when filters are used (as well as it would just be more "proper" behavior-wise anyway). How big of a task is this? I'm not offering myself by any means, but I could help to lure people in if I had more info.
Cheers, Josh
participants (4)
-
Alexandre Prokoudine
-
bulia byak
-
Joshua A. Andler
-
Vladimir Savic