[PATCH 5/5] Rename color_fixup_supported to blit_supported support and add additional checks.

Henri Verbeet hverbeet at gmail.com
Fri Apr 2 05:15:36 CDT 2010


On 1 April 2010 23:58, Roderick Colenbrander <thunderbird2k at gmail.com> wrote:
> +    /* In general we don't support any destination fixups except for P8. P8 fixup
> +     * can occur in three cases:
> +     * 1) Blit from p8 source to p8 destination, this is a source fixup and the
> +     *    destination fixup can be ignored.
> +     * 2) LockRect on surface, LoadLocation takes care of the 'destination fixup'.
> +     * 3) RealizePalette refreshes the palette of a surface. The surface is then
> +     *    both the source (the sysmem / texture copy) and the destination (drawable).
> +     *
But you don't know all that. All you know is that you've got two
surfaces with certain properties. You could argue that since the
source and destination fixups are the same they cancel out, so that
you can do that blit as long as you either don't stretch or the fixup
is linear. However, in that case you also need to make sure the
blitter actually behaves like that.



More information about the wine-devel mailing list