2008/1/11, pete shorthose <firstname.lastname@example.org>:
> > eg: from scroll-pane.c:
> > scroll_pane_draw_data_channel ()
> > d = ((sw_audio_t *)sample->sounddata->data)
> > [i*channels + channel]; on
> OK, so good news: it should be stable, bad
> news: it should be slow. The main problem is
> that scroolbar refresh and redraw
> (scroll_pane_expose) is called every time with
> all sample to redraw and it's gtk_scroolbar
> feature. This is why I was starting to write
> sample cache.
i may have misunderstood what you meant by display
cache. i'll take a look at that patch.
ardour uses some funky macros to do wave drawing.
presumably they are faster so that might be
something to look into.
i can also enable backing store on all
widgets (xconfig permitting) to skip incidental
expose events too. assuming it's suitable for
rapidly updated windows. (i think qt4 does this
it's pretty quick in operation here though. p4
mobile 2gig laptop. hardly the state of the art.