[Intel-gfx] Plane support for SNB and IVB
Hai Lan
hailan.devel at gmail.com
Thu Dec 8 03:58:40 CET 2011
2011/12/8 Jesse Barnes <jbarnes at virtuousgeek.org>
>
> I think the core support is ready now, but I'd like feedback on the
> color key ioctl. It would be good to have a way to disable it at
> runtime (w/o color keying enabled, the sprite will always sit on top of
> the primary), and potentially add alpha support at some point.
>
> Would 0 as the color key work well enough as a "disable" flag? Or
> should I add a separate field to the ioctl? Anyone have a preference?
>
Do you mean whether to use colorkey value 0 as a disabled flag? I
don't think we can use 0 as disabled colorkey because sometimes we
need to set the colorkey as 0.
So I think it's better to use a separate field of ioctl.
Thanks and best regards.
Hai Lan
More information about the Intel-gfx
mailing list