On Sun, 1 Jun 2003, Jon Leech wrote:
> 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
There are alot of people who are just discovering pbuffers now.
I would guess it would take years before superbuffers were widely used.
> 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
Extending GL to recognize a relatively unknown XFree86 format
is a hard sell. I wouldn't even be able to convince my own company
to dirty their code for it seeing as how relatively nobody is using
XvMC.
Of course you really want these things in objects that are
entirely within the OpenGL namespace, such as textures. Speaking
of slowly adopted extensions, if there's GLX_ARB_render_to_texture
that sort of solves that problem. Haven't been paying much attention
to super buffers (doesn't effect me yet). You can bind a pbuffer
to a superbuffer in some way can't you?
Mark.
_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel