diff options
author | Kenneth Russel <[email protected]> | 2004-04-26 02:54:39 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2004-04-26 02:54:39 +0000 |
commit | 39a94cbfc2254956cca59bbc5c13102f11ad3a2c (patch) | |
tree | 55d776b4d42de69bd55d91828965f83050bc8f9a /make/stub_includes/opengl | |
parent | d0f8de4a9412c6049445adea21592065e212d1c9 (diff) |
Applied patches from Yuri Vl. Gushchin on JOGL forums:
- Added KTX_buffer_region to glext.h
- Used Dialog instead of Frame for dummy window on Windows
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@124 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'make/stub_includes/opengl')
-rw-r--r-- | make/stub_includes/opengl/GL/glext.h | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/make/stub_includes/opengl/GL/glext.h b/make/stub_includes/opengl/GL/glext.h index b52d89df0..e1ad5b3b6 100644 --- a/make/stub_includes/opengl/GL/glext.h +++ b/make/stub_includes/opengl/GL/glext.h @@ -5956,7 +5956,7 @@ typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEEXTPROC) (GLenum modeRGB, GLen /* * ------------------------------------------------ * Everything here and below was added manually - * by ckline and kbr to the version of glext.h obtained from: + * by ckline, kbr and yvg to the version of glext.h obtained from: * http://oss.sgi.com/projects/ogl-sample/registry/index.html * ------------------------------------------------ */ @@ -5991,6 +5991,32 @@ typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTARRAYNVPROC) (GLenum mode, const GL typedef void (APIENTRYP PFNGLMULTIDRAWRANGEELEMENTARRAYNVPROC) (GLenum mode, GLuint start, GLuint end, const GLint *first, const GLsizei *count, GLsizei primcount); #endif +/* + * note(yvg): manually created this definition from the description at http://www.west.net/~brittain/3dsmax2.htm +*/ +#ifndef GL_KTX_buffer_region +#define GL_KTX_FRONT_REGION 0 +#define GL_KTX_BACK_REGION 1 +#define GL_KTX_Z_REGION 2 +#define GL_KTX_STENCIL_REGION 3 +#endif + +#ifndef GL_KTX_buffer_region +#define GL_KTX_buffer_region 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI GLuint APIENTRY glNewBufferRegion(GLenum); +GLAPI void APIENTRY glDeleteBufferRegion(GLuint); +GLAPI void APIENTRY glReadBufferRegion(GLuint, GLint, GLint, GLsizei, GLsizei); +GLAPI void APIENTRY glDrawBufferRegion(GLuint, GLint, GLint, GLsizei, GLsizei, GLint, GLint); +GLAPI GLuint APIENTRY glBufferRegionEnabled(GLvoid); +#endif +typedef GLuint (APIENTRY * PFNGLNEWBUFFERREGIONPROC) (GLenum type); +typedef void (APIENTRY * PFNGLDELETEBUFFERREGIONPROC) (GLuint region); +typedef void (APIENTRY * PFNGLREADBUFFERREGIONPROC) (GLuint region, GLint x, GLint y, GLsizei width, GLsizei height); +typedef void (APIENTRY * PFNGLDRAWBUFFERREGIONPROC) (GLuint region, GLint x, GLint y, GLsizei width, GLsizei height, GLint xDest, GLint yDest); +typedef GLuint (APIENTRY * PFNGLBUFFERREGIONENABLEDPROC) (GLvoid); +#endif + #ifdef __cplusplus } #endif |