/* * $Id$ * * $Date$ * $Revision$ * * Written in 2018 by Daniel "Daytona675x" Müßener * * This file is part of the MiniGL library project * See the file Licence.txt for more details * */ #ifndef _CGL_PROTOTYPES_H_ #define _CGL_PROTOTYPES_H_ #ifdef __cplusplus extern "C" { #endif ULONG cgl_Obtain(struct GLContextIFace *); ULONG cgl_Release(struct GLContextIFace *); void cgl_SetBitmap(struct GLContextIFace *, void * bitmap); void cgl_DeleteContext(struct GLContextIFace *); void cgl_EnableSync(struct GLContextIFace *, GLboolean enable); void cgl_MinTriArea(struct GLContextIFace *, GLfloat area); void * cgl_GetWindowHandle(struct GLContextIFace *); GLboolean cgl_LockDisplay(struct GLContextIFace *); void cgl_ResizeContext(struct GLContextIFace *, GLsizei width, GLsizei height); void cgl_SetState(struct GLContextIFace *, GLenum cap, GLboolean state); void cgl_SwitchDisplay(struct GLContextIFace *); void cgl_UnlockDisplay(struct GLContextIFace *); void cgl_LockMode(struct GLContextIFace *, GLenum lockMode); void cgl_SetZOffset(struct GLContextIFace *, GLfloat offset); GLboolean cgl_LockBack(struct GLContextIFace *, MGLLockInfo *info); void cgl_GrabFocus(struct GLContextIFace *, GLboolean grab); void cgl_PinTexture(struct GLContextIFace *, GLuint texnum); void cgl_UnpinTexture(struct GLContextIFace *, GLuint texnum); void cgl_SetTextureRenderTarget(struct GLContextIFace *, GLuint texnum); void cgl_GLAlphaFunc(struct GLContextIFace *, GLenum func, GLclampf ref); void cgl_GLBegin(struct GLContextIFace *, GLenum mode); void cgl_GLBindTexture(struct GLContextIFace *, GLenum target, GLuint texture); void cgl_GLBlendFunc(struct GLContextIFace *, GLenum sfactor, GLenum dfactor); void cgl_GLClear(struct GLContextIFace *, GLbitfield mask); void cgl_GLClearColor(struct GLContextIFace *, GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); void cgl_GLClearDepth(struct GLContextIFace *, GLclampd depth); void cgl_GLColor4f(struct GLContextIFace *, GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); void cgl_GLColorTable(struct GLContextIFace *, GLenum target, GLenum internalformat, GLint width, GLenum format, GLenum type, const GLvoid* data); void cgl_GLCullFace(struct GLContextIFace *, GLenum mode); void cgl_GLDeleteTextures(struct GLContextIFace *, GLsizei n, const GLuint *textures); void cgl_GLDepthFunc(struct GLContextIFace *, GLenum func); void cgl_GLDepthMask(struct GLContextIFace *, GLboolean flag); void cgl_GLDepthRange(struct GLContextIFace *, GLclampd n, GLclampd f); void cgl_GLDrawBuffer(struct GLContextIFace *, GLenum mode); void cgl_GLEnd(struct GLContextIFace *); void cgl_GLFinish(struct GLContextIFace *); void cgl_GLFlush(struct GLContextIFace *); void cgl_GLFogf(struct GLContextIFace *, GLenum pname, GLfloat param); void cgl_GLFogfv(struct GLContextIFace *, GLenum pname, GLfloat *param); void cgl_GLFrontFace(struct GLContextIFace *, GLenum mode); void cgl_GLFrustum(struct GLContextIFace *, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); void cgl_GLGenTextures(struct GLContextIFace *, GLsizei n, GLuint *textures); void cgl_GLGetBooleanv(struct GLContextIFace *, GLenum pname, GLboolean *params); GLenum cgl_GLGetError(struct GLContextIFace *); void cgl_GLGetFloatv(struct GLContextIFace *, GLenum pname, GLfloat *params); void cgl_GLGetIntegerv(struct GLContextIFace *, GLenum pname, GLint *params); const GLubyte* cgl_GLGetString(struct GLContextIFace *, GLenum name); void cgl_GLHint(struct GLContextIFace *, GLenum target, GLenum mode); GLboolean cgl_GLIsEnabled(struct GLContextIFace *, GLenum cap); void cgl_GLLoadIdentity(struct GLContextIFace *); void cgl_GLLoadMatrixd(struct GLContextIFace *, const GLdouble *m); void cgl_GLLoadMatrixf(struct GLContextIFace *, const GLfloat *m); void cgl_GLMatrixMode(struct GLContextIFace *, GLenum mode); void cgl_GLMultMatrixd(struct GLContextIFace *, const GLdouble *m); void cgl_GLMultMatrixf(struct GLContextIFace *, const GLfloat *m); void cgl_GLNormal3f(struct GLContextIFace *, GLfloat x, GLfloat y, GLfloat z); void cgl_GLOrtho(struct GLContextIFace *, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); void cgl_GLPixelStorei(struct GLContextIFace *, GLenum pname, GLint param); void cgl_GLPolygonMode(struct GLContextIFace *, GLenum face, GLenum mode); void cgl_GLPolygonOffset(struct GLContextIFace *, GLfloat factor, GLfloat units); void cgl_GLPopMatrix(struct GLContextIFace *); void cgl_GLPushMatrix(struct GLContextIFace *); void cgl_GLReadPixels(struct GLContextIFace *, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels); void cgl_GLRotatef(struct GLContextIFace *, GLfloat angle, GLfloat x, GLfloat y, GLfloat z); void cgl_GLScalef(struct GLContextIFace *, GLfloat x, GLfloat y, GLfloat z); void cgl_GLScissor(struct GLContextIFace *, GLint x, GLint y, GLsizei width, GLsizei height); void cgl_GLShadeModel(struct GLContextIFace *, GLenum mode); void cgl_GLTexCoord2f(struct GLContextIFace *, GLfloat s, GLfloat t); void cgl_GLTexCoord4f(struct GLContextIFace *, GLfloat s, GLfloat t, GLfloat r, GLfloat q); void cgl_GLTexEnvi(struct GLContextIFace *, GLenum target, GLenum pname, GLint param); void cgl_GLTexEnvfv(struct GLContextIFace *, GLenum target, GLenum pname, const GLfloat* param); void cgl_GLTexGeni(struct GLContextIFace *, GLenum coord, GLenum mode, GLint param); void cgl_GLTexGenfv(struct GLContextIFace *, GLenum coord, GLenum pname, GLfloat *params); void cgl_GLTexImage2D(struct GLContextIFace *, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels); void cgl_GLTexParameteri(struct GLContextIFace *, GLenum target, GLenum pname, GLint param); void cgl_GLTexSubImage2D(struct GLContextIFace *, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels); void cgl_GLTranslatef(struct GLContextIFace *, GLfloat x, GLfloat y, GLfloat z); void cgl_GLVertex4f(struct GLContextIFace *, GLfloat x, GLfloat y, GLfloat z, GLfloat w); void cgl_GLViewport(struct GLContextIFace *, GLint x, GLint y, GLsizei width, GLsizei height); void cgl_GLPushAttrib(struct GLContextIFace *, GLbitfield attrib); void cgl_GLPopAttrib(struct GLContextIFace *); void cgl_GLRectf(struct GLContextIFace *, GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2); void cgl_GLEnableClientState(struct GLContextIFace *, GLenum state); void cgl_GLDisableClientState(struct GLContextIFace *, GLenum state); void cgl_GLTexCoordPointer(struct GLContextIFace *, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); void cgl_GLNormalPointer(struct GLContextIFace *, GLenum type, GLsizei stride, const GLvoid *pointer); void cgl_GLColorPointer(struct GLContextIFace *, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); void cgl_GLVertexPointer(struct GLContextIFace *, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); void cgl_GLDrawElements(struct GLContextIFace *, GLenum mode, GLsizei cound, GLenum type, const GLvoid *indices); void cgl_GLDrawArrays(struct GLContextIFace *, GLenum mode, GLint first, GLsizei count); void cgl_GLArrayElement(struct GLContextIFace *, GLint i); void cgl_GLClientActiveTexture(struct GLContextIFace *, GLenum texture); void cgl_GLInterleavedArrays(struct GLContextIFace *, GLenum format, GLsizei stride, const GLvoid *pointer); void cgl_GLLockArrays(struct GLContextIFace *, GLint first, GLsizei count); void cgl_GLUnlockArrays(struct GLContextIFace *); void cgl_GLActiveTexture(struct GLContextIFace *, GLenum unit); void cgl_GLMultiTexCoord2f(struct GLContextIFace *, GLenum unit, GLfloat s, GLfloat t); void cgl_GLMultiTexCoord4f(struct GLContextIFace *, GLenum unit, GLfloat s, GLfloat t, GLfloat r, GLfloat q); void cgl_GLMaterialf(struct GLContextIFace *, GLenum face, GLenum pname, GLfloat param); void cgl_GLMaterialfv(struct GLContextIFace *, GLenum face, GLenum pname, const GLfloat* params); void cgl_GLMaterialiv(struct GLContextIFace *, GLenum face, GLenum pname, const GLint* params); void cgl_GLLightf(struct GLContextIFace *, GLenum light, GLenum pname, GLfloat param); void cgl_GLLightfv(struct GLContextIFace *, GLenum light, GLenum pname, const GLfloat* params); void cgl_GLLightiv(struct GLContextIFace *, GLenum light, GLenum pname, const GLint* params); void cgl_GLLightModelf(struct GLContextIFace *, GLenum pname, GLfloat param); void cgl_GLLightModelfv(struct GLContextIFace *, GLenum pname, const GLfloat* params); void cgl_GLLightModeliv(struct GLContextIFace *, GLenum pname, const GLint* params); void cgl_GLColorMaterial(struct GLContextIFace *, GLenum face, GLenum mode); void cgl_GLStencilFunc(struct GLContextIFace *, GLenum func, GLint ref, GLint mask); void cgl_GLStencilOp(struct GLContextIFace *, GLenum sfail, GLenum dpfail, GLenum dppass); void cgl_GLStencilMask(struct GLContextIFace *, GLuint mask); void cgl_GLClearStencil(struct GLContextIFace *, GLint s); void cgl_GLColorMask(struct GLContextIFace *, GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); void cgl_GLLineWidth(struct GLContextIFace *, GLfloat width); void cgl_GLClipPlane(struct GLContextIFace *, GLenum plane, const GLdouble *eqn); void cgl_GLPointSize(struct GLContextIFace *, GLfloat size); void cgl_GLBitmap(struct GLContextIFace *, GLsizei w, GLsizei h, GLfloat xbo, GLfloat ybo, GLfloat xbi, GLfloat ybi, const GLubyte *data); void cgl_GLLineStipple(struct GLContextIFace *, GLint factor, GLushort pattern); void cgl_GLPolygonStipple(struct GLContextIFace *, GLubyte *pattern); void cgl_GLRasterPos4f(struct GLContextIFace *, GLfloat x, GLfloat y, GLfloat z, GLfloat w); void cgl_GLCallList(struct GLContextIFace *, GLuint list); void cgl_GLCallLists(struct GLContextIFace *, GLsizei n, GLenum type, const GLvoid* lists); void cgl_GLDeleteLists(struct GLContextIFace *, GLuint list, GLsizei range); void cgl_GLEndList(struct GLContextIFace *); GLuint cgl_GLGenLists(struct GLContextIFace *, GLsizei range); GLboolean cgl_GLIsList(struct GLContextIFace *, GLuint list); void cgl_GLListBase(struct GLContextIFace *, GLuint base); void cgl_GLNewList(struct GLContextIFace *, GLuint list, GLenum mode); void cgl_GLGetDoublev(struct GLContextIFace *, GLenum pname, GLdouble *params); GLboolean cgl_GLIsTexture(struct GLContextIFace *, GLuint texture); void cgl_GLInitNames(struct GLContextIFace *); void cgl_GLLoadName(struct GLContextIFace *, GLuint name); void cgl_GLPushName(struct GLContextIFace *, GLuint name); void cgl_GLPopName(struct GLContextIFace *); void cgl_GLSelectBuffer(struct GLContextIFace *, GLsizei size, GLuint* buffer); GLint cgl_GLRenderMode(struct GLContextIFace *, GLenum mode); void cgl_GLGetTexEnviv(struct GLContextIFace *, GLenum target, GLenum pname, GLint* params); GLboolean cgl_GLAreTexturesResident(struct GLContextIFace *, GLsizei n, GLuint* textures, GLboolean* residences); void cgl_GLGetLightfv(struct GLContextIFace *, GLenum light, GLenum , GLfloat* params); void cgl_GLGetLightiv(struct GLContextIFace *, GLenum light, GLenum , GLint* params); void cgl_GLGetTexLevelParameterfv(struct GLContextIFace *, GLenum target, GLint level, GLenum pname, GLfloat* params); void cgl_GLGetTexLevelParameteriv(struct GLContextIFace *, GLenum target, GLint level, GLenum pname, GLint* params); void cgl_GLMap1f(struct GLContextIFace *, GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat* points); void cgl_GLMap1d(struct GLContextIFace *, GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLdouble* points); void cgl_GLEvalCoord1f(struct GLContextIFace *, GLfloat arg); void cgl_GLMapGrid1f(struct GLContextIFace *, GLint n, GLfloat u1, GLfloat u2); void cgl_GLEvalMesh1(struct GLContextIFace *, GLenum mode, GLint p1, GLint p2); void cgl_GLEvalPoint1(struct GLContextIFace *, GLint p); void cgl_GLPushClientAttrib(struct GLContextIFace *, GLbitfield attrib); void cgl_GLPopClientAttrib(struct GLContextIFace *); GLboolean cgl_SetDisplayMode(struct GLContextIFace *, GLboolean windowed, GLsizei width, GLsizei height, GLint depth); void cgl_GLMap2f(struct GLContextIFace *, GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat* points); void cgl_GLMap2d(struct GLContextIFace *, GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble* points); void cgl_GLEvalCoord2f(struct GLContextIFace *, GLfloat u, GLfloat v); void cgl_GLMapGrid2f(struct GLContextIFace *, GLint nu, GLfloat u1, GLfloat u2, GLint nv, GLfloat v1, GLfloat v2); void cgl_GLEvalMesh2(struct GLContextIFace *, GLenum mode, GLint p1, GLint p2, GLint q1, GLint q2); void cgl_GLEvalPoint2(struct GLContextIFace *, GLint p, GLint q); void cgl_GLDrawPixels(struct GLContextIFace *, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid * pixels); void cgl_GLGetMapfv(struct GLContextIFace *, GLenum map, GLenum value, GLfloat * data); void cgl_GLGetMapdv(struct GLContextIFace *, GLenum map, GLenum value, GLdouble * data); void cgl_GLGetMapiv(struct GLContextIFace *, GLenum map, GLenum value, GLint * data); void cgl_GLGetMaterialiv(struct GLContextIFace *, GLenum face, GLenum value, GLint * data); void cgl_GLGetMaterialfv(struct GLContextIFace *, GLenum face, GLenum value, GLfloat * data); void cgl_GLPixelTransferf(struct GLContextIFace *, GLenum param, GLfloat value); void cgl_GLGetTexImage(struct GLContextIFace *, GLenum target, GLint lod, GLenum format, GLenum type, GLvoid* ); void cgl_GLTexParameterfv(struct GLContextIFace *, GLenum target, GLenum pname, GLfloat * params); void cgl_GLTexParameteriv(struct GLContextIFace *, GLenum target, GLenum pname, GLint * params); void cgl_GLDrawRangeElements(struct GLContextIFace *, GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid * indices); void cgl_GLCopyTexImage2D(struct GLContextIFace *, GLenum target, GLint level, GLint internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); void cgl_GLCopyTexSubImage2D(struct GLContextIFace *, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); void cgl_GLGetClipPlane(struct GLContextIFace *, GLenum plane, GLdouble * eqn); void cgl_GLReadBuffer(struct GLContextIFace *, GLenum src); void cgl_MGLSetFrontBuffer(struct GLContextIFace *, void * bitmap); void cgl_MGLSetBackBuffer(struct GLContextIFace *, void * bitmap); GLboolean cgl_MGLSetAuxBuffer(struct GLContextIFace *, GLenum buffer, void * bitmap); GLUtesselator * cgl_GLUNewTess(struct GLContextIFace *); void cgl_GLUDeleteTess(struct GLContextIFace *, GLUtesselator * tess); void cgl_GLUTessProperty(struct GLContextIFace *, GLUtesselator * tess, GLenum which, GLdouble value); void cgl_GLUGetTessProperty(struct GLContextIFace *, GLUtesselator * tess, GLenum which, GLdouble * value); void cgl_GLUTessNormal(struct GLContextIFace *, GLUtesselator * tess, GLdouble x, GLdouble y, GLdouble z); void cgl_GLUTessCallback(struct GLContextIFace *, GLUtesselator * tess, GLenum which, void * fn); void cgl_GLUTessVertex(struct GLContextIFace *, GLUtesselator * tess, GLdouble * coords, void * data); void cgl_GLUTessBeginPolygon(struct GLContextIFace *, GLUtesselator * tess, void * data); void cgl_GLUTessBeginContour(struct GLContextIFace *, GLUtesselator * tess); void cgl_GLUTessEndContour(struct GLContextIFace *, GLUtesselator * tess); void cgl_GLUTessEndPolygon(struct GLContextIFace *, GLUtesselator * tess); void cgl_GLUBeginPolygon(struct GLContextIFace *, GLUtesselator * tess); void cgl_GLUNextContour(struct GLContextIFace *, GLUtesselator * tess, GLenum type); void cgl_GLUEndPolygon(struct GLContextIFace *, GLUtesselator * tess); GLubyte * cgl_GLUErrorString(struct GLContextIFace *, GLenum error); GLint cgl_GLUScaleImage(struct GLContextIFace *, GLenum format, GLsizei widthin, GLsizei heightin, GLenum typein, const void * datain, GLsizei widthout, GLsizei heightout, GLenum typeout, void * dataout); GLint cgl_GLUBuild2DMipmapLevels(struct GLContextIFace *, GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, GLint userLevel, GLint baseLevel, GLint maxlevel, const void * data); GLint cgl_GLUBuild2DMipmaps(struct GLContextIFace *, GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void * data); void cgl_GLUOrtho2D(struct GLContextIFace *, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top); void cgl_GLUPerspective(struct GLContextIFace *, GLdouble fovy, GLdouble aspect, GLdouble zNear, GLdouble zFar); void cgl_GLULookAt(struct GLContextIFace *, GLdouble eyex, GLdouble eyey, GLdouble eyez, GLdouble centerx, GLdouble centery, GLdouble centerz, GLdouble upx, GLdouble upy, GLdouble upz); GLint cgl_GLUProject(struct GLContextIFace *, GLdouble objx, GLdouble objy, GLdouble objz, const GLdouble * modelMatrix, const GLdouble * projMatrix, const GLint * viewPort, GLdouble * winx, GLdouble * winy, GLdouble * winz); GLint cgl_GLUUnProject(struct GLContextIFace *, GLdouble winx, GLdouble winy, GLdouble winz, const GLdouble * modelMatrix, const GLdouble * projMatrix, const GLint * viewPort, GLdouble * objx, GLdouble * objy, GLdouble * objz); GLint cgl_GLUUnProject4(struct GLContextIFace *, GLdouble winx, GLdouble winy, GLdouble winz, GLdouble clipw, const GLdouble * modelMatrix, const GLdouble * projMatrix, const GLint * viewPort, GLdouble nearVal, GLdouble farVal, GLdouble * objx, GLdouble * objy, GLdouble * objz, GLdouble * objw); void cgl_GLUPickMatrix(struct GLContextIFace *, GLdouble x, GLdouble y, GLdouble deltax, GLdouble deltay, GLint * viewport); GLUquadric * cgl_GLUNewQuadric(struct GLContextIFace *); void cgl_GLUDeleteQuadric(struct GLContextIFace *, GLUquadric * state); void cgl_GLUQuadricCallback(struct GLContextIFace *, GLUquadric * qobj, GLenum which, void * fn); void cgl_GLUQuadricNormals(struct GLContextIFace *, GLUquadric * qovbj, GLenum normals); void cgl_GLUQuadricTexture(struct GLContextIFace *, GLUquadric * qobj, GLboolean texture); void cgl_GLUQuadricOrientation(struct GLContextIFace *, GLUquadric * qobj, GLenum orientation); void cgl_GLUQuadricDrawStyle(struct GLContextIFace *, GLUquadric * qobj, GLenum drawStyle); void cgl_GLUCylinder(struct GLContextIFace *, GLUquadric * qobj, GLdouble baseRadius, GLdouble topRadius, GLdouble height, GLint slices, GLint stacks); void cgl_GLUDisk(struct GLContextIFace *, GLUquadric * qobj, GLdouble innerRadius, GLdouble outerRadius, GLint slices, GLint loops); void cgl_GLUPartialDisk(struct GLContextIFace *, GLUquadric * qobj, GLdouble innerRadius, GLdouble outerRadius, GLint slices, GLint loops, GLdouble startAngle, GLdouble sweepAngle); void cgl_GLUSphere(struct GLContextIFace *, GLUquadric * qobj, GLdouble radius, GLint slices, GLint stacks); const GLubyte * cgl_GLUGetString(struct GLContextIFace *, GLenum name); GLboolean cgl_GLUCheckExtension(struct GLContextIFace *, const GLubyte * extName, const GLubyte * extString); GLUnurbs * cgl_GLUNewNurbsRenderer(struct GLContextIFace *); void cgl_GLUDeleteNurbsRenderer(struct GLContextIFace *, GLUnurbs * r); void cgl_GLUDeleteNurbsTessellatorEXT(struct GLContextIFace *, GLUnurbs * r); void cgl_GLUBeginSurface(struct GLContextIFace *, GLUnurbs * r); void cgl_GLUBeginCurve(struct GLContextIFace *, GLUnurbs * r); void cgl_GLUEndCurve(struct GLContextIFace *, GLUnurbs * r); void cgl_GLUEndSurface(struct GLContextIFace *, GLUnurbs * r); void cgl_GLUBeginTrim(struct GLContextIFace *, GLUnurbs * r); void cgl_GLUEndTrim(struct GLContextIFace *, GLUnurbs * r); void cgl_GLUPwlCurve(struct GLContextIFace *, GLUnurbs * r, GLint count, GLfloat * array, GLint stride, GLenum type); void cgl_GLUNurbsCurve(struct GLContextIFace *, GLUnurbs * r, GLint nknots, GLfloat * knot, GLint stride, GLfloat * ctlarray, GLint order, GLenum type); void cgl_GLUNurbsSurface(struct GLContextIFace *, GLUnurbs * r, GLint sknot_count, GLfloat * sknot, GLint tknot_count, GLfloat * tknot, GLint s_stride, GLint t_stride, GLfloat * ctlarray, GLint sorder, GLint torder, GLenum type); void cgl_GLULoadSamplingMatrices(struct GLContextIFace *, GLUnurbs * r, const GLfloat * modelMatrix, const GLfloat * projMatrix, const GLint * viewport); void cgl_GLUNurbsProperty(struct GLContextIFace *, GLUnurbs * r, GLenum property, GLfloat value); void cgl_GLUGetNurbsProperty(struct GLContextIFace *, GLUnurbs * r, GLenum property, GLfloat * value); void cgl_GLUNurbsCallback(struct GLContextIFace *, GLUnurbs * r, GLenum which, void * fn); void cgl_GLUNurbsCallbackDataEXT(struct GLContextIFace *, GLUnurbs * r, void * userData); void cgl_GLGetTexParameterfv(struct GLContextIFace *, GLenum target, GLenum value, GLfloat * data); void cgl_GLGetTexParameteriv(struct GLContextIFace *, GLenum target, GLenum value, GLint * data); void cgl_GLPixelZoom(struct GLContextIFace *, GLfloat zoomx, GLfloat zoomy); void cgl_GLCopyPixels(struct GLContextIFace *, GLint x, GLint y, GLsizei width, GLsizei height, GLenum type); void cgl_GLLogicOp(struct GLContextIFace *, GLenum opcode); void cgl_UpdateContext(struct GLContextIFace *, struct TagItem *tagList); void cgl_UpdateContextTags(struct GLContextIFace *, ...); void cgl_WaitGL(struct GLContextIFace *); void cgl_GLTexImage1D(struct GLContextIFace *, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels); void cgl_GLTexSubImage1D(struct GLContextIFace *, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels); void cgl_GLCopyTexImage1D(struct GLContextIFace *, GLenum target, GLint level, GLint internalformat, GLint x, GLint y, GLsizei width, GLint border); void cgl_GLCopyTexSubImage1D(struct GLContextIFace *, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); void cgl_GLGetPointerv(struct GLContextIFace *, GLenum pname, GLvoid **params); void cgl_GLGenBuffers(struct GLContextIFace *Self, GLsizei n, GLuint *buffers); void cgl_GLDeleteBuffers(struct GLContextIFace *Self, GLsizei n, const GLuint *buffers); void cgl_GLBindBuffer(struct GLContextIFace *Self, GLenum target, GLuint buffer); void cgl_GLBufferSubData(struct GLContextIFace *Self, GLenum target, GLint offset, GLsizei size, const GLvoid *data); void cgl_GLBufferData(struct GLContextIFace *Self, GLenum target, GLsizei size, const GLvoid *data, GLenum usage); void cgl_GLGetBufferSubData(struct GLContextIFace *Self, GLenum target, GLint offset, GLsizei size, GLvoid *data); void * cgl_GLMapBuffer(struct GLContextIFace *Self, GLenum target, GLenum access); GLboolean cgl_GLUnmapBuffer(struct GLContextIFace *Self, GLenum target); void cgl_GLGetBufferParameteriv(struct GLContextIFace *Self, GLenum target, GLenum value, GLint *data); void cgl_GLRotatefv(struct GLContextIFace *, const GLfloat *angle_xyz); void cgl_GLScalefv(struct GLContextIFace *, const GLfloat *xyz); void cgl_GLTranslatefv(struct GLContextIFace *, const GLfloat *xyz); void cgl_GLVertex3fv(struct GLContextIFace *, const GLfloat *xyz); void cgl_GLVertex4fv(struct GLContextIFace *, const GLfloat *xyzw); void cgl_GLNormal3fv(struct GLContextIFace *, const GLfloat *xyz); void * cgl_GLMapBufferRange(struct GLContextIFace *Self, GLenum target, GLint offset, GLsizei length, GLbitfield access); void cgl_GLDrawElementsBaseVertex(struct GLContextIFace *Self, GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex); void cgl_GLDrawRangeElementsBaseVertex(struct GLContextIFace *Self, GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid * indices, GLint basevertex); #ifdef __cplusplus } #endif #endif