Drawing Performance :

Hi,
i wants to make a kind of slideshow with big image moving on the screen. Is
SDL a good API to do that. the image must move fluently. Is the QT embedded
using the SDL API ?
thanks

Fri, 08 Dec 2000 yannick wrote:

Hi,
i wants to make a kind of slideshow with big image moving on the screen. Is
SDL a good API to do that. the image must move fluently.

This may be a problem if the resolution and/or color deepth is high… You
could try to get the images into VRAM and do VRAM->VRAM blits, as sysRAM->VRAM
blits require a feature that’s not yet available on Linux drivers. (I think
SDL supports acceleration if available, and there is VRAM->VRAM acceleration
on some drivers).

You may look at hardware accelerated OpenGL, but I’m not sure about the state
of sysRAM->VRAM and AGP aperture->VRAM (part of sysRAM) blits, but the latter
seems to be supported on some cards, at least. (AGP cards are required for
that, obviously.)

Is the QT embedded using the SDL API ?

No, SDL embeds no toolkit at all, but it does allow applications to used SDL
together with GTK+, AFAIK. Not sure about Qt. (IIRC, that was discussed a little
while ago, but I wasn’t paying enough attension…)

//David

…- M A I A -------------------------------------------------.
| Multimedia Application Integration Architecture |
| A Free/Open Source Plugin API for Professional Multimedia |
----------------------> http://www.linuxaudiodev.com/maia -' ..- David Olofson -------------------------------------------. | Audio Hacker - Open Source Advocate - Singer - Songwriter |--------------------------------------> david at linuxdj.com -’

Hi,
i wants to make a kind of slideshow with big image moving on the screen. Is
SDL a good API to do that. the image must move fluently.

Yes, SDL should be fine for what you want. Take a look at the "testwin"
example in the test directory to see if SDL has the kind of performance
you need.

Is the QT embedded using the SDL API ?

Not at the moment.

See ya!
-Sam Lantinga, Lead Programmer, Loki Entertainment Software