Files
Claude 78e1b51381 Add OpenGL, GLU and AGL for PowerPC
GL/gl.h (OpenGL 1.2) and GL/glext.h come from the Khronos registry by
tools/gen-gl.py; GL/glu.h (GLU 1.3) and AGL/agl.h (AGL 2.0) are written
by hand. The linker imports OpenGLLibrary and OpenGLUtility weakly, and
the declarations are weak on PowerPC, so a program can test a function
for NULL on a Mac without OpenGL.

tools/fakegl.py gives tools/simppc.py a fake OpenGL that keeps the AGL
objects and an off-screen buffer; tests/gl.c checks the calls with it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTDFNgD4oK9xbDsEGn
2026-11-25 19:22:53 +00:00
..