pidgin/plugins/crazychat/mat_struct.h@3c8f61de927c
pidgin/plugins/crazychat/mat_struct.h
Sun, 05 Apr 2020 20:55:28 +0100
- author
- David Woodhouse <dwmw2@infradead.org>
- date
- Sun, 05 Apr 2020 20:55:28 +0100
- branch
- release-2.x.y
- changeset 40394
- 3c8f61de927c
- parent 15435
-
4b933b06d75e
- child 16238
-
33bf2fd32108
- child 18068
-
b6554e3c8224
- child 20478
-
46933dc62880
- permissions
- -rw-r--r--
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 <GL/gl.h>
#include <GL/glu.h>
typedef struct sample_MATERIAL{
GLfloat ambient[3];
GLfloat diffuse[3];
GLfloat specular[3];
GLfloat emission[3];
GLfloat alpha;
GLfloat phExp;
int texture;
}sample_MATERIAL;