[haiku-appserver] Re: update code.

  • From: Adi Oanca <adioanca@xxxxxxxxxxxxx>
  • To: haiku-appserver@xxxxxxxxxxxxx
  • Date: Thu, 31 Mar 2005 01:34:19 +0300

        Okay, I may be sleeping tomorrow at may desk, but what the hell... :-)

        I managed to solve the problem with those update requests being "lost". 
It should work correctly now, at least from that point of view. :-)

        Stephan, can you confirm some improvement, as I have tried to test but 
you forgot about Painter.h :-)) and I could not compile at that moment.

That's it for today, I'm going to sleep.

Adi Oanca wrote:
> he he, things are never easy. I just realized this code only works if 
> BViews draw their entire contents inside ::Draw() method not only inside 
> the rectangle passed to it.
>       This is because some requests are "canceled" by previous ones. I'll if 
> can fix that also in time for BeGeistert.
> Adi Oanca wrote:
>>Hi guys,
>>      I tweaked, or at least I think I did, the app_server's update code to 
>>update only what's needed, so correct results should appear on-screen.
>>      Now, this appears to function well, but I need something from 
>>DisplayDriver to work perfectly.
>>      I need DisplayDriver subclasses to implement ConstainClippingRegion() 
>>and _completely_ ignore LayerData::clipReg.
>>      ConstainClippingRegion() should function like BView's version, with a 
>>minor difference - passing an empty region should be handled exactly 
>>like when passing NULL.
>>      Now, about CopyRegionList() I will explain this tomorrow as I'm pretty 
>>tired. I can give you a hint, it's _really_useful when resizing a window 
>>with lots of views(aligned to center or right) inside it. BTW, this is 
>>one area where our app_server does better that R5's one, as that 
>>completely redraws center or right aligned views (tested that). It can 
>>do better if that method would be optimized, as there is _plenty_ of 
>>room to do that. :-)
>>b-bye for now,

Other related posts: