mirror of
https://repo.dec05eba.com/window-texture-egl
synced 2026-11-03 02:36:30 +00:00
Get the opengl texture associated with an X11 window (egl version, recommended)
- C 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| LICENSE | ||
| README.md | ||
| window_texture.c | ||
| window_texture.h | ||
Utility to get the opengl texture associated with a x11 window.
It is recommended to use this over https://git.dec05eba.com/window-texture/about/ since EGL window textures are more reliable than GLX window texture, especially on nvidia.
For example when you use a compositor such as picom you cant get window textures on nvidia (only one application gets access to window textures at a time).
However with EGL there is no such issue (limitation) on nvidia (nor amd and intel).
Dependencies
gl and egl (both are part of libglvnd), x11, xcomposite