Re: [Pixman] sRGB scaling without alpha channel?

2021-03-05 Thread Søren Sandmann
Hi, There isn't really any guide. What I'd suggest is grepping the source code for "sRGB" and then adding support for your new PIXMAN_r8g8b8_sRGB format in all those places. Aside from adding the format to the header file, the main work would be implementing the accessor functions in pixman-access

Re: [Pixman] sRGB scaling without alpha channel?

2021-03-05 Thread Claude Heiland-Allen
Hi Søren, On 04/03/2021 19:55, Søren Sandmann wrote: You are right that pixman doesn't have support for sRGB formats without an alpha channel. It would make sense to add such support (and it should be straightforward to do so). Is there a guide for this kind of work?  For example a patch series