Sun, 05 Apr 2020 20:55:28 +0100
screenshare: Add XDP portal ScreenCast support
With Wayland we can't just share X11 windows/screens; we need to ask for
a stream from the compositor. Add support for that, falling back to the
direct mode if it isn't present (since *Pidgin* can be using X11 even
when the system is Wayland).
https://flatpak.github.io/xdg-desktop-portal/portal-docs.html
#include "glm.h" struct shark_struct{ GLint* faces, *lids, *fins, *eyes, *iris, *pupil; GLMmodel** m_faces, **m_lids, **m_fins, **m_eyes, **m_iris, **m_pupil; int curr_face, curr_fin, curr_left_lid, curr_right_lid, curr_right_eye, curr_left_eye, curr_pupil, eye_count; float curr_fin_angle; }; void init_shark(FACE f);