NAME ^

config/gen/opengl.pm - OpenGL binding generated files

DESCRIPTION ^

Generates several files used by the OpenGL binding. These include:

runtime/parrot/include/opengl_defines.pasm

NAME ^

$C_FILE - GLUT Callback Function Handling

DESCRIPTION ^

GLUT callbacks are always synchronous and have void return type. None of them accept user data parameters, so normal Parrot callback handling cannot be used.

Functions ^

void glutcbTimerFunc(PARROT_INTERP, sub, milliseconds, data)

Register a Sub PMC to handle GLUT Timer callbacks.

void glutcbJoystickFunc(PARROT_INTERP, sub, pollinterval)

Register a Sub PMC to handle GLUT Joystick callbacks.

void $_-{glutcb}(PARROT_INTERP, sub)>

Register a Sub PMC to handle GLUT $_->{friendly} callbacks.


parrot