comparison pytouhou/lib/opengl.pxd @ 587:6c9d8a3d853f

Use ARB_framebuffer_blit instead of a second rendering pass for scaled rendering, if supported, and remove framebuffer stuff from the Renderer.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Wed, 08 Oct 2014 18:34:27 +0200
parents 4b0593da29d5
children 19d930f9e3f0
comparison
equal deleted inserted replaced
586:4b0593da29d5 587:6c9d8a3d853f
99 GL_COMPILE_STATUS 99 GL_COMPILE_STATUS
100 GL_LINK_STATUS 100 GL_LINK_STATUS
101 101
102 ctypedef enum GLenum_framebuffer 'GLenum': 102 ctypedef enum GLenum_framebuffer 'GLenum':
103 GL_FRAMEBUFFER 103 GL_FRAMEBUFFER
104 GL_DRAW_FRAMEBUFFER
104 105
105 ctypedef enum GLenum_renderbuffer 'GLenum': 106 ctypedef enum GLenum_renderbuffer 'GLenum':
106 GL_RENDERBUFFER 107 GL_RENDERBUFFER
107 108
108 ctypedef enum GLenum_renderbuffer_format 'GLenum': 109 ctypedef enum GLenum_renderbuffer_format 'GLenum':
196 void glDeleteRenderbuffers(GLsizei n, GLuint *renderbuffers) 197 void glDeleteRenderbuffers(GLsizei n, GLuint *renderbuffers)
197 void glBindRenderbuffer(GLenum_renderbuffer target, GLuint renderbuffer) 198 void glBindRenderbuffer(GLenum_renderbuffer target, GLuint renderbuffer)
198 void glRenderbufferStorage(GLenum_renderbuffer target, GLenum_renderbuffer_format internalformat, GLsizei width, GLsizei height) 199 void glRenderbufferStorage(GLenum_renderbuffer target, GLenum_renderbuffer_format internalformat, GLsizei width, GLsizei height)
199 void glFramebufferRenderbuffer(GLenum_framebuffer target, GLenum_attachment attachment, GLenum_renderbuffer renderbuffertarget, GLuint renderbuffer) 200 void glFramebufferRenderbuffer(GLenum_framebuffer target, GLenum_attachment attachment, GLenum_renderbuffer renderbuffertarget, GLuint renderbuffer)
200 GLenum_framebuffer_status glCheckFramebufferStatus(GLenum_framebuffer target) 201 GLenum_framebuffer_status glCheckFramebufferStatus(GLenum_framebuffer target)
202 void glBlitFramebuffer(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter_)
201 203
202 void glGenVertexArrays(GLsizei n, GLuint *arrays) 204 void glGenVertexArrays(GLsizei n, GLuint *arrays)
203 void glDeleteVertexArrays(GLsizei n, const GLuint *arrays) 205 void glDeleteVertexArrays(GLsizei n, const GLuint *arrays)
204 void glBindVertexArray(GLuint array) 206 void glBindVertexArray(GLuint array)
205 207