| Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
|---|---|
| License | LGPL-2.1 |
| Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
| Safe Haskell | None |
| Language | Haskell2010 |
GI.Gdk.Objects.GLContext
Contents
- Exported types
- Methods
- gLContextClearCurrent
- gLContextGetCurrent
- gLContextGetDebugEnabled
- gLContextGetDisplay
- gLContextGetForwardCompatible
- gLContextGetRequiredVersion
- gLContextGetSharedContext
- gLContextGetVersion
- gLContextGetWindow
- gLContextIsLegacy
- gLContextMakeCurrent
- gLContextRealize
- gLContextSetDebugEnabled
- gLContextSetForwardCompatible
- gLContextSetRequiredVersion
- Properties
Description
- newtype GLContext = GLContext (ForeignPtr GLContext)
- class GObject o => IsGLContext o
- toGLContext :: IsGLContext o => o -> IO GLContext
- noGLContext :: Maybe GLContext
- gLContextClearCurrent :: MonadIO m => m ()
- gLContextGetCurrent :: MonadIO m => m GLContext
- data GLContextGetDebugEnabledMethodInfo
- gLContextGetDebugEnabled :: (MonadIO m, IsGLContext a) => a -> m Bool
- data GLContextGetDisplayMethodInfo
- gLContextGetDisplay :: (MonadIO m, IsGLContext a) => a -> m Display
- data GLContextGetForwardCompatibleMethodInfo
- gLContextGetForwardCompatible :: (MonadIO m, IsGLContext a) => a -> m Bool
- data GLContextGetRequiredVersionMethodInfo
- gLContextGetRequiredVersion :: (MonadIO m, IsGLContext a) => a -> m (Int32, Int32)
- data GLContextGetSharedContextMethodInfo
- gLContextGetSharedContext :: (MonadIO m, IsGLContext a) => a -> m GLContext
- data GLContextGetVersionMethodInfo
- gLContextGetVersion :: (MonadIO m, IsGLContext a) => a -> m (Int32, Int32)
- data GLContextGetWindowMethodInfo
- gLContextGetWindow :: (MonadIO m, IsGLContext a) => a -> m Window
- data GLContextIsLegacyMethodInfo
- gLContextIsLegacy :: (MonadIO m, IsGLContext a) => a -> m Bool
- data GLContextMakeCurrentMethodInfo
- gLContextMakeCurrent :: (MonadIO m, IsGLContext a) => a -> m ()
- data GLContextRealizeMethodInfo
- gLContextRealize :: (MonadIO m, IsGLContext a) => a -> m ()
- data GLContextSetDebugEnabledMethodInfo
- gLContextSetDebugEnabled :: (MonadIO m, IsGLContext a) => a -> Bool -> m ()
- data GLContextSetForwardCompatibleMethodInfo
- gLContextSetForwardCompatible :: (MonadIO m, IsGLContext a) => a -> Bool -> m ()
- data GLContextSetRequiredVersionMethodInfo
- gLContextSetRequiredVersion :: (MonadIO m, IsGLContext a) => a -> Int32 -> Int32 -> m ()
- data GLContextDisplayPropertyInfo
- constructGLContextDisplay :: (IsGLContext o, IsDisplay a) => a -> IO (GValueConstruct o)
- gLContextDisplay :: AttrLabelProxy "display"
- getGLContextDisplay :: (MonadIO m, IsGLContext o) => o -> m Display
- data GLContextSharedContextPropertyInfo
- constructGLContextSharedContext :: (IsGLContext o, IsGLContext a) => a -> IO (GValueConstruct o)
- gLContextSharedContext :: AttrLabelProxy "sharedContext"
- getGLContextSharedContext :: (MonadIO m, IsGLContext o) => o -> m GLContext
- data GLContextWindowPropertyInfo
- constructGLContextWindow :: (IsGLContext o, IsWindow a) => a -> IO (GValueConstruct o)
- gLContextWindow :: AttrLabelProxy "window"
- getGLContextWindow :: (MonadIO m, IsGLContext o) => o -> m Window
Exported types
Constructors
| GLContext (ForeignPtr GLContext) |
Instances
| GObject GLContext Source # | |
| IsGLContext GLContext Source # | |
| IsObject GLContext Source # | |
| ((~) * info (ResolveGLContextMethod t GLContext), MethodInfo * info GLContext p) => IsLabel t (GLContext -> p) Source # | |
| ((~) * info (ResolveGLContextMethod t GLContext), MethodInfo * info GLContext p) => IsLabelProxy t (GLContext -> p) Source # | |
| HasAttributeList * GLContext Source # | |
| type SignalList GLContext Source # | |
| type AttributeList GLContext Source # | |
class GObject o => IsGLContext o Source #
Instances
| (GObject a, UnknownAncestorError Constraint GLContext a) => IsGLContext a Source # | |
| IsGLContext GLContext Source # | |
toGLContext :: IsGLContext o => o -> IO GLContext Source #
Methods
gLContextClearCurrent
gLContextClearCurrent :: MonadIO m => m () Source #
gLContextGetCurrent
gLContextGetCurrent :: MonadIO m => m GLContext Source #
gLContextGetDebugEnabled
data GLContextGetDebugEnabledMethodInfo Source #
Instances
| ((~) * signature (m Bool), MonadIO m, IsGLContext a) => MethodInfo * GLContextGetDebugEnabledMethodInfo a signature Source # | |
gLContextGetDebugEnabled :: (MonadIO m, IsGLContext a) => a -> m Bool Source #
gLContextGetDisplay
data GLContextGetDisplayMethodInfo Source #
Instances
| ((~) * signature (m Display), MonadIO m, IsGLContext a) => MethodInfo * GLContextGetDisplayMethodInfo a signature Source # | |
gLContextGetDisplay :: (MonadIO m, IsGLContext a) => a -> m Display Source #
gLContextGetForwardCompatible
data GLContextGetForwardCompatibleMethodInfo Source #
Instances
| ((~) * signature (m Bool), MonadIO m, IsGLContext a) => MethodInfo * GLContextGetForwardCompatibleMethodInfo a signature Source # | |
gLContextGetForwardCompatible :: (MonadIO m, IsGLContext a) => a -> m Bool Source #
gLContextGetRequiredVersion
data GLContextGetRequiredVersionMethodInfo Source #
Instances
| ((~) * signature (m (Int32, Int32)), MonadIO m, IsGLContext a) => MethodInfo * GLContextGetRequiredVersionMethodInfo a signature Source # | |
gLContextGetRequiredVersion :: (MonadIO m, IsGLContext a) => a -> m (Int32, Int32) Source #
gLContextGetSharedContext
gLContextGetSharedContext :: (MonadIO m, IsGLContext a) => a -> m GLContext Source #
gLContextGetVersion
data GLContextGetVersionMethodInfo Source #
Instances
| ((~) * signature (m (Int32, Int32)), MonadIO m, IsGLContext a) => MethodInfo * GLContextGetVersionMethodInfo a signature Source # | |
gLContextGetVersion :: (MonadIO m, IsGLContext a) => a -> m (Int32, Int32) Source #
gLContextGetWindow
data GLContextGetWindowMethodInfo Source #
Instances
| ((~) * signature (m Window), MonadIO m, IsGLContext a) => MethodInfo * GLContextGetWindowMethodInfo a signature Source # | |
gLContextGetWindow :: (MonadIO m, IsGLContext a) => a -> m Window Source #
gLContextIsLegacy
data GLContextIsLegacyMethodInfo Source #
Instances
| ((~) * signature (m Bool), MonadIO m, IsGLContext a) => MethodInfo * GLContextIsLegacyMethodInfo a signature Source # | |
gLContextIsLegacy :: (MonadIO m, IsGLContext a) => a -> m Bool Source #
gLContextMakeCurrent
data GLContextMakeCurrentMethodInfo Source #
Instances
| ((~) * signature (m ()), MonadIO m, IsGLContext a) => MethodInfo * GLContextMakeCurrentMethodInfo a signature Source # | |
gLContextMakeCurrent :: (MonadIO m, IsGLContext a) => a -> m () Source #
gLContextRealize
data GLContextRealizeMethodInfo Source #
Instances
| ((~) * signature (m ()), MonadIO m, IsGLContext a) => MethodInfo * GLContextRealizeMethodInfo a signature Source # | |
gLContextRealize :: (MonadIO m, IsGLContext a) => a -> m () Source #
gLContextSetDebugEnabled
data GLContextSetDebugEnabledMethodInfo Source #
Instances
| ((~) * signature (Bool -> m ()), MonadIO m, IsGLContext a) => MethodInfo * GLContextSetDebugEnabledMethodInfo a signature Source # | |
gLContextSetDebugEnabled :: (MonadIO m, IsGLContext a) => a -> Bool -> m () Source #
gLContextSetForwardCompatible
data GLContextSetForwardCompatibleMethodInfo Source #
Instances
| ((~) * signature (Bool -> m ()), MonadIO m, IsGLContext a) => MethodInfo * GLContextSetForwardCompatibleMethodInfo a signature Source # | |
gLContextSetForwardCompatible :: (MonadIO m, IsGLContext a) => a -> Bool -> m () Source #
gLContextSetRequiredVersion
data GLContextSetRequiredVersionMethodInfo Source #
Instances
| ((~) * signature (Int32 -> Int32 -> m ()), MonadIO m, IsGLContext a) => MethodInfo * GLContextSetRequiredVersionMethodInfo a signature Source # | |
gLContextSetRequiredVersion :: (MonadIO m, IsGLContext a) => a -> Int32 -> Int32 -> m () Source #
Properties
Display
data GLContextDisplayPropertyInfo Source #
Instances
| AttrInfo GLContextDisplayPropertyInfo Source # | |
| type AttrSetTypeConstraint GLContextDisplayPropertyInfo Source # | |
| type AttrLabel GLContextDisplayPropertyInfo Source # | |
| type AttrGetType GLContextDisplayPropertyInfo Source # | |
| type AttrBaseTypeConstraint GLContextDisplayPropertyInfo Source # | |
| type AttrAllowedOps GLContextDisplayPropertyInfo Source # | |
constructGLContextDisplay :: (IsGLContext o, IsDisplay a) => a -> IO (GValueConstruct o) Source #
gLContextDisplay :: AttrLabelProxy "display" Source #
getGLContextDisplay :: (MonadIO m, IsGLContext o) => o -> m Display Source #
SharedContext
constructGLContextSharedContext :: (IsGLContext o, IsGLContext a) => a -> IO (GValueConstruct o) Source #
gLContextSharedContext :: AttrLabelProxy "sharedContext" Source #
getGLContextSharedContext :: (MonadIO m, IsGLContext o) => o -> m GLContext Source #
Window
data GLContextWindowPropertyInfo Source #
Instances
| AttrInfo GLContextWindowPropertyInfo Source # | |
| type AttrSetTypeConstraint GLContextWindowPropertyInfo Source # | |
| type AttrLabel GLContextWindowPropertyInfo Source # | |
| type AttrGetType GLContextWindowPropertyInfo Source # | |
| type AttrBaseTypeConstraint GLContextWindowPropertyInfo Source # | |
| type AttrAllowedOps GLContextWindowPropertyInfo Source # | |
constructGLContextWindow :: (IsGLContext o, IsWindow a) => a -> IO (GValueConstruct o) Source #
gLContextWindow :: AttrLabelProxy "window" Source #
getGLContextWindow :: (MonadIO m, IsGLContext o) => o -> m Window Source #