Documentation Archive Developer
Search

OpenGL Changes

OpenGL

Added CGLCPContextPriorityRequest [struct]
Added CGLCPContextPriorityRequest.init(_: UInt32)
Added CGLCPContextPriorityRequest.value
Added kCGLCPContextPriorityRequest
Added kCGLCPContextPriorityRequestHigh
Added kCGLCPContextPriorityRequestLow
Added kCGLCPContextPriorityRequestNormal
Modified CGLChoosePixelFormat(UnsafePointer<CGLPixelFormatAttribute>, UnsafeMutablePointer<CGLPixelFormatObj>, UnsafeMutablePointer<GLint>) -> CGLError
Declaration
From
func CGLChoosePixelFormat(_ attribs: ConstUnsafePointer<CGLPixelFormatAttribute>, _ pix: UnsafePointer<CGLPixelFormatObj>, _ npix: UnsafePointer<GLint>) -> CGLError
To
func CGLChoosePixelFormat(_ attribs: UnsafePointer<CGLPixelFormatAttribute>, _ pix: UnsafeMutablePointer<CGLPixelFormatObj>, _ npix: UnsafeMutablePointer<GLint>) -> CGLError

Modified CGLContextObj
Declaration
From
typealias CGLContextObj = UnsafePointer<_CGLContextObject>
To
typealias CGLContextObj = UnsafeMutablePointer<_CGLContextObject>

Modified CGLCreateContext(CGLPixelFormatObj, CGLContextObj, UnsafeMutablePointer<CGLContextObj>) -> CGLError
Declaration
From
func CGLCreateContext(_ pix: CGLPixelFormatObj, _ share: CGLContextObj, _ ctx: UnsafePointer<CGLContextObj>) -> CGLError
To
func CGLCreateContext(_ pix: CGLPixelFormatObj, _ share: CGLContextObj, _ ctx: UnsafeMutablePointer<CGLContextObj>) -> CGLError

Modified CGLDescribePixelFormat(CGLPixelFormatObj, GLint, CGLPixelFormatAttribute, UnsafeMutablePointer<GLint>) -> CGLError
Declaration
From
func CGLDescribePixelFormat(_ pix: CGLPixelFormatObj, _ pix_num: GLint, _ attrib: CGLPixelFormatAttribute, _ value: UnsafePointer<GLint>) -> CGLError
To
func CGLDescribePixelFormat(_ pix: CGLPixelFormatObj, _ pix_num: GLint, _ attrib: CGLPixelFormatAttribute, _ value: UnsafeMutablePointer<GLint>) -> CGLError

Modified CGLDescribeRenderer(CGLRendererInfoObj, GLint, CGLRendererProperty, UnsafeMutablePointer<GLint>) -> CGLError
Declaration
From
func CGLDescribeRenderer(_ rend: CGLRendererInfoObj, _ rend_num: GLint, _ prop: CGLRendererProperty, _ value: UnsafePointer<GLint>) -> CGLError
To
func CGLDescribeRenderer(_ rend: CGLRendererInfoObj, _ rend_num: GLint, _ prop: CGLRendererProperty, _ value: UnsafeMutablePointer<GLint>) -> CGLError

Modified CGLErrorString(CGLError) -> UnsafePointer<Int8>
Declaration
From
func CGLErrorString(_ error: CGLError) -> ConstUnsafePointer<Int8>
To
func CGLErrorString(_ error: CGLError) -> UnsafePointer<Int8>

Modified CGLGetContextRetainCount(CGLContextObj) -> GLuint
Introduction
FromOS X 10.10
ToOS X 10.5

Modified CGLGetGlobalOption(CGLGlobalOption, UnsafeMutablePointer<GLint>) -> CGLError
DeclarationIntroduction
From
func CGLGetGlobalOption(_ pname: CGLGlobalOption, _ params: UnsafePointer<GLint>) -> CGLError
OS X 10.10
To
func CGLGetGlobalOption(_ pname: CGLGlobalOption, _ params: UnsafeMutablePointer<GLint>) -> CGLError
OS X 10.6

