Content deleted Content added
SteveBaker (talk | contribs) dab |
→Software renderer: +style |
||
(20 intermediate revisions by 19 users not shown) | |||
Line 1:
{{Use mdy dates|date=October 2013}}
{{Mac OS X
'''Core OpenGL''', or '''CGL''', is [[Apple Inc.]]'s Macintosh Quartz [[windowing system]] interface to the [[
==History==
All windowing system interfaces to [[OpenGL]] arose out of the migration of [[Silicon Graphics]] proprietary 3D graphics application programming interface ([[API]]) [[IRIS GL|IrisGL]] to its current open standard form OpenGL.
With OpenGL windowing system agnostic, companies such as Apple must shoulder the burden of configuring and managing the surfaces used as a destination for OpenGL rendering.
==Features==
===Windowing system interfaces===
On OS X, CGL is the foundation layer of windowing system interfaces to OpenGL. Both [[Apple Graphics Library|AGL]] (Apple Graphics Library) and the [[Cocoa (API)]] (or AppKit) have interfaces to OpenGL and are logical software layers and depend on CGL for their behavior. CGL and AGL interoperate freely. CGL and Cocoa may be used together, however Cocoa classes may implicitly make changes to CGL state.
Configuration of these surfaces is done through a pixel format selection process where different compatible layers of rendering information are combined to form a [[framebuffer]]. Examples of such layers are color buffers, [[Alpha compositing|transparency buffers]] (alpha), [[
===Handling Mac OS X heterogeneity===
On Mac OS X, CGL is also responsible for handling the heterogeneous nature of graphics device installations and configuration on Macintosh systems.
===Controlling the rendering===
When users configure their Macintosh to use a virtualized desktop, and they drag windows from one display to another, CGL handles the management of OpenGL graphics state that must be shadowed between devices to provide command processing consistency between them.
CGL also provides a mechanism to obtain information about the renderer that is currently in use.
===Software renderer===
Also included is Apple's in-house OpenGL [[software renderer]]. Originally, this was a simple integer package. In Mac OS X 10.3, a new floating point one was introduced [https://developer.apple.com/library/mac/documentation/GraphicsImaging/Reference/AGL_OpenGL/Reference/reference.html#//apple_ref/doc/uid/TP30001068-CH2g-AGLRenderingContextIDs which ultimately replaced it]. The software renderer, though slow, is fast enough for basic applications and [https://developer.apple.com/graphicsimaging/opengl/capabilities/index.html kept feature-complete] {{Webarchive|url=https://web.archive.org/web/20140108115648/https://developer.apple.com/graphicsimaging/opengl/capabilities/index.html |date=January 8, 2014 }} with OS X's OpenGL implementation for development purposes.
==See also==
*[[GLX]]: the equivalent [[X11]] interface to OpenGL
*[[
*[[Apple Graphics Library|AGL]]
*[[OpenGL]]
Line 30 ⟶ 35:
==External links==
* [
* [
{{Apple}}
{{Core Foundation}}
{{
[[pt:Core OpenGL]]▼
[[Category:Application programming interfaces]]
[[Category:Graphics standards]]
|