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

  • From: Rene Gollent <anevilyak@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Fri, 17 Jul 2009 15:50:42 +0000

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?

Regards,

Rene

Other related posts: