Am Donnerstag 01 Dezember 2005 04:48 schrieb joe...@op...:
> Firstly, excellent work on the libUFO library!
Thanks! :)
> I'm working on a project which displays digital TV on an Epia box using the
> mpeg acceleration (through XvMC). I previously used fltk as its OSD
> interface, but I'd like to use libUFO to allow me to get 3D objects
> overlayed on TV. I previously had a GLX program which had 3D objects over
> TV (which I still have working), but my efforts today with libUFO have hit
> a bit of a dead end.
>
> I have used the UXGLXDriver and taken the Window and Display * from it
You take the window from the GLX video device (UXGLXDevice or sth.) right?
The glx driver just knows of the root window.
> and
> fed them to the XvMC startup program, but it doesn't seem to work ;
You pure GLX program did work?
I do not have experience with mixing GL with other drawing stuff.
How does XvMC draws its videos? Via Xlib?
> 1. In
> windowed mode it thinks its putting each of the surfaces, but nothing is
> displayed (but audio is coming out fine). 2. In full screen mode it hangs
> on the first put surface. (the previous GLX demo I made was only windowed).
Well, I didn't even hope that the fullscreen support works :)
I do not use fullscreen modes and can't remember when I have used
them last time.
IIRC, the fullscreen support is done using the _NET extension of window
managers, i.e. the UFO code stays the same.
> Am I missing something obvious ?
> Does this sound like it is doable ? (in fullscreen ?)
Hmm, do you have some sort of a minimal example?
How did you intialize your GLX window in your pure GLX environment?
Atm, I do not know what could be the problem ...
Regards,
Johannes
|