On Sun, Feb 03, 2008 at 06:58:23PM +0100, Johannes Hofmann wrote:
Hi Jorge,
On Sun, Feb 03, 2008 at 02:44:56PM -0300, Jorge Arellano Cid wrote:
Hi Johannes,
On Fri, Feb 01, 2008 at 07:11:31PM +0100, Johannes Hofmann wrote:
Hello,
let's get more agressive regarding these excessive redraws :-)
Below are two patches. The first one adds a own run method to FltkPlatform. It is pretty similar to what fltk delivers, but this way we can tweak it as we like. Especially when to call our idle functions.
I'm experimenting with another approach because AFAIU throttling FLTK idle functions not only affects drawing code.
My patch does not throttle FLTK idle functions. It just does not use FLTK idle function mechanism for dillo. It uses an own mechanism so we can tweak it for our needs independent from what FLTK does.
Oh, after a more in-depth review I see you're only throttling when to call FltkPlatform's generalIdle. That's OK. I'm experimentin with a queueResize(bool asap)/flush(bool asap) approach. A couple of glitches remain... -- Cheers Jorge.-