[Mesa-dev] [PATCH 13/30] i965/miptree: Add an explicit format parameter to create_for_dri_image

Daniel Stone daniel at fooishbar.org
Wed Jun 28 11:06:32 UTC 2017


Hi,

On 28 June 2017 at 02:05, Jason Ekstrand <jason at jlekstrand.net> wrote:
> The long answer is that the DRI formats do not specify a colorspace.

Also, strictly speaking, the DRI_IMAGE_FORMAT_* tokens don't specify a
colourspace, nor do the DRM FourCC tokens. DRI_IMAGE_FOURCC_* is
equivalent to the latter, bar the addition of a special and unique
SARGB8 token, i.e. ARGB8888 with the sRGB transfer function (and
presumably primaries?). The rest are presumed UNORM.

Cheers,
Daniel


More information about the mesa-dev mailing list