[PATCH] Let the server expose 10bpc picture formats

Aaron Plattner aplattner at nvidia.com
Tue Jul 28 15:25:30 PDT 2009


On Mon, Jul 27, 2009 at 01:02:25PM -0700, Pierre-Loup A. Griffais wrote:
> diff --git a/render/picture.h b/render/picture.h
> index 1f90f43..f3fec0b 100644
> --- a/render/picture.h
> +++ b/render/picture.h
> @@ -67,6 +67,11 @@ typedef struct _Picture              *PicturePtr;
>  
>  /* 32bpp formats */
>  typedef enum _PictFormatShort {
> +    PICT_a2r10g10b10 = PIXMAN_a2r10g10b10,
> +    PICT_x2r10g10b10 = PIXMAN_x2r10g10b10,
> +    PICT_a2b10g10r10 = PIXMAN_a2b10g10r10,
> +    PICT_x2b10g10r10 = PIXMAN_x2b10g10r10,

This change will also need to change the pixman-1 dependency in
configure.ac to be >= 0.15.16 instead of >= 0.15.14.


More information about the xorg-devel mailing list