On Fri, May 30, 2003 at 05:42:20PM -0700, Ian Romanick wrote:
> Mark Vojkovich wrote:
> >   I'd like to propose adding a XvMCCopySurfaceToGLXPbuffer function
> >to XvMC.  I have implemented this in NVIDIA's binary drivers and
> >am able to do full framerate HDTV video textures on the higher end
> >GeForce4 MX cards by using glCopyTexSubImage2D to copy the Pbuffer
> >contents into a texture.
>
> This shoulds like a good candidate for a GLX extension.  I've been
> wondering when someone would suggest somthing like this. :)  Although, I
> did expect it to come from someone doing video capture work first.

    I don't think it makes much difference whether it's considered as
XvMC functionality or GLX functionality, but if you do it in XvMC I
suggest paying as much attention to a detailed specification as OpenGL
and GLX extensions do. In particular since the X and GL rendering
streams are generally asynchronous, making sure apps can get repeatable
behavior across drivers.
    You might want to think about how this could carry over to the
upcoming super buffers extension, too, since that will probably replace
pbuffers for most purposes within a few years. Since super buffers
operate entirely within GL, and the GL namespace doesn't involve XIDs
and is dependent on the current context, it might make more sense to
pass the XvMC objects into GL than vice versa.
    Jon Leech
    SGI
_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to