Page 1 of 1

Mass redrawing for no obvious reason

Posted: Fri Jan 23, 2015 5:32 pm
by tulamide
Since I already missed the info on how Flowstone deals with interpolation while drawing, I might have missed something here, too.

Can someone explain this to me (see fsm and follow exactly the comment)?

Re: Mass redrawing for no obvious reason

Posted: Fri Jan 23, 2015 6:47 pm
by MyCo
Interesting... just did some investigation.

Although this seems only to affect selected modules, there is a chance to speed up FS when this gets fixed.

Re: Mass redrawing for no obvious reason

Posted: Fri Jan 23, 2015 7:26 pm
by tulamide
It gets even more strange. I currently wonder if it has somehow to do with calling the output method. I've extended the schematic with a second module that will surprise you...

Re: Mass redrawing for no obvious reason

Posted: Fri Jan 23, 2015 8:39 pm
by MyCo
My guess is, that the output method forces a redraw of the output connector, and that redraw is forwarded to the module's GUI as well to draw its content below the output connector

Re: Mass redrawing for no obvious reason

Posted: Sat Jan 24, 2015 6:40 am
by tulamide
Yes, I think so, too. Had some testing with the sprite font project. Remember that I complained about continous redraws? It's because of the output triggers. They can cause feedback loops, and that's what's happening there (A char list is drawn, the number of rows is sent to a slider. The slider takes it as input and sends out the current position. As soon as both are directly adjacent, one of those "redraw areas outside the view area" triggers redraws, which forces the loop).

Re: Mass redrawing for no obvious reason

Posted: Sat Jan 24, 2015 2:41 pm
by Walter Sommerfeld
Well, i also noticed this behaviour before... :(

.. and ended up using an external redraw via prim!
I also used a ruby area output to minimize CPU load...

Had no time to mention this before... :geek: