A binding for the OpenGL graphics system

Version on this page:
LTS Haskell 12.23:
Stackage Nightly 2018-12-15:
Latest on Hackage:

See all snapshots OpenGL appears in

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

Module documentation for

There are no documented modules for this package.

Hackage Stackage LTS Stackage nightly Build Status


  • Relaxed upper version bound for containers.

  • Relaxed upper version bound for OpenGLRaw.

  • Added support for S3_s3tc, EXT_texture_compression_s3tc, ARB_texture_float, and EXT_packed_depth_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