Investigating Linux graphics

I learn how to draw a triangle with a GPU, and then trace the code to find out how the graphics system works (or doesn't), looking at Mesa3D, GLFW, OpenGL, Vulkan, Wayland and Linux DRM. Table of Contents Introduction Overview OpenGL Vulkan Synchronisation First attempt at tracing Removing GLFW Removing Vulkan's Wayland extension Wayland walk-through Kernel details with bpftrace Start-up and…