Hi all.
I'm building an application that should do this: 
-render a 
video on the background (taken from /dev/video0, a v4l2 device, bttv 
device)
- render (and update) a surface (with alpha transparency) upon 
it (let's call it DrawSurface).

Now i've no problems doing the two 
step by themselves, but i'm just getting confused choosing the best 
approach to do it together.
Should i PlayTo the videoprovider directly 
onto the primary surface and than blit the DrawSurface upon redraw 
callbacks?
should i playto the videoprovider on a separate surface 
(double buffered or not?) and than blit the videosurface, than the 
DrawSurface upon the redraw callback?
For this purpose what would be 
the best solution: overlay or grabbing? Is overlay suitable for drawing 
a semi-transparent surface on it?

Thans to anyone who would shed a bit 
of light in this chaos!

Primiano Tucci

_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to