On developing a little app with a bunch of charts (about 8+ line charts being updated at about 50 hz), I have found a real architectural/response issue in FLTK that is kind of a pain. So if you stack up a bunch of samples to an Fl_Chart (of line type), what happens is that you always redraw the entire lot of samples. Each time you do a Fl_Chart::add(..), redraw() is called, which is as it should be, but then the /whole/ chart is redrawn instead of anything approaching a dirty-rectangle or 'latest data point' optimization strategy.
This is just awful. What are the chances I can get a patch for this or re-write and submit something with marginally better mechanics? This is slowing the hell down on my little graph collection app. FLTK is otherwise fast to develop with and runs kind of OK, but man, this is a real weakness when dealing with these charts and X overhead and drawing management (this is on a Dell Laptop, Ubuntu 8.10, using sources from FLTK instead of Ubuntu/synaptic package). Please advise. Thanks. hv _______________________________________________ fltk-bugs mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-bugs
