Mercurial > touhou
comparison pytouhou/lib/opengl.pxd @ 579:b8df946d394d
Add grouping for OpenGL calls, making traces much more readable.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Sun, 17 Aug 2014 16:16:58 +0200 |
parents | 1be60813f7cb |
children | 47cf4e3d159d |
comparison
equal
deleted
inserted
replaced
578:00f228b57840 | 579:b8df946d394d |
---|---|
86 GL_RENDERBUFFER | 86 GL_RENDERBUFFER |
87 GL_DEPTH_COMPONENT16 | 87 GL_DEPTH_COMPONENT16 |
88 GL_DEPTH_ATTACHMENT | 88 GL_DEPTH_ATTACHMENT |
89 GL_FRAMEBUFFER_COMPLETE | 89 GL_FRAMEBUFFER_COMPLETE |
90 | 90 |
91 # Debug | |
92 | |
93 GL_DEBUG_SOURCE_APPLICATION | |
94 | |
91 void glVertexPointer(GLint size, GLenum type_, GLsizei stride, GLvoid *pointer) | 95 void glVertexPointer(GLint size, GLenum type_, GLsizei stride, GLvoid *pointer) |
92 void glTexCoordPointer(GLint size, GLenum type_, GLsizei stride, GLvoid *pointer) | 96 void glTexCoordPointer(GLint size, GLenum type_, GLsizei stride, GLvoid *pointer) |
93 void glColorPointer(GLint size, GLenum type_, GLsizei stride, GLvoid *pointer) | 97 void glColorPointer(GLint size, GLenum type_, GLsizei stride, GLvoid *pointer) |
94 | 98 |
95 void glBlendFunc(GLenum sfactor, GLenum dfactor) | 99 void glBlendFunc(GLenum sfactor, GLenum dfactor) |
158 GLenum glCheckFramebufferStatus(GLenum target) | 162 GLenum glCheckFramebufferStatus(GLenum target) |
159 | 163 |
160 void glGenVertexArrays(GLsizei n, GLuint *arrays) | 164 void glGenVertexArrays(GLsizei n, GLuint *arrays) |
161 void glDeleteVertexArrays(GLsizei n, const GLuint *arrays) | 165 void glDeleteVertexArrays(GLsizei n, const GLuint *arrays) |
162 void glBindVertexArray(GLuint array) | 166 void glBindVertexArray(GLuint array) |
167 | |
168 # Debug | |
169 | |
170 void glPushDebugGroup(GLenum source, GLuint id_, GLsizei length, const char *message) | |
171 void glPopDebugGroup() |