Copyright | (c) Sven Panne 2019 |
---|---|
License | BSD3 |
Maintainer | Sven Panne <svenpanne@gmail.com> |
Stability | stable |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- glGetNVVDPAUInterop :: MonadIO m => m Bool
- gl_NV_vdpau_interop :: Bool
- pattern GL_SURFACE_MAPPED_NV :: GLenum
- pattern GL_SURFACE_REGISTERED_NV :: GLenum
- pattern GL_SURFACE_STATE_NV :: GLenum
- pattern GL_WRITE_DISCARD_NV :: GLenum
- glVDPAUFiniNV :: MonadIO m => m ()
- glVDPAUGetSurfaceivNV :: MonadIO m => GLvdpauSurfaceNV -> GLenum -> GLsizei -> Ptr GLsizei -> Ptr GLint -> m ()
- glVDPAUInitNV :: MonadIO m => Ptr a -> Ptr b -> m ()
- glVDPAUIsSurfaceNV :: MonadIO m => GLvdpauSurfaceNV -> m GLboolean
- glVDPAUMapSurfacesNV :: MonadIO m => GLsizei -> Ptr GLvdpauSurfaceNV -> m ()
- glVDPAURegisterOutputSurfaceNV :: MonadIO m => Ptr a -> GLenum -> GLsizei -> Ptr GLuint -> m GLvdpauSurfaceNV
- glVDPAURegisterVideoSurfaceNV :: MonadIO m => Ptr a -> GLenum -> GLsizei -> Ptr GLuint -> m GLvdpauSurfaceNV
- glVDPAUSurfaceAccessNV :: MonadIO m => GLvdpauSurfaceNV -> GLenum -> m ()
- glVDPAUUnmapSurfacesNV :: MonadIO m => GLsizei -> Ptr GLvdpauSurfaceNV -> m ()
- glVDPAUUnregisterSurfaceNV :: MonadIO m => GLvdpauSurfaceNV -> m ()
Extension Support
glGetNVVDPAUInterop :: MonadIO m => m Bool Source #
Is the NV_vdpau_interop extension supported?
gl_NV_vdpau_interop :: Bool Source #
Is the NV_vdpau_interop extension supported?
Note that in the presence of multiple contexts with different capabilities,
this might be wrong. Use glGetNVVDPAUInterop
in those cases instead.
Enums
pattern GL_SURFACE_MAPPED_NV :: GLenum Source #
pattern GL_SURFACE_REGISTERED_NV :: GLenum Source #
pattern GL_SURFACE_STATE_NV :: GLenum Source #
pattern GL_WRITE_DISCARD_NV :: GLenum Source #
Functions
glVDPAUFiniNV :: MonadIO m => m () Source #
:: MonadIO m | |
=> GLvdpauSurfaceNV |
|
-> m GLboolean | of type Boolean. |
:: MonadIO m | |
=> GLsizei |
|
-> Ptr GLvdpauSurfaceNV |
|
-> m () |
glVDPAUSurfaceAccessNV Source #
:: MonadIO m | |
=> GLvdpauSurfaceNV |
|
-> GLenum |
|
-> m () |
glVDPAUUnmapSurfacesNV Source #
:: MonadIO m | |
=> GLsizei |
|
-> Ptr GLvdpauSurfaceNV |
|
-> m () |
glVDPAUUnregisterSurfaceNV Source #
:: MonadIO m | |
=> GLvdpauSurfaceNV |
|
-> m () |