Package panamagl.platform.macos
package panamagl.platform.macos
-
ClassesClassDescriptionProvides main thread detection and dispatch on macOS using only the Panama FFI — no JNI and no native companion library required.The CGL API is a low-level, platform-independent API for creating, managing, and rendering 2D and 3D graphics in macOS and other operating systems.A frame buffer object, or
FBO_macOS, can render OpenGL into an offscreen buffer that can later be converted to aBufferedImage.Resolve OpenGL functions that are not part of the static bindings by looking for their symbol in the OpenGL framework, as already loaded byNativeLibLoader.This GLUTGLContextinitialize a GLUT offscreen context allowing to then invokeGLmethods.This offscreen renderer is able to ensure that OpenGL queries are performed inside the main macOS thread.Matches macOS on the 64-bit CPUs PanamaGL is tested on : x86_64 (reported by Java asamd64orx86_64) and ARM64 (aarch64orarm64).