[Open-graphics] [Off Topic] efficient 2D lib
Loris Cuoghi
devon01 at gmail.com
Tue Feb 13 09:32:23 EST 2007
Nicolas Boulay ha scritto:
> Hello,
>
> If i want to use "pure" 2D. What is the fastest choice ? Xlib give
> some very impressive numbers , but it's quite old. Opengl is fast but
> a good 3D card are needed.
>
> I don't know the speed of SDL. It's look like the "default" choice.
>
Hi!
SDL is just an higher level library which wraps other APIs like OpenGL
and Xlib, and even audio-related ones like OpenAL. Thus, by "using SDL"
you'd still be choosing among these.
A good-by-today-standards 3D accelerated card is somewhat overpowered
for just *ordinary* 2D drawing. Some old ATI Radeon like a 7000 and
above would be well supported, and a good horse too.
But that would have to be judged by the kind of drawings you would be doing.
> Beside that i know that most of card and old 3D card have some means
> to draw fast 2D primitive without the use of the main cpu. Does a lib
> that use this exist ?
>
Sure. That's what a recent X11 server does with certain known hardware,
by accelerating Xlib functions (and thus other higher level drawing APIs
like Cairo) by the means of XAA or, where possible, EXA [1] [2].
Check these if you've got time:
[1] http://cairographics.org/
[2] http://lists.freedesktop.org/archives/xorg/2005-June/008356.html
[3] http://wiki.x.org/wiki/ExaStatus
Look up Cairo and EXA on Wikipedia for a quick and simple overview.
Regards,
-- Loris Cuoghi
> Regards,
> Nicolas Boulay
> _______________________________________________
> Open-graphics mailing list
> Open-graphics at duskglow.com
> http://lists.duskglow.com/mailman/listinfo/open-graphics
> List service provided by Duskglow Consulting, LLC (www.duskglow.com)
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.duskglow.com/open-graphics/attachments/20070213/6ae181a6/signature.bin
More information about the Open-graphics
mailing list