Hi,

"Stephen Perez" <[EMAIL PROTECTED]> writes:

> This may be a stupid question, but when you use pre-allocated
> surfaces do you loose the advantages of the video card's
> acceleration? In other words is the software renderer used for all
> drawing?

the software renderer is indeed used for surfaces located in main
memory. The surface manager may however decide to move a surface to
video memory in order to take advantage of hw acceleration. It is thus
not guaranteed that a preallocated surface will stay where you
allocated it.

> In a slightly related question, how does the multi-app core work?
> Are windowed apps able to use acceleration? I assume the answer is
> 'yes', I'm just wondering how this works? How can two different
> applications use the video card "at the same time".

this is not exactly my area of expertise but I hope that Dok will
correct me if I lie... In order to perform operations on the video
card, the application needs to obtain a lock on the gfx hardware.
That way it is assured that no two applications use the video card
at the same time.


Salut, Sven


-- 
Info: To unsubscribe send a mail to [EMAIL PROTECTED] with 
"unsubscribe directfb-users" as subject.

Reply via email to