[haiku-development] Re: Scrolling with child views - bug or feature?

  • From: Stephan Assmus <superstippi@xxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Fri, 17 Jul 2009 18:46:39 +0200

On 2009-07-17 at 17:50:42 [+0200], Rene Gollent <anevilyak@xxxxxxxxx> wrote:
> On Fri, Jul 17, 2009 at 3:22 PM, Stephan Assmus<superstippi@xxxxxx> wrote:
> > The app_server computes this on demand only, and it does so using 
> > similar code to what I posted. It would only be a waste of resources to 
> > communicate to the app_server like that. Much quicker to calculate it 
> > client side, although it would mean to duplicate code. With the 
> > addition of "BView* lookingFrom", it wouldn't purely be a duplication, 
> > though.
> 
> That sounds good to me (with lookingFrom).  In app_server's case, Isn't 
> it quite expensive to compute that on every mouse movement though? That 
> should be cacheable until a view resize/move happens, no?

No, it's only used when recomputing the clipping.

Best regards,
-Stephan

Other related posts: