wined3d: universal surface convertor function for unsigned integer color formats(3rd attempt)
chris.kcat at gmail.com
Wed Jul 23 12:48:59 CDT 2008
On Wednesday 23 July 2008 10:29:37 am Victor wrote:
> 0) initial patch used "mask size" + "mask offset", but was rewritten to use
> mask value when Stefan Dösinger requested that. I don't want to rewrite it
> back to use mask size + mask offset.
> 1) mask size and offset can be extracted from mask value.
> 2) using mask instead of "mask size" + "mask offset" requires less function
> arguments and smaller format table, although, yes there is a higher chance
> of producing errors.
But extracting the mask offset and size from the actual mask takes a bit of
time, and as it is, the table can't currently set a proper mask for anything
over 32 bits (including the 16-bit-per-component unsigned integer types).
More information about the wine-devel