haskell-opengl / OpenGL

Haskell bindings to OpenGL
http://www.haskell.org/haskellwiki/OpenGL
BSD 3-Clause "New" or "Revised" License
147 stars 26 forks source link

glPatchParameter / GL_PATCHES missing #52

Open bananu7 opened 10 years ago

bananu7 commented 10 years ago

Despite tesselation shaders exposed, important functions regarding them are missing from the bindings.

hesiod commented 9 years ago

This is basically solved by #74. Some of the (more unimportant) implementation limits are still missing, but could easily be added if someone needs them.

svenpanne commented 9 years ago

@hesiod : I've tweaked #74 a bit yesterday (see df5dc42520a0b4537177883e67840416973952ca). @bananu7: In addition to what's already there, what exactly is important/urgent for you from the tesselation API? At one point I'll do a thorough review of the tessellation functionality, but if there's something easy I can add this quickly.

hesiod commented 9 years ago

@svenpanne: I'm not @bananu7, but as far as I understand, only some boring implementation limits (e.g. MAX_TESS_CONTROL_UNIFORM_COMPONENTS) and default values (e.g. PATCH_DEFAULT_OUTER_LEVEL) are missing.

bananu7 commented 9 years ago

Mmm, this is over a year old, @svenpanne, so it's hardly urgent :smile: . I rember trying to port a simple tesselation demo, failing, posting an issue and never going back to it.

That being said, I think doing things completely (as in, adding even those boring limits) can solve problems with someone, somewhere needing them later. Boring and tedious, but that's what OpenGL is about :)