Modified CGLGetOption(CGLGlobalOption, UnsafeMutablePointer<GLint>) -> CGLError
Declaration
From
func CGLGetOption(_ pname: CGLGlobalOption, _ param: UnsafePointer<GLint>) -> CGLError
To
func CGLGetOption(_ pname: CGLGlobalOption, _ param: UnsafeMutablePointer<GLint>) -> CGLError

Modified CGLGetParameter(CGLContextObj, CGLContextParameter, UnsafeMutablePointer<GLint>) -> CGLError
Declaration
From
func CGLGetParameter(_ ctx: CGLContextObj, _ pname: CGLContextParameter, _ params: UnsafePointer<GLint>) -> CGLError
To
func CGLGetParameter(_ ctx: CGLContextObj, _ pname: CGLContextParameter, _ params: UnsafeMutablePointer<GLint>) -> CGLError

Modified CGLGetPixelFormat(CGLContextObj) -> CGLPixelFormatObj
Introduction
FromOS X 10.10
ToOS X 10.5

Modified CGLGetPixelFormatRetainCount(CGLPixelFormatObj) -> GLuint
Introduction
FromOS X 10.10
ToOS X 10.5

Modified CGLGetShareGroup(CGLContextObj) -> CGLShareGroupObj
Introduction
FromOS X 10.10
ToOS X 10.6

Modified CGLGetVersion(UnsafeMutablePointer<GLint>, UnsafeMutablePointer<GLint>)
Declaration
From
func CGLGetVersion(_ majorvers: UnsafePointer<GLint>, _ minorvers: UnsafePointer<GLint>)
To
func CGLGetVersion(_ majorvers: UnsafeMutablePointer<GLint>, _ minorvers: UnsafeMutablePointer<GLint>)

Modified CGLGetVirtualScreen(CGLContextObj, UnsafeMutablePointer<GLint>) -> CGLError
Declaration
From
func CGLGetVirtualScreen(_ ctx: CGLContextObj, _ screen: UnsafePointer<GLint>) -> CGLError
To
func CGLGetVirtualScreen(_ ctx: CGLContextObj, _ screen: UnsafeMutablePointer<GLint>) -> CGLError

Modified CGLIsEnabled(CGLContextObj, CGLContextEnable, UnsafeMutablePointer<GLint>) -> CGLError
Declaration
From
func CGLIsEnabled(_ ctx: CGLContextObj, _ pname: CGLContextEnable, _ enable: UnsafePointer<GLint>) -> CGLError
To
func CGLIsEnabled(_ ctx: CGLContextObj, _ pname: CGLContextEnable, _ enable: UnsafeMutablePointer<GLint>) -> CGLError

Modified CGLLockContext(CGLContextObj) -> CGLError
Introduction
FromOS X 10.10
ToOS X 10.4

Modified CGLOpenGLProfile
Introduction
FromOS X 10.10
ToOS X 10.7

Modified CGLQueryRendererInfo(GLuint, UnsafeMutablePointer<CGLRendererInfoObj>, UnsafeMutablePointer<GLint>) -> CGLError
Declaration
From
func CGLQueryRendererInfo(_ display_mask: GLuint, _ rend: UnsafePointer<CGLRendererInfoObj>, _ nrend: UnsafePointer<GLint>) -> CGLError
To
func CGLQueryRendererInfo(_ display_mask: GLuint, _ rend: UnsafeMutablePointer<CGLRendererInfoObj>, _ nrend: UnsafeMutablePointer<GLint>) -> CGLError

Modified CGLReleaseContext(CGLContextObj)
Introduction
FromOS X 10.10
ToOS X 10.5

Modified CGLReleasePixelFormat(CGLPixelFormatObj)
Introduction
FromOS X 10.10
ToOS X 10.5

