view 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
line wrap: on
line source

from pytouhou.lib.sdl cimport SDL_GLprofile
from pytouhou.lib.opengl cimport GLenum_mode

cdef SDL_GLprofile profile
cdef int major
cdef int minor
cdef int double_buffer
cdef bint is_legacy
cdef GLenum_mode primitive_mode
cdef bint use_debug_group
cdef bint use_vao
cdef bint use_framebuffer_blit
cdef bint use_primitive_restart
cdef bint use_pack_invert
cdef bytes shader_header