The content discusses how to recreate a window using modern OpenGL shaders by embedding them in the source code. It walks through the process of initializing OpenGL, creating a window, initializing shaders, and vertex data. The post highlights the use of VBO instead of VAO, binds arrays of vertices and colors, and details the vertex and fragment shader code. It concludes by emphasizing that the approach is for educational purposes and suggests loading shaders dynamically. The author recommends breaking down the code for maintainability in a real project. The content provides a detailed guide for creating a simple program using Xlib and OpenGL.
https://hereket.com/posts/x11_window_with_shaders/