aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* gl: rgb trianglegl/rgb-triangleYaroslav de la Peña Smirnov2024-09-21
|
* gl: squaregl/squareYaroslav de la Peña Smirnov2024-09-21
|
* gl: make viewport resize with windowgl/triangleYaroslav de la Peña Smirnov2024-09-21
| | | | | Keep it square, but make it so the sides of the viewport are equal to shorter side of the window.
* opengl: triangleYaroslav de la Peña Smirnov2024-09-21
| | | | OpenGL hello world triangle on Wayland.
* improve shm hello wayland clientYaroslav de la Peña Smirnov2024-09-11
| | | | | | | * Don't allocate a new buffer on each frame; preallocate two buffers and realloc only on window size change. * Refactor code a bit. * Minor cosmetic changes.
* init: zig wayland hello world clientYaroslav de la Peña Smirnov2024-09-07
Adapted the example from chapters 7 and 8 of the Wayland book (https://wayland-book.com/) into Zig.