[cairo] Re: Lander Game

Owen Taylor otaylor at redhat.com
Tue Jan 9 08:38:48 PST 2007

On Tue, 2007-01-09 at 08:21 -0800, Carl Worth wrote:
> 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).

On the other hand, there's no reason cairo shouldn't be fast enough
to do full-frame-rate rendering from scratch of most things. After all,
that's how 3D games work! While the stuff cairo is doing isn't going to
be as well matched by the hardware, there's a lot of cycles in 1/30th
of a second these days...
					- Owen

More information about the cairo mailing list