On 12 October 2011 11:47, Stefan Dösinger stefan@codeweavers.com wrote:
Because when we add more conversions(P8) and settings(color keying) the current approach will result ugly unmaintainable if blocks.
You already have the P8 shader. In the case of color keying it should probably at least be in the same series as the code that uses it, but I'm not sure an rbtree would really have a lot of advantages over a simple array there.