From 43dd29cf8fb84762608dfd4940a46a40d74b0cef Mon Sep 17 00:00:00 2001 From: nigels Date: Tue, 29 Jun 2010 23:58:41 +0000 Subject: [PATCH] Improved GL_NV_vdpau_interop support git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@608 783a27ee-832a-0410-bc00-9f386506c6dd --- auto/bin/parse_spec.pl | 2 ++ auto/core/GL_NV_vdpau_interop | 11 +++++++++++ 2 files changed, 13 insertions(+) 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