On 13/02/07, Nicolas Boulay <[EMAIL PROTECTED]> wrote:
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.
I regularly use SDL (http://www.libsdl.org/) + SDL_image
(http://www.libsdl.org/projects/SDL_image/) + SDL_gfx
(http://www.ferzkopp.net/joomla/content/view/19/14/) for my 2D
applications (including games that need fast graphics) and I've never
had a reason to complain - I can't say if it is fast enough for your
needs, but I'd be surprised if it is not - and the libraries are
extremely easy to use as well, which is nice :-) .
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 ?
SDL can use an OpenGL rendering context - see the SDL_OPENGL flag for
SDL_SetVideomode :
http://www.libsdl.org/cgi/docwiki.cgi/SDL_5fSetVideoMode
--
Jesper Juhl <[EMAIL PROTECTED]>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html
_______________________________________________
Open-graphics mailing list
[email protected]
http://lists.duskglow.com/mailman/listinfo/open-graphics
List service provided by Duskglow Consulting, LLC (www.duskglow.com)