Mercurial > touhou
comparison pytouhou/ui/opengl/backend.pxd @ 593:974decb8df4f
Only selects between GL_TRIANGLE_STRIP and GL_TRIANGLES once, in the backend.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Thu, 16 Oct 2014 21:40:54 +0200 |
parents | 19d930f9e3f0 |
children | 1b31169dc344 |
comparison
equal
deleted
inserted
replaced
592:19d930f9e3f0 | 593:974decb8df4f |
---|---|
1 from pytouhou.lib.sdl cimport SDL_GLprofile | 1 from pytouhou.lib.sdl cimport SDL_GLprofile |
2 from pytouhou.lib.opengl cimport GLenum_mode | |
2 | 3 |
3 cdef SDL_GLprofile profile | 4 cdef SDL_GLprofile profile |
4 cdef int major | 5 cdef int major |
5 cdef int minor | 6 cdef int minor |
6 cdef int double_buffer | 7 cdef int double_buffer |
7 cdef bint is_legacy | 8 cdef bint is_legacy |
9 cdef GLenum_mode primitive_mode | |
8 cdef bint use_debug_group | 10 cdef bint use_debug_group |
9 cdef bint use_vao | 11 cdef bint use_vao |
10 cdef bint use_framebuffer_blit | 12 cdef bint use_framebuffer_blit |
11 cdef bint use_primitive_restart | 13 cdef bint use_primitive_restart |
12 cdef bint use_pack_invert | 14 cdef bint use_pack_invert |