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://72.167.145.184/doc/html/OGL/index.html Haddock]
   
 
== Related Software ==
 
== Related Software ==
* [[GLFW-OGL]] - A sloppy port of the [[GLFW]] package to OGL.
+
* [[GLFW-OGL]] - A provisional port of the [[GLFW]] package to OGL.
   
 
== Caveats ==
 
== Caveats ==

Revision as of 23:58, 16 November 2008

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).

Documentation

Related Software

Caveats

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

Changes from the official hOpenGL package

OGL 0.0.0

 - OGL.Monad module added.
 - getIO, ($$=) in OGL.GL.StateVar for compatibility.  
 - mapBuffer, unmapBuffer exposed by OGL.GL.BufferObjects