Previous: Windows, Up: Window Management [Contents][Index]
Create an OpenGL context for window.
Delete context, an OpenGL context object.
Call proc with a new OpenGL context created for window, and close the context when proc returns or otherwise exits.
Update window with OpenGL rendering.
Set the OpenGL attribute represented by the symbol attr to value. Possible values for attr are:
red-size
green-size
blue-size
alpha-size
buffer-size
double-buffer
depth-size
stencil-size
accum-red-size
accum-green-size
accum-blue-size
stereo
multisample-buffers
multisample-samples
retained-backing
context-major-version
context-minor-version
context-egl
context-flags
context-profile-mask
share-with-current-context
framebuffer-srgb-capable
Set the framebuffer swap interval for the current OpenGL context to the type indicated by the symbol interval. Possible values of interval are:
immediate
, for immediate updates
vsync
, for updates synchronized with the screen’s vertical retrace
late-swap-tear
, for late swap tearing
Late swap tearing works the same as vsync, but if the vertical retrace has been missed for a given frame, buffers are swapped immediately, which might be less jarring for the user during occasional framerate drops.