Mercurial > touhou
comparison pytouhou/lib/opengl.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 | b8df946d394d |
comparison
equal
deleted
inserted
replaced
558:94725968dabb | 559:1be60813f7cb |
---|---|
50 GL_BGRA | 50 GL_BGRA |
51 GL_RGBA | 51 GL_RGBA |
52 GL_RGB | 52 GL_RGB |
53 GL_LUMINANCE | 53 GL_LUMINANCE |
54 GL_UNSIGNED_SHORT_5_6_5 | 54 GL_UNSIGNED_SHORT_5_6_5 |
55 GL_UNSIGNED_SHORT_4_4_4_4 | |
55 GL_UNSIGNED_SHORT_4_4_4_4_REV | 56 GL_UNSIGNED_SHORT_4_4_4_4_REV |
56 | 57 |
57 GL_COLOR_BUFFER_BIT | 58 GL_COLOR_BUFFER_BIT |
58 GL_SCISSOR_TEST | 59 GL_SCISSOR_TEST |
59 GL_MODELVIEW | 60 GL_MODELVIEW |
81 GL_LINK_STATUS | 82 GL_LINK_STATUS |
82 | 83 |
83 GL_FRAMEBUFFER | 84 GL_FRAMEBUFFER |
84 GL_COLOR_ATTACHMENT0 | 85 GL_COLOR_ATTACHMENT0 |
85 GL_RENDERBUFFER | 86 GL_RENDERBUFFER |
86 GL_DEPTH_COMPONENT | 87 GL_DEPTH_COMPONENT16 |
87 GL_DEPTH_ATTACHMENT | 88 GL_DEPTH_ATTACHMENT |
88 GL_FRAMEBUFFER_COMPLETE | 89 GL_FRAMEBUFFER_COMPLETE |
89 | 90 |
90 void glVertexPointer(GLint size, GLenum type_, GLsizei stride, GLvoid *pointer) | 91 void glVertexPointer(GLint size, GLenum type_, GLsizei stride, GLvoid *pointer) |
91 void glTexCoordPointer(GLint size, GLenum type_, GLsizei stride, GLvoid *pointer) | 92 void glTexCoordPointer(GLint size, GLenum type_, GLsizei stride, GLvoid *pointer) |