[haiku-appserver] Re: drawing thread

  • From: Stefano Ceccherini <burton666@xxxxxxxxxxx>
  • To: haiku-appserver@xxxxxxxxxxxxx
  • Date: 27 Oct 2004 09:05:11 -0000


>       Begin/EndViewTransaction() caches the whole >BView::Draw() in a 
> BPicture just like you said - for 
>every BView in window. When EndViewTransaction() is called, >app_server will 
>update each affected 
>view (the ones for which BPicture is not empty(or NULL)) but <instead of 
>sending the _UPDATE_ message 
>if renders the associated BPicture's data.

Hmmm not exactly.

"The view system will behave as before without these calls, but if you bracket 
resizing and moving of views between these two calls, the parent's clipping 
region is not recalculated until the call to EndViewTransaction(). These calls 
also do implicit DisableUpdates() and EnableUpdates()."

So it's just the clipping region that is not recalculated. It's not written 
anywhere that it stores the data in a BPicture.

Stefano Ceccherini aka Jack Burton
Scegli il tuo dominio preferito e attiva la tua email! Da oggi
l'eMail di superEva e' ancora piu' veloce e ricca di funzioni!

Other related posts: