This is probably due to my limited understanding of writing Xv apps but
how do you keep the app from drawing the colorkey itself?  isn't it
just an X rectangle?  is there an Xv function that the app uses or does
it just draw a rectangle and paint it the colorkey color?  How does the
sis driver do it (if it does)?  what does the output look like with no
colorkey drawn?  if it just the desktop or it it just some undefined
area?  does Xv even work without a colokey?  I thought that's how the
overly worked it overlays the video data based on regions painted with
the colorkey.  I suppose in global alpha mode though (on radeon), it
will blend the video with whatever the graphics layer shows so if I
could get rid of that rectangle of color, I'd get a nice blend with the
desktop and any windows over or under it.

Alex

--- Thomas Winischhofer <[EMAIL PROTECTED]> wrote:
> Alex Deucher wrote:
> > radeon has an option XV_AUTOPAINT_COLORKEY that enables or disables
> the
> > auto filling of the colorkey by the driver (stops
> > xf86XVFillKeyHelper()).  is this equivalent to what your option
> does? 
> 
> Not entirely. AUTOPAINT_COLORKEY does not stop applications from
> drawing 
> the colorkey themselves (as, I think, for example Xine does). That is
> 
> done by the accelerator engine, that checks the color given to the
> fill 
> functions. (Granted, this only works if the accelerators are on, but
> who 
> is using a [working] driver without acceration these days)
> 
> Thomas
> 


__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to