Skip to content

Commit

Permalink
update cabal file
Browse files Browse the repository at this point in the history
  • Loading branch information
csabahruska committed Jan 6, 2014
1 parent 802e27c commit 8359116
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 35 deletions.
2 changes: 1 addition & 1 deletion lambdacube-core/LC_B_GL.hs
Expand Up @@ -22,7 +22,7 @@ import qualified Data.Vector.Unboxed.Mutable as MV

import Graphics.Rendering.OpenGL.Raw.Core32
( GLuint
-- * FRAMEBUFFER related *
-- FRAMEBUFFER related *
-- create
, glBindFramebuffer
, glDeleteFramebuffers
Expand Down
6 changes: 3 additions & 3 deletions lambdacube-core/LC_B_GLCompile.hs
Expand Up @@ -25,7 +25,7 @@ import Graphics.Rendering.OpenGL.Raw.Core32
, glEnable
, gl_TRUE

-- * SHADER PROGRAM related *
-- SHADER PROGRAM related *
, glAttachShader
, glBindFragDataLocation
, glCreateProgram
Expand All @@ -39,7 +39,7 @@ import Graphics.Rendering.OpenGL.Raw.Core32
, gl_LINK_STATUS
, gl_VERTEX_SHADER

-- * ACCUMULATION CONTEXT related *
-- ACCUMULATION CONTEXT related *
-- blending
, glBlendColor
, glBlendEquationSeparate
Expand All @@ -61,7 +61,7 @@ import Graphics.Rendering.OpenGL.Raw.Core32
, gl_DEPTH_TEST
, gl_STENCIL_TEST

-- * RASTER CONTEXT related *
-- RASTER CONTEXT related *
, glProvokingVertex
, gl_FIRST_VERTEX_CONVENTION
, gl_LAST_VERTEX_CONVENTION
Expand Down
6 changes: 3 additions & 3 deletions lambdacube-core/LC_B_GLData.hs
Expand Up @@ -18,7 +18,7 @@ import qualified Data.Vector as V
import Graphics.Rendering.OpenGL.Raw.Core32
( GLuint

-- * FUNCTION APPLICATION related *
-- FUNCTION APPLICATION related *
-- render call
, glDrawArrays
, glDrawElements
Expand All @@ -33,7 +33,7 @@ import Graphics.Rendering.OpenGL.Raw.Core32
, gl_TRIANGLE_STRIP
, gl_TRIANGLE_STRIP_ADJACENCY

-- * BUFFER related *
-- BUFFER related *
-- buffer data
, glBindBuffer
, glBindVertexArray
Expand All @@ -45,7 +45,7 @@ import Graphics.Rendering.OpenGL.Raw.Core32
, gl_ELEMENT_ARRAY_BUFFER
, gl_STATIC_DRAW

-- * TEXTURE related *
-- TEXTURE related *
-- texture data
, glBindTexture
, glGenTextures
Expand Down
8 changes: 4 additions & 4 deletions lambdacube-core/LC_B_GLUtil.hs
Expand Up @@ -48,7 +48,7 @@ import Graphics.Rendering.OpenGL.Raw.Core32
, gl_TRUE
, glGetIntegerv

-- * ERROR CHECKING related *
-- ERROR CHECKING related
-- error handling
, glGetError
, glCheckFramebufferStatus
Expand All @@ -71,7 +71,7 @@ import Graphics.Rendering.OpenGL.Raw.Core32
, gl_NO_ERROR
, gl_OUT_OF_MEMORY

-- * TEXTURE related *
-- TEXTURE related
-- texture data
, glActiveTexture
, glBindTexture
Expand Down Expand Up @@ -119,7 +119,7 @@ import Graphics.Rendering.OpenGL.Raw.Core32
, gl_RGBA32I
, gl_RGBA32UI

-- * SHADER related *
-- SHADER related
-- shader program
, glCompileShader
, glGetActiveAttrib
Expand Down Expand Up @@ -250,7 +250,7 @@ import Graphics.Rendering.OpenGL.Raw.Core32
, gl_UNSIGNED_INT_VEC3
, gl_UNSIGNED_INT_VEC4

-- * CONTEXT PARAMETER realted *
-- CONTEXT PARAMETER realted
-- depth and stencil operation
, gl_ALWAYS
, gl_EQUAL
Expand Down
43 changes: 19 additions & 24 deletions lambdacube-core/lambdacube-core.cabal
@@ -1,39 +1,34 @@
Name: lambdacube-core
Version: 0.5.0
Version: 0.1.0
Cabal-Version: >= 1.6 && < 2
Build-Type: Simple
License: BSD3
License-File: LICENSE
Author: Csaba Hruska, Gergely Patai
Maintainer: csaba (dot) hruska (at) gmail (dot) com
Stability: experimental
Homepage: http://www.haskell.org/haskellwiki/LambdaCubeEngine
Bug-Reports: http://code.google.com/p/lambdacube/issues
Homepage: http://lambdacube3d.wordpress.com/
Bug-Reports: https://github.com/csabahruska/lc-dsl/issues
Category: Graphics
Tested-With: GHC == 7.4.1
Synopsis: 3D rendering engine written entirely in Haskell
Tested-With: GHC == 7.6.3
Synopsis: LambdaCube 3D is a domain specific language and library that makes it possible to program GPUs in a purely functional style.
Description:
LambdaCube is a 3D rendering engine written entirely in Haskell.
It targets newer graphics hardware.The main goal of this project
is to provide a modern and feature rich graphical backend for
various Haskell projects (e.g. FRP libraries).
LambdaCube 3D is a domain specific language and library that makes
it possible to program GPUs in a purely functional style.
Programming with LambdaCube constitutes of composing a data-flow
description, which is compiled into a specialised library. The
language provides a uniform way to define shaders and compositor
chains by treating both streams and framebuffers as first-class
values.
.
As a user of the library you only need to import the "LC_API" and
"LC_Mesh" modules. You should check out the pointers at <http://lambdacube3d.wordpress.com/getting-started/>
to understand the principle behind the library, and also have a good look
at the @lambdacube-samples@ package.

Library
Build-Depends:
base,
binary,
bytestring,
containers,
mtl,
vector,

bytestring-trie,
prettyclass,
OpenGLRaw,
language-glsl,

bitmap

Build-Depends:
base >=4.6 && <4.7, containers >=0.5 && <0.6, mtl >=2.1 && <2.2, bytestring >=0.10 && <0.11, bytestring-trie >=0.2 && <0.3, vector >=0.10 && <0.11, OpenGLRaw >=1.4 && <1.5, bitmap >=0.0 && <0.1, prettyclass >=1.0 && <1.1, language-glsl >=0.0 && <0.1, binary >=0.7 && <0.8
Exposed-modules:
BiMap
LC_API
Expand Down

0 comments on commit 8359116

Please sign in to comment.