view pytouhou/ui/opengl/backend.pxd @ 559:1be60813f7cb

Get OpenGL ES 2.0 to work thanks to libepoxy. PCB textures will need swizzle in the shaders since BGRA isn’t natively supported on GLES.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Fri, 30 May 2014 16:40:36 +0200
parents 94725968dabb
children 6e79756b7f42
line wrap: on
line source

from pytouhou.lib.sdl cimport SDL_GLprofile

cdef SDL_GLprofile flavor
cdef str version
cdef int major
cdef int minor
cdef int double_buffer
cdef bint is_legacy
cdef bint use_vao
cdef str shader_header