[Mesa-dev] [PATCH 3/3] st/mesa: implement ARB_copy_image

Nicolai Hähnle nhaehnle at gmail.com
Tue Oct 27 02:11:31 PDT 2015


On 25.10.2015 18:25, Marek Olšák wrote:
> +/**
> + * Handle complex format conversions using 2 blits with a temporary texture
> + * in between, e.g. blitting from B10G10R10A2 to G16R16.
> + *
> + * This example is implemented this way:
> + * 1) First, blit from B10G10R10A2 to R10G10B10A2, which is canonical, so it
> + *    can be reinterpreted as a different canonical format of the same bpp,
> + *    such as R16G16. This blit only swaps R and B 10-bit components.
> + * 2) Finnaly, blit the result, which is R10G10B10A2, as R16G16 to G16R16.
> + *    This blit only swaps R and G 16-bit components.
> + */

Typo: Finally

Nicolai


More information about the mesa-dev mailing list