Re: [PATCH weston 08/11] tests: convert reference image loader to pixman

2016-06-20 Thread Pekka Paalanen
On Fri, 17 Jun 2016 10:48:38 -0700 Bill Spitzak wrote: > On Thu, Jun 16, 2016 at 7:13 AM, Pekka Paalanen wrote: > > > > > load_image_from_png() now pays attention to the pixel format returned by > > Cairo, which seems to come out as CAIRO_FORMAT_RGB24 in > > internal-screenshot-test, not as CAI

[PATCH weston 08/11] tests: convert reference image loader to pixman

2016-06-16 Thread Pekka Paalanen
From: Pekka Paalanen This rewrites load_surface_from_png() to load_image_from_png(), to return a pixman_image_t instead of a struct surface. A loaded image has no need for wl_buffer or wl_surface or any of the associated attributes. This is part of unifying to make everything use pixman_image_t.