Modified CGLRetainContext(CGLContextObj) -> CGLContextObj
Introduction
FromOS X 10.10
ToOS X 10.5

Modified CGLRetainPixelFormat(CGLPixelFormatObj) -> CGLPixelFormatObj
Introduction
FromOS X 10.10
ToOS X 10.5

Modified CGLSetGlobalOption(CGLGlobalOption, UnsafePointer<GLint>) -> CGLError
DeclarationIntroduction
From
func CGLSetGlobalOption(_ pname: CGLGlobalOption, _ params: ConstUnsafePointer<GLint>) -> CGLError
OS X 10.10
To
func CGLSetGlobalOption(_ pname: CGLGlobalOption, _ params: UnsafePointer<GLint>) -> CGLError
OS X 10.6

Modified CGLSetParameter(CGLContextObj, CGLContextParameter, UnsafePointer<GLint>) -> CGLError
Declaration
From
func CGLSetParameter(_ ctx: CGLContextObj, _ pname: CGLContextParameter, _ params: ConstUnsafePointer<GLint>) -> CGLError
To
func CGLSetParameter(_ ctx: CGLContextObj, _ pname: CGLContextParameter, _ params: UnsafePointer<GLint>) -> CGLError

Modified CGLShareGroupObj
Introduction
FromOS X 10.10
ToOS X 10.6

Modified CGLTexImageIOSurface2D(CGLContextObj, GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, IOSurface!, GLuint) -> CGLError
Introduction
FromOS X 10.10
ToOS X 10.6

Modified CGLUnlockContext(CGLContextObj) -> CGLError
Introduction
FromOS X 10.10
ToOS X 10.4

Modified CGLUpdateContext(CGLContextObj) -> CGLError
Introduction
FromOS X 10.10
ToOS X 10.7

Modified GLhandleARB
Declaration
From
typealias GLhandleARB = UnsafePointer<()>
To
typealias GLhandleARB = UnsafeMutablePointer<Void>

Modified kCGLCECrashOnRemovedFunctions
Introduction
FromOS X 10.10
ToOS X 10.7

Modified kCGLCEDisplayListOptimization
Introduction
FromOS X 10.10
ToOS X 10.3

Modified kCGLCEMPEngine
Introduction
FromOS X 10.10
ToOS X 10.4

Modified kCGLCESurfaceBackingSize
Introduction
FromOS X 10.10
ToOS X 10.3

Modified kCGLCESwapLimit
Introduction
FromOS X 10.10
ToOS X 10.2

Modified kCGLCPCurrentRendererID
Introduction
FromOS X 10.10
ToOS X 10.4

Modified kCGLCPDispatchTableSize
Introduction
FromOS X 10.10
ToOS X 10.3

Modified kCGLCPGPUFragmentProcessing
Introduction
FromOS X 10.10
ToOS X 10.4

Modified kCGLCPGPUVertexProcessing
Introduction
FromOS X 10.10
ToOS X 10.4

Modified kCGLCPHasDrawable
Introduction
FromOS X 10.10
ToOS X 10.5

Modified kCGLCPMPSwapsInFlight
Introduction
FromOS X 10.10
ToOS X 10.5

Modified kCGLCPReclaimResources
Introduction
FromOS X 10.10
ToOS X 10.4

Modified kCGLCPSurfaceBackingSize
Introduction
FromOS X 10.10
ToOS X 10.3

Modified kCGLCPSurfaceOpacity
Introduction
FromOS X 10.10
ToOS X 10.2

Modified kCGLCPSurfaceOrder
Introduction
FromOS X 10.10
ToOS X 10.2

Modified kCGLCPSurfaceSurfaceVolatile
Introduction
FromOS X 10.10
ToOS X 10.3

Modified kCGLGOUseBuildCache
Introduction
FromOS X 10.10
ToOS X 10.5

Modified kCGLOGLPVersion_3_2_Core
Introduction
FromOS X 10.10
ToOS X 10.7

