wined3d: universal surface convertor function for unsigned integer color formats(3rd attempt)

Stefan Dösinger stefan at
Wed Jul 23 11:10:02 CDT 2008

Actually, one more idea:

It will be extra-slow, but we could implement a general all-to-all format by converting the source format to A32R32G32B32F(float values), and then write code to convert this format to all possible destination formats. The from->to table lookup could be replaced by code that can combine multiple conversions to find a conversion strategy(e.g. R5G6B5->ARGB32F->R8G8B8). I am not sure if it is a good idea, but it is worth a consideration

More information about the wine-devel mailing list