Copyright | (c) Sven Panne 2016 |
---|---|
License | BSD3 |
Maintainer | Sven Panne <svenpanne@gmail.com> |
Stability | stable |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
This module corresponds to section 4.1 (Sync Objects and Fences) of the OpenGL 4.4 specs.
- data SyncObject
- syncGpuCommandsComplete :: IO SyncObject
- type WaitTimeout = GLuint64
- data WaitFlag = SyncFlushCommands
- data WaitResult
- clientWaitSync :: SyncObject -> [WaitFlag] -> WaitTimeout -> IO WaitResult
- waitSync :: SyncObject -> IO ()
- maxServerWaitTimeout :: GettableStateVar WaitTimeout
- data SyncStatus
- syncStatus :: SyncObject -> GettableStateVar SyncStatus
Sync Objects and Fences
data SyncObject Source #
Waiting for Sync Objects
type WaitTimeout = GLuint64 Source #
data WaitResult Source #
clientWaitSync :: SyncObject -> [WaitFlag] -> WaitTimeout -> IO WaitResult Source #
waitSync :: SyncObject -> IO () Source #
Sync Object Queries
data SyncStatus Source #