2009-01-05, 23:25
CapnBry Wrote:No you can't. VDPAU only takes prescaled RGBA data for compositing. The main reason it doesn't take GL textures (my conjecture) is because the VDPAU presentation surface doesn't have any model/view/projection matrix making it impossible to ascertain where in the source OSD image to take a pixel to put on the screen at a given screen X,Y. The method they went for is to make the mapping 1 input OSD image pixel = 1 output screen image pixel.
But that is good news that VDPAU has gotten accepted into ffmpeg, not that it solves any of XBMC's problem with it though.
So if I understand you correctly, you would have to put the GL texture on the right position on an opague image (i.e. 1920x1080) and pass that one to vpdau?