From: Guillaume L. <gla...@te...> - 2005-12-04 10:06:59
|
On Sunday 04 December 2005 09:39, Chris Cannam wrote: > wish to mitigate problems caused by this. Shall we > assume for the moment that making audio preview > refreshes faster is tricky to do, and return to the > original problem? No, I still think I can tile-draw them. After all I'm already drawing them in chunks on a large (or so I thought) QImage right now, this got me closer to doing it on screen. > What is preventing us from knowing > that we don't actually need to redraw the audio > previews in the first place? Basically, that we can only ask for updates of rectangular regions, and not specific items, that we can't say whether the update must be restricted to the segments draw buffer or the artifacts one, and that updates aren't synchonous with the requests. More precisely, the problem was that while recording, when a new event was recorded the corresponding segment would request for an update of its rectangle, and invalidating the segments draw buffer. But then the pointer was moving which would translate into a request for a full update (but you fixed that), and so the whole segment draw buffer would be updated. So actually it could very well be that your last fix solved the problem, except for the case where scrolling happens, but that's pretty punctual. -- Guillaume. http://www.telegraph-road.org |