On 08.02.2012 11:38, MacArthur, Ian (SELEX GALILEO, UK) wrote:
> OK, I found my hacked-up gl_gears example - actually it's the glut one,
> but anyway... converted to be fltk-ish.

Great demo. Looks like we could add it somewhere to our demos.
If not in test/ then maybe in examples/ ?
Opinions?

> It was originally meant to run on the idle loop, and with this WIN32 box
> that runs about 3,000 FPS.

I don't get more than approx. 60 (!) FPS on my Win7 box (4 cores, with
the CPU at a minimum load)

> I've added an fl_timer aiming for 100 FPS, and on this box I get a
> rock-solid 64 FPS... Hmm, 64 != 100, so that's odd.

Same value: ~60 FPS

> I wonder if I'm hitting some issue with the resolution of the WIN32
> timers or something, as the FPS I get is *exactly* 64, even though the
> idle-loop version runs much, much faster...

Running at /desired/ frame rate 30 gives me 21.4 FPS. Strange.

The same program, compiled in a Linux VM on the *same* Win7 box gives
me up to 516 FPS with idle loop and ~450 FPS with timers.

I'm wondering what's going on...

Albrecht
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to