Subversion Repositories Kolibri OS

Rev

Rev 5387 | Rev 8059 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1. ;
  2. ; Export functions (103)
  3. ;
  4.  
  5. E_LIB glEnable ;(int code)
  6. E_LIB glDisable ;(int code)
  7.  
  8. E_LIB glShadeModel ;(int mode)
  9. E_LIB glCullFace ;(int mode)
  10. E_LIB glPolygonMode ;(int face,int mode)
  11.  
  12. E_LIB glBegin ;(int type)
  13. E_LIB glEnd ;(void)
  14.  
  15. E_LIB glVertex2f ;(float ,float)
  16. E_LIB glVertex2d ;(double ,double)
  17. E_LIB glVertex2fv ;(float *)
  18. E_LIB glVertex2dv ;(double *)
  19. E_LIB glVertex3f ;(float ,float ,float)
  20. E_LIB glVertex3d ;(double ,double ,double)
  21. E_LIB glVertex3fv ;(float *)
  22. E_LIB glVertex3dv ;(double *)
  23. E_LIB glVertex4f ;(float ,float ,float, float )
  24. E_LIB glVertex4d ;(double ,double ,double, double )
  25. E_LIB glVertex4fv ;(float *)
  26. E_LIB glVertex4dv ;(double *)
  27.  
  28. E_LIB glColor3f ;(float ,float ,float)
  29. E_LIB glColor3d ;(double ,double ,double)
  30. E_LIB glColor3fv ;(float *)
  31. E_LIB glColor3dv ;(double *)
  32. E_LIB glColor3ub
  33. E_LIB glColor4f ;(float ,float ,float, float )
  34. E_LIB glColor4d ;(double ,double ,double, double )
  35. E_LIB glColor4fv ;(float *)
  36. E_LIB glColor4dv ;(double *)
  37.  
  38. E_LIB glNormal3f ;(float ,float ,float)
  39. E_LIB glNormal3d ;(double ,double ,double)
  40. E_LIB glNormal3fv ;(float *)
  41. E_LIB glNormal3dv ;(double *)
  42.  
  43. E_LIB glTexCoord1f ;(float)
  44. E_LIB glTexCoord1d ;(double)
  45. E_LIB glTexCoord1fv ;(float *)
  46. E_LIB glTexCoord1dv ;(double *)
  47. E_LIB glTexCoord2f ;(float ,float)
  48. E_LIB glTexCoord2d ;(double ,double)
  49. E_LIB glTexCoord2fv ;(float *)
  50. E_LIB glTexCoord2dv ;(double *)
  51. E_LIB glTexCoord3f ;(float ,float ,float)
  52. E_LIB glTexCoord3d ;(double ,double ,double)
  53. E_LIB glTexCoord3fv ;(float *)
  54. E_LIB glTexCoord3dv ;(double *)
  55. E_LIB glTexCoord4f ;(float ,float ,float, float )
  56. E_LIB glTexCoord4d ;(double ,double ,double, double )
  57. E_LIB glTexCoord4fv ;(float *)
  58. E_LIB glTexCoord4dv ;(double *)
  59.  
  60. E_LIB glEdgeFlag ;(int flag)
  61.  
  62. ; matrix
  63. E_LIB glMatrixMode ;(int mode)
  64. E_LIB glLoadMatrixf ;(const float *m)
  65. E_LIB glLoadIdentity ;(void)
  66. E_LIB glMultMatrixf ;(const float *m)
  67. E_LIB glPushMatrix ;(void)
  68. E_LIB glPopMatrix ;(void)
  69. E_LIB glRotatef ;(float angle,float x,float y,float z)
  70. E_LIB glTranslatef ;(float x,float y,float z)
  71. E_LIB glScalef ;(float x,float y,float z)
  72.  
  73. E_LIB glViewport ;(int x,int y,int width,int height)
  74. E_LIB glFrustum ;(double left,double right,double bottom,double top, double near_,double far_);
  75.  
  76. ; lists
  77. E_LIB glGenLists ;(int range)
  78. E_LIB glIsList ;(unsigned int list)
  79. E_LIB glNewList ;(unsigned int list,int mode)
  80. E_LIB glEndList ;(void)
  81. E_LIB glCallList ;(unsigned int list)
  82.  
  83. ; clear
  84. E_LIB glClear ;(int mask)
  85. E_LIB glClearColor ;(float r,float g,float b,float a)
  86. E_LIB glClearDepth ;(double depth)
  87.  
  88. ; selection
  89. E_LIB glRenderMode ;(int mode)
  90. E_LIB glSelectBuffer ;(int size,unsigned int *buf)
  91.  
  92. E_LIB glInitNames ;(void)
  93. E_LIB glPushName ;(unsigned int name)
  94. E_LIB glPopName ;(void)
  95. E_LIB glLoadName ;(unsigned int name)
  96.  
  97. ; textures
  98. E_LIB glGenTextures ;(int n, unsigned int *textures)
  99. E_LIB glDeleteTextures ;(int n, const unsigned int *textures)
  100. E_LIB glBindTexture ;(int target,int texture)
  101. E_LIB glTexImage2D ;( int target, int level, int components, int width, int height, int border, int format, int type, void *pixels)
  102. E_LIB glTexEnvi ;(int target,int pname,int param)
  103. E_LIB glTexParameteri ;(int target,int pname,int param)
  104. E_LIB glPixelStorei ;(int pname,int param)
  105.  
  106. ; lighting
  107. E_LIB glMaterialfv ;(int mode,int type,float *v)
  108. E_LIB glMaterialf ;(int mode,int type,float v)
  109. E_LIB glColorMaterial ;(int mode,int type)
  110.  
  111. E_LIB glLightfv ;(int light,int type,float *v)
  112. E_LIB glLightf ;(int light,int type,float v)
  113. E_LIB glLightModeli ;(int pname,int param)
  114. E_LIB glLightModelfv ;(int pname,float *param)
  115.  
  116. ; misc
  117. E_LIB glFlush ;(void)
  118. E_LIB glHint ;(int target,int mode)
  119. E_LIB glGetIntegerv ;(int pname,int *params)
  120. E_LIB glGetFloatv ;(int pname, float *v)
  121. E_LIB glFrontFace ;(int mode)
  122.  
  123. ; opengl 1.2 arrays
  124. E_LIB glEnableClientState ;(GLenum array)
  125. E_LIB glDisableClientState ;(GLenum array)
  126. E_LIB glArrayElement ;(GLint i)
  127. E_LIB glDrawArrays ;(mode, first, count)
  128. E_LIB glDrawElements ;(mode, count, type, indices)
  129. E_LIB glVertexPointer ;(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer)
  130. E_LIB glColorPointer ;(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer)
  131. E_LIB glNormalPointer ;(GLenum type, GLsizei stride, const GLvoid *pointer)
  132. E_LIB glTexCoordPointer ;(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer)
  133.  
  134. ; opengl 1.2 polygon offset
  135. E_LIB glPolygonOffset ;(GLfloat factor, GLfloat units)
  136.  
  137. ; not implemented, just added to compile
  138. ;inline void glPointSize(float) {}
  139. ;inline void glLineWidth(float) {}
  140. ;inline void glDeleteLists(int, int) {}
  141. ;inline void glDepthFunc(int) {}
  142. ;inline void glBlendFunc(int, int) {}
  143. ;inline void glTexEnvf(int, int, int) {}
  144. ;inline void glOrtho(float,float,float,float,float,float){}
  145. ;inline void glVertex2i(int,int) {}
  146. ;inline void glDepthMask(int) {}
  147. ;inline void glFogi(int, int) {}
  148. ;inline void glFogfv(int, const float*) {}
  149. ;inline void glFogf(int, float) {}
  150. ;inline void glRasterPos2f(float, float) {}
  151. ;inline void glPolygonStipple(void*) {}
  152. ;inline void glTexParameterf(int, int, int) {};
  153. ; non compatible functions
  154.  
  155. E_LIB glDebug ;(int mode)
  156.  
  157. E_LIB glInit ;(void *zbuffer)
  158. E_LIB glClose ;(void)
  159.  
  160. ;
  161. ; glu functions
  162. ;
  163.  
  164. E_LIB gluNewQuadric
  165. E_LIB gluDeleteQuadric
  166. E_LIB gluQuadricDrawStyle
  167. E_LIB gluQuadricOrientation
  168. E_LIB gluQuadricTexture
  169. E_LIB gluSphere
  170.  
  171. ;
  172. ; Kolibri OS functions
  173. ;
  174.  
  175. E_LIB kosglMakeCurrent
  176. E_LIB kosglSwapBuffers
  177.  
  178. purge E_LIB
  179.