diff --git a/auto/bin/parse_spec.pl b/auto/bin/parse_spec.pl index 1045757..c186731 100755 --- a/auto/bin/parse_spec.pl +++ b/auto/bin/parse_spec.pl @@ -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*", diff --git a/auto/core/GL_NV_vdpau_interop b/auto/core/GL_NV_vdpau_interop index 5c547ae..a2b68b2 100644 --- a/auto/core/GL_NV_vdpau_interop +++ b/auto/core/GL_NV_vdpau_interop @@ -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