XShape example?

Matthias Hopf mhopf at suse.de
Wed Nov 2 06:41:26 PST 2005


On Nov 01, 05 02:41:56 +1100, Russell Shaw wrote:
> >Then you're doing something wrong. OpenGL is faster than all 2D
> >acceleration functions (and as CPU based code anyway). At least on
> >halfway modern cards.
> Yeah, that's what i said/meant (that opengl is best for panning and zoom).

Ok, missunderstood you :) Good we agree here!

> Drawings i do usually have hundreds if not thousands of primitives
> such as lines, arcs, etc. It is very sluggish for panning and zooming
> to resend all those drawing commands over the X link. Display lists
> are stored in the server and can be replayed with a single X command.

Ah, ok. For direct rendering vertex buffers can actually be faster (if
the memory is chosen right), but if you have lots of state changes as
well, you're probably better of with display lists.

Matthias

-- 
Matthias Hopf <mhopf at suse.de>       __        __   __
Maxfeldstr. 5 / 90409 Nuernberg    (_   | |  (_   |__         mat at mshopf.de
Phone +49-911-74053-715            __)  |_|  __)  |__  labs   www.mshopf.de



More information about the xorg mailing list