comparison pytouhou/lib/opengl.pxd @ 426:5d7bb2fd74f7

Never keep texture on the host when it has been uploaded, and prevent them from being decoded again.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Tue, 16 Jul 2013 21:11:35 +0200
parents f4d76d3d6f2a
children 2a352118c55a
comparison
equal deleted inserted replaced
425:1104dc2553ee 426:5d7bb2fd74f7
92 void glDeleteBuffers(GLsizei n, const GLuint * buffers) 92 void glDeleteBuffers(GLsizei n, const GLuint * buffers)
93 void glBindBuffer(GLenum target, GLuint buffer_) 93 void glBindBuffer(GLenum target, GLuint buffer_)
94 void glBufferData(GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage) 94 void glBufferData(GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage)
95 95
96 void glGenTextures(GLsizei n, GLuint *textures) 96 void glGenTextures(GLsizei n, GLuint *textures)
97 void glDeleteTextures(GLsizei n, const GLuint *textures)
97 void glBindTexture(GLenum target, GLuint texture) 98 void glBindTexture(GLenum target, GLuint texture)
98 void glTexParameteri(GLenum target, GLenum pname, GLint param) 99 void glTexParameteri(GLenum target, GLenum pname, GLint param)
99 void glTexImage2D(GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLint border, GLenum format_, GLenum type_, const GLvoid *data) 100 void glTexImage2D(GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLint border, GLenum format_, GLenum type_, const GLvoid *data)
100 101
101 void glClearColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) #XXX 102 void glClearColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) #XXX