Jump to content

Quartz (graphics layer): Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Updated references to PDF in Quartz
Rescuing 1 sources, flagging 0 as dead, and archiving 6 sources. #IABot
Line 15: Line 15:


==Quartz 2D & Quartz Compositor==
==Quartz 2D & Quartz Compositor==
[[Quartz 2D]] is the primary two-dimensional (2D) text and graphics rendering library: It directly supports [[Aqua (user interface)|Aqua]] by displaying [[2D computer graphics|two-dimensional graphics]] to create the user interface, including on-the-fly [[rendering (computer graphics)|rendering]] and [[Spatial anti-aliasing|anti-aliasing]]. Quartz can render text with [[subpixel rendering|sub-pixel precision]]; graphics are limited to more traditional anti-aliasing, which is the default mode of operation but can be turned off.<ref>{{cite web | title=Apple - Developer - Quartz Programming Guide for QuickDraw Developers: Drawing Destinations | url=http://developer.apple.com/documentation/Carbon/Conceptual/QuickDrawToQuartz2D/tq_other/chapter_3_section_3.html | accessdate=February 12, 2007}} {{Dead link|date=September 2010|bot=H3llBot}}</ref> In [[Mac&nbsp;OS&nbsp;X v10.4]], Apple introduced Quartz 2D Extreme, which allows Quartz 2D to use supported [[Graphics processing unit|GPU]]s for rendering. In {{nowrap|Mac OS X}} 10.4, Quartz 2D Extreme is not enabled by default, because it may lead to video redraw issues or [[kernel panic]]s.<ref>{{cite web | title=Apple - Info - Docs - About the {{nowrap|Mac OS X}} 10.4.3 Update (Delta) | url=http://docs.info.apple.com/article.html?artnum=301984 | accessdate=September 20, 2007}}</ref>
[[Quartz 2D]] is the primary two-dimensional (2D) text and graphics rendering library: It directly supports [[Aqua (user interface)|Aqua]] by displaying [[2D computer graphics|two-dimensional graphics]] to create the user interface, including on-the-fly [[rendering (computer graphics)|rendering]] and [[Spatial anti-aliasing|anti-aliasing]]. Quartz can render text with [[subpixel rendering|sub-pixel precision]]; graphics are limited to more traditional anti-aliasing, which is the default mode of operation but can be turned off.<ref>{{cite web|title=Apple - Developer - Quartz Programming Guide for QuickDraw Developers: Drawing Destinations |url=http://developer.apple.com/documentation/Carbon/Conceptual/QuickDrawToQuartz2D/tq_other/chapter_3_section_3.html |accessdate=February 12, 2007 |deadurl=yes |archiveurl=https://web.archive.org/20080905214109/http://developer.apple.com/documentation/Carbon/Conceptual/QuickDrawToQuartz2D/tq_other/chapter_3_section_3.html |archivedate=September 5, 2008 }}</ref> In [[Mac&nbsp;OS&nbsp;X v10.4]], Apple introduced Quartz 2D Extreme, which allows Quartz 2D to use supported [[Graphics processing unit|GPU]]s for rendering. In {{nowrap|Mac OS X}} 10.4, Quartz 2D Extreme is not enabled by default, because it may lead to video redraw issues or [[kernel panic]]s.<ref>{{cite web | title=Apple - Info - Docs - About the {{nowrap|Mac OS X}} 10.4.3 Update (Delta) | url=http://docs.info.apple.com/article.html?artnum=301984 | accessdate=September 20, 2007}}</ref>
As of [[Mac&nbsp;OS&nbsp;X v10.5]] Quartz 2D Extreme has been renamed to QuartzGL. However, it still remains disabled by default, as there are some situations where it can degrade performance, or experience visual glitches; it is a per-application setting which can be turned on if the developer wishes.{{citation needed|reason=Is there any documentation that explains this? |date=April 2015}}
As of [[Mac&nbsp;OS&nbsp;X v10.5]] Quartz 2D Extreme has been renamed to QuartzGL. However, it still remains disabled by default, as there are some situations where it can degrade performance, or experience visual glitches; it is a per-application setting which can be turned on if the developer wishes.{{citation needed|reason=Is there any documentation that explains this? |date=April 2015}}



Revision as of 04:23, 9 January 2016

In Apple computer's OS X operating system, Quartz is the Quartz 2D and Quartz Compositor part of the Core Graphics framework. Quartz includes both a 2D renderer in Core Graphics and the composition engine that sends instructions to the graphics card. Because of this vertical nature, Quartz is often synonymous with Core Graphics.[1]

In a general sense, Quartz or Quartz technologies can refer to almost every part of the Mac OS X graphics model from the rendering layer down to the compositor including Core Image and Core Video.[2] Other Apple graphics technologies that use the "Quartz" prefix include:

  • Quartz Extreme
  • QuartzGL
  • Quartz 2D Extreme
  • Quartz Core Framework
  • Quartz Display Services
  • Quartz Event Services
  • Quartz Framework

Quartz 2D & Quartz Compositor

Quartz 2D is the primary two-dimensional (2D) text and graphics rendering library: It directly supports Aqua by displaying two-dimensional graphics to create the user interface, including on-the-fly rendering and anti-aliasing. Quartz can render text with sub-pixel precision; graphics are limited to more traditional anti-aliasing, which is the default mode of operation but can be turned off.[3] In Mac OS X v10.4, Apple introduced Quartz 2D Extreme, which allows Quartz 2D to use supported GPUs for rendering. In Mac OS X 10.4, Quartz 2D Extreme is not enabled by default, because it may lead to video redraw issues or kernel panics.[4] As of Mac OS X v10.5 Quartz 2D Extreme has been renamed to QuartzGL. However, it still remains disabled by default, as there are some situations where it can degrade performance, or experience visual glitches; it is a per-application setting which can be turned on if the developer wishes.[citation needed]

Quartz Compositor is the compositing engine used by Quartz 2D and other renderers, such as OpenGL, Core Image, and QuickTime. In Mac OS X 10.2 and later, Quartz Compositor uses the processors (GPUs) on supported graphics cards to vastly improve composition performance. This technology is known as Quartz Extreme and is enabled automatically on systems with supported graphics cards.[1]

Use of PDF

It is widely stated that Quartz "uses PDF" internally (notably by Apple in their 2000 Macworld presentation and Quartz's early developer documentation[5]), often by people making comparisons with the Display PostScript technology used in NeXTSTEP and OPENSTEP (of which Mac OS X is a descendant). Quartz's internal imaging model correlates well with the PDF object graph, making it easy to output PDF to multiple devices.[6]

See also

References

  1. ^ a b "Apple - Developer - Graphics & Imaging Overview". Retrieved February 12, 2007.
  2. ^ "Apple - Developer - Graphics & Imaging Reference". Retrieved April 17, 2007.
  3. ^ "Apple - Developer - Quartz Programming Guide for QuickDraw Developers: Drawing Destinations". Archived from the original on September 5, 2008. Retrieved February 12, 2007. {{cite web}}: Unknown parameter |deadurl= ignored (|url-status= suggested) (help)
  4. ^ "Apple - Info - Docs - About the Mac OS X 10.4.3 Update (Delta)". Retrieved September 20, 2007.
  5. ^ "Mac OS X DP4 Inside Quartz". Retrieved September 7, 2011.
  6. ^ Paquette, Mike. "Why Apple didn't use X for the window system". Retrieved December 23, 2006.