GPipe

Typesafe functional GPU graphics programming https://github.com/tobbebex/GPipe-Core#readme

LTS Haskell 9.1:2.2.1
Stackage Nightly 2017-07-25:2.2.1
Latest on Hackage:2.2.1
MIT licensed and maintained by Tobias Bexelius

Module documentation for 2.2.1

There are no documented modules for this package.

A typesafe API based on the conceptual model of OpenGl, but without the imperative state machine. Aims to be as close to the raw OpenGl performance as possible, without compromising type safety or functional style. Includes DSL for shaders to provide type safety even when crossing into that domain. Uses OpenGl 3.3 core profile under the hood.

Changes

2.2.1

  • Render monad would crash if using deleted windows, when that should be a no-op. (#41).
  • Manually deleting last visible window causes objects to be deleted (#42).

2.2

  • Windows are now explicit objects dynamically created and deleted with newWindow and deleteWindow, and are sent as parameter to drawWindowColor et al. (#18)
  • Each window created can now take their own window manager specific parameters (#19)
  • Update to GHC 8.0.2 and gl-0.8.0 (#38)

2.1.8

  • Update dependencies to make it build with stack resolver nightly-2016-09-24

2.1.7

  • Runtime optimizations (Use BaseVertex for glDraw* instead of offsetting each attribute)

2.1.6

  • Adding support for normal Floats, Int32s and Word32s in PrimitiveStreams
  • Runtime optimizations

2.1.5

  • Fixed bug in clear where masks weren't set
  • Added up to 7-tuple instances

2.1.4

  • Fixed bug in dropVertices and dropIndices (#16)
  • Added withPointSize (#15)

2.1.3

  • Fixed bug in clearImage

2.1.2

  • Fixed bug when nesting while, ifThen, ifThenElse or ifThenElse'.

2.1.1

  • Made ifB use ifThenElse' instead to avoid unwanted strictness
  • Fixed bug where ShaderBaseType for () wasn't lazy enough, causing error in ifThenElse'
  • Added missing () instances

2.1

  • Making dangling finalizers work with shared and unshared contexts (#10)
  • Moved orphan instances to separate module (#11)
  • Fixing a bug introduced in 2.0.2 when using multiple uniforms
  • Fixing exception when using conditionals in the shader (#12)

2.0.2

  • Linear bumped to 1.20
  • Running contextSwap and contextFrameBufferSize on right thread (#7)
  • render now throws if rendering to an image from a texture thats used for sampling (#8)
  • Added GPipe class instances for all linear types (#9)

2.0.1

  • Fixed runtime error in simple fragment program when not all uniforms where used (#5)

2.0

  • Initial release of GPipe 2
comments powered byDisqus