[cairo] Scrolling/Panning Demo -- howto increase speed

Tobias Hoffmann lcairo-list at thax.hardliners.org
Sat Dec 11 09:45:06 PST 2010


Stefan Salewski wrote:
> As expected scrolling and panning is not really fast, [...]
>
> Is there an not too complicated way to increase performance
On C/C++ I have used Gdk::Window::scroll(dx,dy) which moves the already 
visible portion of the screen and invalidates (triggers an expose) for 
the remaining parts. And don't forget about 
Gdk::Window::set_debug_updates()  which nicely visualizes this.

  Tobias


More information about the cairo mailing list