--- Andy Ritger <[EMAIL PROTECTED]> wrote: > > > On Mon, 17 May 2004, Alex Deucher wrote: > > > > > --- Andy Ritger <[EMAIL PROTECTED]> wrote: > > > > > [snip] > > > > > > - A Video Overlay Xv Adaptor is obviously fundamentally > incompatible > > > with Damage/Composite. Should X drivers no longer advertise > > > Video Overlay Xv adaptors if they are running in an X server > that > > > includes Composite support? > > > > > > > Many video overlays support alpha blending with the graphics layer, > > it's just that support was never implemented since xfree86 never > > supported it. I wrote a patch for radeon a while back. As I > recall, > > it should also be possible with r128 and savage hardware, although > I > > haven't tested on those chips as of yet. it may also be possible on > > other chips. > > radeon patch: > > http://www.botchco.com/alex/radeon/Xv/xv_alpha/radeon_xvalpha.diff > > > > OT: radeon patch that enables Xv gamma correction: > > > http://www.botchco.com/alex/radeon/Xv/xv_gamma/radeon_video_gamma.diff > > > > Alex > > Thanks, Alex, but how would this fit in with the Composite > extension's notion of redirecting windows to offscreen storage?
I don't know. I'm not really too familiar with how composite works unfortunately. On radeon my understanding is that the overlay will blend with whatever is being displayed on the graphics layer (either globally or per pixel). So as long as you set the right overlay alpha value it should just work without needing to composite to an offscreen surface. In global or per pixel mode, you don't need to draw a colorkey. it will blend the video in whatever position you put it. Global mode blends the graphics and video globally. The per pixel mode is probably what we would want, but it requires ARGB graphics. the A value is then used to set the graphics opacity or transparency. r128, as I recall, only supports global mode. I think savage can do per pixel, but I haven't tried it. Alex > > Thanks, > - Andy > > > > > > > > > > Feedback very welcome. > > > > > > Thanks, > > > - Andy > > > > > > > > > > __________________________________ Do you Yahoo!? SBC Yahoo! - Internet access at a great low price. http://promo.yahoo.com/sbc/ ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click -- _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel