Re: Re: [UFO-devel] Xv support using GLX in libUFO...
Status: Beta
Brought to you by:
schmidtjf
From: <joe...@op...> - 2005-12-01 23:44:10
|
> > 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. Yep. > > fed them to the XvMC startup program, but it doesn't seem to work ; > > You pure GLX program did work? Yes and it still does. I have 2 squares in 3D overlayed on top of a playing DVB stream. > I do not have experience with mixing GL with other drawing stuff. > How does XvMC draws its videos? Via Xlib? It uses Xvideo - which is chromakeyed on by the hardware (every pixel of a set colour is replaced by a pixel from a separate given framebuffer when the pixel colour is sent out to the monitor - no data copying required). > > Am I missing something obvious ? > > Does this sound like it is doable ? (in fullscreen ?) > > Hmm, do you have some sort of a minimal example? The minimal example is quite big. I'll try to make one using simple Xv if I can (I have one somewhere, but....) > How did you intialize your GLX window in your pure GLX environment? Slightly differently to the way UFO does it I think. I'm working down the path of using the dummy driver and given UFO the context once its created... but now I seem to be having trouble opening the DVB card (!) Thanks for the reply. Bye - Joel. |