[cairo] Re: Lander Game

Carl Worth cworth at cworth.org
Tue Jan 9 08:21:50 PST 2007


On Tue, 09 Jan 2007 12:58:31 +0200, Niki Spahiev wrote:
> IMHO not true. Consider typical use case of mouse wheel changing zoom in
> canvas. Raster cache has no chance here.

Why not?

If your scene is so complex that the vectors can't be re-rendered as
fast as you can spin the wheel, then what are you going to do?

Have you seen what evince does on a scale change? It first scales the
previously rendered rasterization and then when its complete, replaces
it with a new rasterization at the final scale. That kind of approach
should work quite well with mad mouse-wheel spinning, (particularly
since the scaling-of-raster part should be something that's fully
accelerated by the video hardware).

-Carl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20070109/899baf4b/attachment.pgp


More information about the cairo mailing list