screenshooter: Add agl-screenshooter protocol
authorMarius Vlad <marius.vlad@collabora.com>
Tue, 15 Sep 2020 15:12:24 +0000 (18:12 +0300)
committerMarius Vlad <marius.vlad@collabora.com>
Fri, 18 Sep 2020 19:23:38 +0000 (22:23 +0300)
commit984263f289a71265d185d19792b1e57db39b6a00
treec112fc057697934ca5f958e947aef1feaae29253
parent0056122343c782902457802bb1ef6bde7c14d3c9
screenshooter: Add agl-screenshooter protocol

Just like weston, we add a private protocol. Underneath we make use of
the weston renderer to get a hold of the pixels and transfer them to a
user-supplied buffer. This only brings up the server side implementation
of the protocol.

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I02a07ad5eb492ef2ecad74efb34d1453ebcbedc0
meson.build
protocol/agl-screenshooter.xml [new file with mode: 0644]
src/ivi-compositor.h
src/main.c
src/screenshooter.c [new file with mode: 0644]