Notes

Thoughts, write-ups, and things worth remembering.

OpenGL Hub

#graphics#opengl Updated Oct 13, 2026

Hub card for OpenGL (3.2 Core, Qt). Holds the core idea and the map to the atomic cards.

Core

  • CPU builds data, then uploads it. GPU objects live in GPU memory; the CPU only holds a GLuint handle, a door number for the real object.
  • Every glXXX() call asks the driver to act on some object N.
  • OpenGL is a big state machine. glBindBuffer() / glUseProgram() select an object; later calls that read that slot use the selected object.
  • Variable names like vao or bufferPosition are project examples, not OpenGL names.

1. Workflow

2. Objects and data

3. API

4. Shaders

5. Debugging

Not yet carded

Interleaved vertex layouts (stride/offset), textures and samplers, framebuffers, depth test and blending in GL.

Graphics Pipeline Hub · Matrix composition order (SRT)