This is a FAQ:
http://www.libsdl.org/faq.php?action=listentries&category=2#20
software buffer==sloooow buffer,
Depends on what you compare it to, but getting stuff into VRAM is
indeed a serious performance issue. However, if the (2D) driver doesn’t
support h/w accelerated blits, software surfaces are the way to go.
(Well, they’re usually the only kind you can get when there’s no h/w
accelerated blits, but there’s no guarantee. There are a few
unaccelerated targets that can still give you hardware surfaces if you
ask.)
do that means that i have to write it for OpenGL to have real fast 2d
graphics ?
If your definition of “really fast” is similar to mine; yes, that seems
to be the only remotely reliable way. (Despite all these issues with
broken OpenGL features, I’d still say you’re much more likely to find a
working OpenGL setup than any other kind of accelerated video on Linux.)
guys from xfree should consider that, and change it !
Well, they wouldn’t be the first…
what DGA is ?
i will look in web, but clarify me what does it have with sdl, xwindows
and *nix ?
It’s a very low level “direct access” API for X. It requires root
privileges, but it can provide accelerated blits, if the drivers
support it.
//David Olofson — Programmer, Reologica Instruments AB
.- M A I A -------------------------------------------------.
| Multimedia Application Integration Architecture |
| A Free/Open Source Plugin API for Professional Multimedia |
----------------------------> http://www.linuxdj.com/maia -' .- David Olofson -------------------------------------------. | Audio Hacker - Open Source Advocate - Singer - Songwriter |
-------------------------------------> http://olofson.net -'On Thursday 30 May 2002 20:09, Grzegorz Jaskiewicz wrote: