All the bindings are generated from xml files in protocols/ directory.
The Client side bindings are available in bindings/client/ directory.
Server side bindings are W.I.P ATM.
Wayland EGL window bindings and implementation(not yet tested) are available in egl/ directory.
Both the Client and Server bindings are designed to load libwayland-client.so or libwayland-server.so respectively at runtime when init() is called. For more information about bindings, please refer to README in /bindings directory.
Two examples files used for testing client side bindings are provided. EGL and OpenGL example might be added later.
- A simple shared memory example(simple_client_shm.odin)
- A simple vulkan renderer(vulkan_blank_screen.odin)
To try them, cd into /examples directory and run odin run <file_name> -file