Subversion Repositories Kolibri OS

Rev

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