summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2020-09-15 18:12:24 +0300
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2020-09-30 13:43:12 +0000
commit991714fc7f92aea3d07c7225247a821e3461027e (patch)
tree9054e78451203614aaf190c1a9a30e3d2bc49be1 /src/main.c
parent1f888f2050ac50ec8c1750ff4f0e2c485936d7ed (diff)
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. Bug-AGL: SPEC-3580 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I02a07ad5eb492ef2ecad74efb34d1453ebcbedc0
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 99512d5..164b45b 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1493,6 +1493,7 @@ int main(int argc, char *argv[])
ivi_shell_create_global(&ivi);
ivi_launch_shell_client(&ivi);
+ ivi_screenshooter_create(&ivi);
ivi_agl_systemd_notify(&ivi);
wl_display_run(display);