Friday, 27 April 2012

Re: scrolling jerky

On Fri, Apr 27, 2012 at 05:59:12PM +0100, Chris Young wrote:

> Cache won't help, the issue is that "core" scrolls aren't optimised,
> so if you scroll a frame the entire contents of that frame will be
> redrawn - even if it is only scrolled a pixel. Conversely, if you
> scroll using the window scrollbar, the platform code handles the
> scroll. Usually the platform code is optimised, and will "shift" the
> area and just redraw the newly-exposed bit.
>
> Clearly NetSurf would benefit from some scrolling optimisation in the
> core, but I'm not sure if it is as easy as telling the frontend code
> to move a particular area and then redraw the newly exposed area.
> (not least because frontends don't currently have any concept of "move
> a particular area")

I suspect rectangle-copy would be a fine addition to the plotter
interface.

B.

No comments:

Post a Comment