Mark Vojkovich ([EMAIL PROTECTED]): > On Tue, 11 Jun 2002, Billy Biggs wrote: > > > In windows this functionality is exported transparently using > > DirectDraw/StretchBlt. I think XVideo is probably the best API to > > extend on the linux side. > > It depends what you want to do with it. In the case of NVIDIA's > binary drivers these do not use the overlay for RGB, but if some > drivers do, it's not really useful for much other than video. I think > it would be a mistake to write an application that relies on blitted > (not overlaid) RGB Xv support unless you only wanted to target a > particular hardware platform. > > For the general case, you're really much better off using OpenGL, > which is guaranteed to support this.
Giving it some more thought: I agree we should be using OpenGL even for 2D scaling. My little hack to the XVideo driver was to compare speed performance, as the texture upload speed for high-framerate 2D graphics was really slow using the DRI drivers. I should probably fix the DRI code instead of using XVideo. -- Billy Biggs [EMAIL PROTECTED] _______________________________________________ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
