Difference between revisions of "OGL"

From HaskellWiki
Jump to navigation Jump to search
 
Line 8: Line 8:
 
* Simplify concurrent OpenGL applications by explicitly tagging OpenGL code/contexts.
 
* Simplify concurrent OpenGL applications by explicitly tagging OpenGL code/contexts.
 
* Enforce static type checking on commands that can only be executed in certain OpenGL contexts (sending vertex data in immediate-mode for example).
 
* Enforce static type checking on commands that can only be executed in certain OpenGL contexts (sending vertex data in immediate-mode for example).
 
== Documentation ==
 
* [http://community.haskell.org/~hexpuem/doc/html/OGL/index.html Haddock]
 
   
 
== Source ==
 
== Source ==
* [http://hackage.haskell.org/cgi-bin/hackage-scripts/package/OGL-0.0.0 HackageDB]
+
* [http://hackage.haskell.org/cgi-bin/hackage-scripts/package/OGL-0.0.3 HackageDB]
 
* [http://aur.archlinux.org/packages.php?ID=21723 Arch Linux package]
 
* [http://aur.archlinux.org/packages.php?ID=21723 Arch Linux package]
   

Latest revision as of 20:15, 11 May 2009

Synopsis

A fork of the OpenGL 2.2.1.1 package.

Modifications to OpenGL IO using the -XGeneralizedNewtypeDeriving extension create context sensitive MonadIO aliases.

Motivation

  • Simplify concurrent OpenGL applications by explicitly tagging OpenGL code/contexts.
  • Enforce static type checking on commands that can only be executed in certain OpenGL contexts (sending vertex data in immediate-mode for example).

Source

Related Software

Caveats

  • Graphics.Rendering.OGL.GLU.* is untested.

Changelog

OGL 0.0.3

 Added:
  - OGL.Monad: liftGL 

OGL 0.0.2

 Fixed:
   - Removed Graphics.Rendering.OGL.GL.FlushFinish.GL redefinition.

OGL 0.0.1

 Fixed:
   - Haddock generation
 Added:
   - Num to the context of the MatrixComponent class

OGL 0.0.0

 Added:
   - OGL.Monad.
   - OGL.GL.StateVar: getIO, ($$=).  
   - OGL.GL.BufferObjects: mapBuffer, unmapBuffer.