comparison pytouhou/lib/opengl.pxd @ 519:b18f0bd30ad0

Optimise background rendering.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sat, 07 Dec 2013 22:16:38 +0100
parents 75ae628522c9
children 98380e4a0ee5
comparison
equal deleted inserted replaced
518:75ae628522c9 519:b18f0bd30ad0
18 GLenum glewInit() 18 GLenum glewInit()
19 19
20 20
21 cdef extern from 'GL/gl.h' nogil: 21 cdef extern from 'GL/gl.h' nogil:
22 ctypedef unsigned int GLuint 22 ctypedef unsigned int GLuint
23 ctypedef unsigned short GLushort
23 ctypedef int GLint 24 ctypedef int GLint
24 ctypedef float GLfloat 25 ctypedef float GLfloat
25 ctypedef float GLclampf 26 ctypedef float GLclampf
26 ctypedef char GLboolean 27 ctypedef char GLboolean
27 ctypedef char GLchar 28 ctypedef char GLchar
30 ctypedef unsigned int GLbitfield 31 ctypedef unsigned int GLbitfield
31 ctypedef void GLvoid 32 ctypedef void GLvoid
32 33
33 ctypedef enum GLenum: 34 ctypedef enum GLenum:
34 GL_ARRAY_BUFFER 35 GL_ARRAY_BUFFER
36 GL_ELEMENT_ARRAY_BUFFER
35 GL_STATIC_DRAW 37 GL_STATIC_DRAW
36 GL_DYNAMIC_DRAW 38 GL_DYNAMIC_DRAW
37 GL_UNSIGNED_BYTE 39 GL_UNSIGNED_BYTE
38 GL_UNSIGNED_SHORT 40 GL_UNSIGNED_SHORT
39 GL_SHORT 41 GL_SHORT