On Fri, 29 Mar 2002, Keith Packard wrote:
>
> Around 15 o'clock on Mar 29, Dr Andrew C Aitchison wrote:
>
> > While you are at it, you might wish to change the default colo[u]rkey
> > from 0. Black is a common enough text colour; with Keith's patch
> > highlighted text shows the video layer beneath :-)
>
> I stole a few lines from the R128 driver and stuck them into the radeon
> driver. The video key is now configurable (option "videokey" "42") and
> has a non-zero default value (30).
>
> New diff is at:
>
> http://keithp.com/~keithp/download/radeon_xv-2002-03-29.diff
>
> I note that the config file uses the phrase "videokey" instead of
> "colo[u]rkey". That conveniently avoids the spelling ambiguity...
I just want to point out that GATOS code already supports this.
As for 8bbp - I will insert the code to disable hardware Xv support in
this case and print a meaningful message.
As for Radeon colorkeying the reason we use RGB values is because Radeon
no longer supports keying on the value of graphics pixel, rather it allows
you to specify ranges of alpha and R, G, B so all graphics pixels that
fall within them are replaced by video. The comparison is done _after_
Radeon has converted framebuffer value into internal 32bpp format.
Vladimir Dergachev
>
> Keith Packard XFree86 Core Team Compaq Cambridge Research Lab
>
>
> _______________________________________________
> Xpert mailing list
> [EMAIL PROTECTED]
> http://XFree86.Org/mailman/listinfo/xpert
>
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert