2011/12/8 Jesse Barnes <jbar...@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 _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx