> Hi all, > In my application I am drawing animated graphics using opengl. > I have timer of 100ms and I flush the window every frame. > I have no issues with my windows pc and linux pc. > The final hardware for the application is an afolux panel pc. > (it is AMD geode 498mhz processor it also has FPU, and the OS is gentoo > flavor of linux, the fltk version is 2.0-5750).Since i am flushing every > frame of 100 ms the application gets slow down miserably in the panel pc. > > is there any way of swapping the buffers without taking much cpu time? > > any help appreciated.
Is the GL driver for your target graphics unit hardware-accelerated or not? I suspect not... In which case all the GL processing is being done is software, and I suspect that's your problem right there. If your scene is complex, the raw rendering time can easily become the rate determining step for your refresh, which sounds a lot like what you are experiencing here. I'm not sure there's much can be done about that, except doing less rendering, or getting faster hardware. If the graphics can be drawn using simpler drawing methods (e.g. fltk-s own drawing primitives) that might be faster. Don't know. _______________________________________________ fltk-opengl mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-opengl
