gl-0.9: Complete OpenGL raw bindings
Safe HaskellNone
LanguageHaskell2010

Graphics.GL.Ext.NV.VdpauInterop

Synopsis

Extension Support

gl_NV_vdpau_interop :: Bool Source #

Checks that the GL_NV_vdpau_interop extension is available.

GL_NV_vdpau_interop

glVDPAUGetSurfaceivNV :: MonadIO m => GLvdpauSurfaceNV -> GLenum -> GLsizei -> Ptr GLsizei -> Ptr GLint -> m () Source #

Usage: glVDPAUGetSurfaceivNV surface pname bufSize length values

The parameter surface is a vdpauSurfaceNV.

The length of values should be bufSize.

glVDPAUInitNV :: MonadIO m => Ptr () -> Ptr () -> m () Source #

Usage: glVDPAUInitNV vdpDevice getProcAddress

glVDPAUIsSurfaceNV :: MonadIO m => GLvdpauSurfaceNV -> m GLboolean Source #

Usage: glVDPAUIsSurfaceNV surface

The parameter surface is a vdpauSurfaceNV.

glVDPAUMapSurfacesNV :: MonadIO m => GLsizei -> Ptr GLvdpauSurfaceNV -> m () Source #

Usage: glVDPAUMapSurfacesNV numSurfaces surfaces

The parameter surfaces is a vdpauSurfaceNV.

The length of surfaces should be numSurfaces.

glVDPAURegisterOutputSurfaceNV :: MonadIO m => Ptr () -> GLenum -> GLsizei -> Ptr GLuint -> m GLvdpauSurfaceNV Source #

Usage: glVDPAURegisterOutputSurfaceNV vdpSurface target numTextureNames textureNames

The length of textureNames should be numTextureNames.

glVDPAURegisterVideoSurfaceNV :: MonadIO m => Ptr () -> GLenum -> GLsizei -> Ptr GLuint -> m GLvdpauSurfaceNV Source #

Usage: glVDPAURegisterVideoSurfaceNV vdpSurface target numTextureNames textureNames

The length of textureNames should be numTextureNames.

glVDPAUSurfaceAccessNV :: MonadIO m => GLvdpauSurfaceNV -> GLenum -> m () Source #

Usage: glVDPAUSurfaceAccessNV surface access

The parameter surface is a vdpauSurfaceNV.

glVDPAUUnmapSurfacesNV :: MonadIO m => GLsizei -> Ptr GLvdpauSurfaceNV -> m () Source #

Usage: glVDPAUUnmapSurfacesNV numSurface surfaces

The parameter surfaces is a vdpauSurfaceNV.

The length of surfaces should be numSurface.

glVDPAUUnregisterSurfaceNV :: MonadIO m => GLvdpauSurfaceNV -> m () Source #

Usage: glVDPAUUnregisterSurfaceNV surface

The parameter surface is a vdpauSurfaceNV.

pattern GL_SURFACE_MAPPED_NV :: (Eq a, Num a) => a Source #

pattern GL_SURFACE_REGISTERED_NV :: (Eq a, Num a) => a Source #

pattern GL_SURFACE_STATE_NV :: (Eq a, Num a) => a Source #

pattern GL_WRITE_DISCARD_NV :: (Eq a, Num a) => a Source #