Mercurial > touhou
comparison pytouhou/lib/opengl.pxd @ 592:19d930f9e3f0
Add the screenshot feature, using P or Home like the original game.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Wed, 23 Apr 2014 19:19:32 +0200 |
parents | 6c9d8a3d853f |
children | 23b9418e4b2f |
comparison
equal
deleted
inserted
replaced
591:2dfa4aa135d2 | 592:19d930f9e3f0 |
---|---|
54 | 54 |
55 ctypedef enum GLenum_texparam 'GLenum': | 55 ctypedef enum GLenum_texparam 'GLenum': |
56 GL_TEXTURE_MIN_FILTER | 56 GL_TEXTURE_MIN_FILTER |
57 GL_TEXTURE_MAG_FILTER | 57 GL_TEXTURE_MAG_FILTER |
58 | 58 |
59 ctypedef enum GLenum_store 'GLenum': | |
60 GL_PACK_INVERT_MESA | |
61 | |
59 ctypedef enum GLenum_client_state 'GLenum': | 62 ctypedef enum GLenum_client_state 'GLenum': |
60 GL_COLOR_ARRAY | 63 GL_COLOR_ARRAY |
61 GL_VERTEX_ARRAY | 64 GL_VERTEX_ARRAY |
62 GL_TEXTURE_COORD_ARRAY | 65 GL_TEXTURE_COORD_ARRAY |
63 | 66 |
141 void glGenTextures(GLsizei n, GLuint *textures) | 144 void glGenTextures(GLsizei n, GLuint *textures) |
142 void glDeleteTextures(GLsizei n, const GLuint *textures) | 145 void glDeleteTextures(GLsizei n, const GLuint *textures) |
143 void glBindTexture(GLenum_textarget target, GLuint texture) | 146 void glBindTexture(GLenum_textarget target, GLuint texture) |
144 void glTexParameteri(GLenum_textarget target, GLenum_texparam pname, GLint param) | 147 void glTexParameteri(GLenum_textarget target, GLenum_texparam pname, GLint param) |
145 void glTexImage2D(GLenum_textarget target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLint border, GLenum_format format_, GLenum_type type_, const GLvoid *data) | 148 void glTexImage2D(GLenum_textarget target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLint border, GLenum_format format_, GLenum_type type_, const GLvoid *data) |
149 void glGetTexImage(GLenum_textarget target, GLint level, GLenum_format format_, GLenum_type type_, GLvoid *img) | |
150 void glPixelStorei(GLenum_store pname, GLint param) | |
146 | 151 |
147 void glClearColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) | 152 void glClearColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) |
148 void glClear(GLbitfield mask) | 153 void glClear(GLbitfield mask) |
149 void glViewport(GLint x, GLint y, GLsizei width, GLsizei height) | 154 void glViewport(GLint x, GLint y, GLsizei width, GLsizei height) |
150 void glScissor(GLint x, GLint y, GLsizei width, GLsizei height) | 155 void glScissor(GLint x, GLint y, GLsizei width, GLsizei height) |