Personal tools

OGL

From HaskellWiki

(Difference between revisions)
Jump to: navigation, search
Current revision (20:15, 11 May 2009) (edit) (undo)
 
(9 intermediate revisions not shown.)
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).
 +
 +
== Source ==
 +
* [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]
== 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 ==
* Graphics.Rendering.OGL.GLU.* is untested.
* Graphics.Rendering.OGL.GLU.* is untested.
-
== Changes from the official hOpenGL package ==
+
== 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 ====
==== OGL 0.0.0 ====
-
- OGL.Monad module added.
+
Added:
-
- getIO, ($$=) in OGL.GL.StateVar for compatibility.
+
- OGL.Monad.
-
- mapBuffer, unmapBuffer exposed by OGL.GL.BufferObjects
+
- OGL.GL.StateVar: getIO, ($$=).
 +
- OGL.GL.BufferObjects: mapBuffer, unmapBuffer.

Current revision

Contents

1 Synopsis

A fork of the OpenGL 2.2.1.1 package.

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

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

3 Source

4 Related Software

5 Caveats

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

6 Changelog

6.1 OGL 0.0.3

 Added:
  - OGL.Monad: liftGL 

6.2 OGL 0.0.2

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

6.3 OGL 0.0.1

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

6.4 OGL 0.0.0

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