[igt-dev] [PATCH v7 07/14] fb: Add support for conversions through pixman

Maxime Ripard maxime.ripard at bootlin.com
Tue Oct 2 14:57:44 UTC 2018


Hi Petri,

On Mon, Oct 01, 2018 at 12:26:58PM +0300, Petri Latvala wrote:
> On Tue, Sep 11, 2018 at 10:47:34AM +0200, Maxime Ripard wrote:
> > Pixman allows for much more conversions than cairo, and we don't want to
> > open code conversions routine for the common formats.
> > 
> > Let's plug pixman in our conversion function so that we can benefit from it
> > when possible.
> > 
> > Reviewed-by: Eric Anholt <eric at anholt.net>
> > Signed-off-by: Maxime Ripard <maxime.ripard at bootlin.com>
> > ---
> >  lib/igt_fb.c | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++--
> >  1 file changed, 53 insertions(+), 2 deletions(-)
> > 
> > diff --git a/lib/igt_fb.c b/lib/igt_fb.c
> > index 624fddbd465b..64370e01c1d6 100644
> > --- a/lib/igt_fb.c
> > +++ b/lib/igt_fb.c
> > @@ -29,6 +29,7 @@
> >  #include <math.h>
> >  #include <wchar.h>
> >  #include <inttypes.h>
> > +#include <pixman.h>
> >  
> 
> Currently pixman is only there if you enable chamelium. Doing this
> requires making it mandatory, doing some refactoring on meson.build
> and configure.ac. And README.

Ah, right. I'll fix that.

Thanks!
Maxime

-- 
Maxime Ripard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/igt-dev/attachments/20181002/d364de4d/attachment.sig>


More information about the igt-dev mailing list