Modified kCGLOGLPVersion_GL3_Core
Introduction
FromOS X 10.10
ToOS X 10.7

Modified kCGLOGLPVersion_GL4_Core
Introduction
FromOS X 10.10
ToOS X 10.9

Modified kCGLOGLPVersion_Legacy
Introduction
FromOS X 10.10
ToOS X 10.7

Modified kCGLPFAAcceleratedCompute
Introduction
FromOS X 10.10
ToOS X 10.6

Modified kCGLPFAAllowOfflineRenderers
Introduction
FromOS X 10.10
ToOS X 10.5

Modified kCGLPFAAuxDepthStencil
Introduction
FromOS X 10.10
ToOS X 10.2

Modified kCGLPFABackingVolatile
Introduction
FromOS X 10.10
ToOS X 10.7

Modified kCGLPFAColorFloat
Introduction
FromOS X 10.10
ToOS X 10.2

Modified kCGLPFAMultisample
Introduction
FromOS X 10.10
ToOS X 10.3

Modified kCGLPFAOpenGLProfile
Introduction
FromOS X 10.10
ToOS X 10.7

Modified kCGLPFASampleAlpha
Introduction
FromOS X 10.10
ToOS X 10.3

Modified kCGLPFASampleBuffers
Introduction
FromOS X 10.10
ToOS X 10.2

Modified kCGLPFASamples
Introduction
FromOS X 10.10
ToOS X 10.2

Modified kCGLPFASupersample
Introduction
FromOS X 10.10
ToOS X 10.3

Modified kCGLPFASupportsAutomaticGraphicsSwitching
Introduction
FromOS X 10.10
ToOS X 10.8

Modified kCGLPFATripleBuffer
Introduction
FromOS X 10.10
ToOS X 10.7

Modified kCGLRPAcceleratedCompute
Introduction
FromOS X 10.10
ToOS X 10.6

Modified kCGLRPGPUFragProcCapable
Introduction
FromOS X 10.10
ToOS X 10.4

Modified kCGLRPGPUVertProcCapable
Introduction
FromOS X 10.10
ToOS X 10.4

Modified kCGLRPMajorGLVersion
Introduction
FromOS X 10.10
ToOS X 10.9

Modified kCGLRPMaxSampleBuffers
Introduction
FromOS X 10.10
ToOS X 10.2

Modified kCGLRPMaxSamples
Introduction
FromOS X 10.10
ToOS X 10.2

Modified kCGLRPOnline
Introduction
FromOS X 10.10
ToOS X 10.5

Modified kCGLRPSampleAlpha
Introduction
FromOS X 10.10
ToOS X 10.3

Modified kCGLRPSampleModes
Introduction
FromOS X 10.10
ToOS X 10.3

Modified kCGLRPTextureMemoryMegabytes
Introduction
FromOS X 10.10
ToOS X 10.7

Modified kCGLRPVideoMemoryMegabytes
Introduction
FromOS X 10.10
ToOS X 10.7

Modified kCGLRendererATIRadeonX2000ID
Introduction
FromOS X 10.10
ToOS X 10.4

Modified kCGLRendererATIRadeonX3000ID
Introduction
FromOS X 10.10
ToOS X 10.6

Modified kCGLRendererATIRadeonX4000ID
Introduction
FromOS X 10.10
ToOS X 10.8

Modified kCGLRendererGeForce8xxxID
Introduction
FromOS X 10.10
ToOS X 10.4

Modified kCGLRendererGeForceID
Introduction
FromOS X 10.10
ToOS X 10.9

Modified kCGLRendererGenericFloatID
Introduction
FromOS X 10.10
ToOS X 10.3

Modified kCGLRendererIntelHD4000ID
Introduction
FromOS X 10.10
ToOS X 10.7

Modified kCGLRendererIntelHD5000ID
Introduction
FromOS X 10.10
ToOS X 10.8

Modified kCGLRendererIntelHDID
Introduction
FromOS X 10.10
ToOS X 10.6