Improved GL_NV_vdpau_interop support

git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@608 783a27ee-832a-0410-bc00-9f386506c6dd
This commit is contained in:
nigels 2010-06-29 23:58:41 +00:00
parent 8e36df6227
commit 43dd29cf8f
2 changed files with 13 additions and 0 deletions

View File

@ -70,6 +70,8 @@ my %typemap = (
DEBUGPROCAMD => "GLDEBUGPROCAMD",
vdpauSurfaceNV => "GLvdpauSurfaceNV",
# GLX 1.3 defines new types which might not be available at compile time
#GLXFBConfig => "void*",

View File

@ -5,3 +5,14 @@ GL_NV_vdpau_interop
GL_SURFACE_REGISTERED_NV 0x86FD
GL_SURFACE_MAPPED_NV 0x8700
GL_WRITE_DISCARD_NV 0x88BE
void glVDPAUFiniNV (void)
void glVDPAUGetSurfaceivNV (GLvdpauSurfaceNV surface, GLenum pname, GLsizei bufSize, GLsizei* length, GLint *values)
void glVDPAUInitNV (const void* vdpDevice, const GLvoid*getProcAddress)
void glVDPAUIsSurfaceNV (GLvdpauSurfaceNV surface)
void glVDPAUMapSurfacesNV (GLsizei numSurfaces, const GLvdpauSurfaceNV* surfaces)
GLvdpauSurfaceNV glVDPAURegisterOutputSurfaceNV (const void* vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames)
GLvdpauSurfaceNV glVDPAURegisterVideoSurfaceNV (const void* vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames)
void glVDPAUSurfaceAccessNV (GLvdpauSurfaceNV surface, GLenum access)
void glVDPAUUnmapSurfacesNV (GLsizei numSurface, const GLvdpauSurfaceNV* surfaces)
void glVDPAUUnregisterSurfaceNV (GLvdpauSurfaceNV surface)
typedef GLintptr GLvdpauSurfaceNV