The OpenGLRaw package

[Tags: bsd3, library]

OpenGLRaw is a raw Haskell binding for the OpenGL 4.5 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

[Skip to ReadMe]


Dependenciesbase (==4.*), bytestring (>=0.9 && <0.11), containers (>=0.3 && <0.6), half (>= && <0.3), text (>=0.1 && <1.3), transformers (>=0.2 && <0.5) [details]
CopyrightCopyright (C) 2009-2015 Sven Panne
AuthorSven Panne
MaintainerSven Panne <>, Jason Dagit <>
Home page
Bug tracker
Source repositoryhead: git clone
UploadedSun Nov 29 15:55:12 UTC 2015 by SvenPanne
DistributionsDebian:, Fedora:, FreeBSD:, NixOS:, Stackage:
Downloads24430 total (164 in last 30 days)
0 []
StatusDocs available [build log]
Last success reported on 2015-11-29 [all 2 reports]




usenativewindowslibrariesWhen compiling under Windows, use the native libraries instead of e.g. the ones coming with Cygwin.EnabledAutomatic
useglxgetprocaddressUse glXGetProcAddress instead of dlsym on non-Windows/-Darwin/-Android platforms.EnabledAutomatic
usegles2Use OpenGL ES 2.x instead of OpenGL ES 3.x on Android.EnabledAutomatic
osandroidCompile for Android. This flag goes away when cabal supports os(android).DisabledAutomatic

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


Maintainers' corner

For package maintainers and hackage trustees

Readme for OpenGLRaw-

Hackage Build Status