[PATCH weston 06/11] tests: let create_shm_buffer() handle any format

Daniel Stone daniel at fooishbar.org
Thu Jun 23 08:12:27 UTC 2016


On 17 June 2016 at 00:13, Pekka Paalanen <ppaalanen at gmail.com> wrote:
> Change create_shm_buffer() to handle any pixel format known to Pixman.
> Presumably in the future we might want to test e.g. RGB565 content with
> screenshot tests.

Similarly to #1, this:
  - uses the new struct buffer
  - moves from raw allocations to pixman_image_t
  - adds support for other formats

Egads. :( Looks correct though.


More information about the wayland-devel mailing list