A binding for the OpenGL graphics system

Version on this page:
LTS Haskell 11.1:
Stackage Nightly 2018-03-20:
Latest on Hackage:

See all snapshots OpenGL appears in

BSD3 licensed by Sven Panne
Maintained by Sven Panne, Jason Dagit

Module documentation for

Hackage Stackage LTS Stackage nightly Build Status


  • Added support for S3s3tc, EXTtexturecompressions3tc, ARBtexturefloat, and EXTpackeddepth_stencil extensions.

  • Added Uniform instances for GLmatrix, Vertex1, Vector1, Vector2, Vector3, and Vector4.
  • Unbreak Uniform instances for GLint, GLuint and Gldouble.
  • Relaxed upper version bound for OpenGLRaw.

  • Removed redundant constraints.

  • Relaxed upper version bound for OpenGLRaw.

  • Depend on new OpenGLRaw and GLURaw packages.

  • Relaxed upper version bound for transformers.

  • Implement Uniform instances for GLint, GLuint, GLfloat, and GLdouble.

  • Aftermath for the glClearNamedFramebufferfi chaos in the OpenGL registry, see the corresponding issue on Khronos.

  • Added extensionSupported.
  • Relaxed upper version bound for OpenGLRaw.
  • Added to distribution.

  • Added missing drawing commands using vertex arrays and some related types.
  • Added missing whole framebuffer operations.
  • Added getters for stencilMaskSeparate, stencilFuncSeparate, and stencilOpSeparate, making them full-blown StateVars.
  • Added patchDefaultInnerLevel and patchDefaultOuterLevel to control the default tessellation levels.
  • Added ContextLost constructor to ErrorCategory type.
  • Added SeparateAttribs and deprecated SeperateAttribs, fixing a spelling mistake.
comments powered byDisqus