The OpenGLRaw package

[ Tags: bsd3, graphics, library ] [ Propose Tags ]

OpenGLRaw is a raw Haskell binding for the OpenGL 3.1 graphics system and lots of OpenGL extensions. It is basically a 1:1 mapping of OpenGL's C API, intended as a basis for a nicer interface. OpenGLRaw offers access to all necessary functions, tokens and types plus a general facility for loading extension entries. The module hierarchy closely mirrors the naming structure of the OpenGL extensions, making it easy to find the right module to import. All API entries are loaded dynamically, so no special C header files are needed for building this package. If an API entry is not found at runtime, a userError is thrown.

OpenGL is the industry's most widely used and supported 2D and 3D graphics application programming interface (API), incorporating a broad set of rendering, texture mapping, special effects, and other powerful visualization functions. For more information about OpenGL and its various extensions, please see and


Dependencies base (>=3 && <4.6) [details]
License BSD3
Maintainer Sven Panne <>
Category Graphics
Home page
Bug tracker
Uploaded Thu Jun 11 16:43:03 UTC 2009 by SvenPanne
Updated Tue Jan 5 10:58:21 UTC 2016 by HerbertValerioRiedel to revision 1   [What is this?]
Distributions Debian:, FreeBSD:, LTSHaskell:, NixOS:, Stackage:, openSUSE:
Downloads 37918 total (288 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI





When compiling under Windows, use the native libraries instead of e.g. the ones coming with Cygwin.


Use glXGetProcAddress instead of dlsym on non-Windows/-Darwin platforms.


Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees