summaryrefslogtreecommitdiffstats
path: root/src/ivi-compositor.h
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/ivi-compositor.h
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/ivi-compositor.h')
-rw-r--r--src/ivi-compositor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ivi-compositor.h b/src/ivi-compositor.h
index 6969a7d..4506a5a 100644
--- a/src/ivi-compositor.h
+++ b/src/ivi-compositor.h
@@ -377,5 +377,7 @@ ivi_layout_find_with_app_id(const char *app_id, struct ivi_compositor *ivi);
void
shell_advertise_app_state(struct ivi_compositor *ivi, const char *app_id,
const char *data, uint32_t app_state);
+void
+ivi_screenshooter_create(struct ivi_compositor *ivi);
#endif