Re: [dev] Re: [st] Drawing optimizations

2011-10-21 Thread Bjartur Thorlacius
On Fri, Oct 21, 2011 at 11:43 AM, Christian Neukirchen wrote: > Perhaps its faster to draw onto an image and then display that?  (urxvt > also does the optimization of only updating the window at screen > frequency or something, so it doesn't render all lines of text flushing > by.) > Judging from

[dev] Re: [st] Drawing optimizations

2011-10-21 Thread Christian Neukirchen
Aurélien Aptel writes: > Hi, > > I know st rendering is slow. I'm currently trying out different > solutions but I can tell you profiling X calls is no fun. > > tip now uses a simple dirty flag per line algorithm. > Each modified line has the flag set to 1. Only dirty lines are drawn > and once i