Sort by Title |
Sort by Topic |
Sort by Resource Type |
Sorted by Date |
|
QuartzShapes
(HTML)
(DMG)
(ZIP)
Example Quartz functions that implement equivalents to the QuickDraw PaintArc, FrameArc, PaintOval, FrameOval, PaintRect, and FrameRect
|
Carbon, Quartz |
Sample Code |
2005-03-08
|
Context Sharing Tips
(HTML)
( )
QA1248: How to correctly share OpenGL contexts and what the limits on this sharing are.
|
Carbon, Games, OpenGL |
Technical Q&A |
2005-02-07
|
|
OpenGL Release Highlights - Mac OS X 10.3 Panther
(HTML)
TN2131: Contains a list of bugs along with a short description on a release-by-release basis
|
Carbon, Cocoa, Games, OpenGL |
Technical Note |
2005-02-04
|
|
NSOpenGLView redraw problems after a window is closed and re-opened.
(HTML)
QA1353: Workaround for NSOpenGLView failure to draw after its window is closed and re-opened.
|
Cocoa, OpenGL |
Technical Q&A |
2004-12-03
|
|
NSGLImage
(HTML)
(DMG)
(ZIP)
Deprecated - Demonstrates how to texture in OpenGL with an NSImage and/or NSBitmapImageRep
|
Cocoa, Games, OpenGL |
Sample Code |
2004-12-01
|
|
OpenGL Performance Optimization : The Basics
(HTML)
TN2093: This document describes some of the concepts and techniques for optimizing performance in OpenGL applications;
|
OpenGL |
Technical Note |
2004-12-01
|
|
Using Interface Builder's NSOpenGLView or Custom View objects for an OpenGL application
(HTML)
QA1167: Describes usage cases for both NSOpenGLViews and Custom Views for Cocoa OpenGL applications
|
Cocoa, OpenGL |
Technical Q&A |
2004-10-28
|
|
glFlush() vs. glFinish()
(HTML)
QA1158: Explanation of the differences between glFlush() and glFinish()
|
OpenGL |
Technical Q&A |
2004-10-11
|
|
How do I determine how much VRAM is available on my video card?
(HTML)
QA1168: Using Core Graphics and IOKit to find the physical size of VRAM on installed hardware.
|
Cocoa, Games, OpenGL, Quartz |
Technical Q&A |
2004-10-11
|
|
iSight Programming Guide
(HTML)
(PDF)
Describes the Apple iSight video camera and its enhancements.
|
Hardware & Drivers |
Guides |
2004-10-05
|
|
Java Advanced Imaging and Java 3D for Java 1.4.1 and 1.4.2 Release Notes
(HTML)
Describes notes and known issues about Java Advanced Imaging and Java 3D for Java 1.4.1 and 1.4.2 on Mac OS X.
|
Java |
Release Note |
2004-10-05
|
|
NSTimers and Rendering Loops
(HTML)
QA1385: Using Cocoa timers (NSTimer) to drive a rendering loop
|
Cocoa, OpenGL, Performance |
Technical Q&A |
2004-10-04
|
|
Setting the ColorSync profile for a NSBitmapImageRep object
(HTML)
QA1369: Setting the ColorSync profile for a NSBitmapImageRep object
|
Cocoa, ColorSync |
Technical Q&A |
2004-09-08
|
|
Supporting Printing in Your Carbon Application
(HTML)
(PDF)
Explains how to support printing in Carbon applications. Includes creating PDFs and porting from Mac OS 9.
|
Carbon, Printing |
Guides |
2004-08-31
|
|
HIShape Reference
(HTML)
(PDF)
Describes the Carbon API for manipulating HIShape objects.
|
Carbon |
Reference |
2004-06-28
|
|
Graphics Exporters - Creating 16-bit-per-channel image files
(HTML)
QA1354: Discusses how to use QuickTime Graphics Exporters to create 16-bit-per-channel image files.
|
QuickTime |
Technical Q&A |
2004-06-03
|
|
GLCarbon1ContextPbuffer
(HTML)
(DMG)
(ZIP)
Demostrates using OpenGL pixel buffers with a single shared context.
|
OpenGL |
Sample Code |
2004-03-26
|
|
GLCarbonAGLFullScreen
(HTML)
(DMG)
(ZIP)
Demonstrates a full screen AGL application which uses Carbon events to drive the user input.
|
OpenGL |
Sample Code |
2004-03-26
|
|
GLCarbonCGLFullScreen
(HTML)
(DMG)
(ZIP)
Demonstrates a full screen CGL application which uses Carbon events to drive
the user input.
|
OpenGL |
Sample Code |
2004-03-26
|
|
GLCarbonSharedPbuffer
(HTML)
(DMG)
(ZIP)
Demostrates sharing a single OpenGL pixel buffer with multiple other contexts.
|
OpenGL |
Sample Code |
2004-03-26
|
|
GLUTBasics
(HTML)
(DMG)
(ZIP)
Simple GLUT example which can be used as starter code.
|
OpenGL |
Sample Code |
2004-03-26
|
|
GLUTSurfaceTexture
(HTML)
(DMG)
(ZIP)
Example of using the new glutSurfaceTexture.
|
OpenGL |
Sample Code |
2004-03-26
|
|
GLCarbonAGLWindow
(HTML)
(DMG)
(ZIP)
Complete Carbon OpenGL sample with virtual trackball, capability checking, and proper event handling.
|
OpenGL |
Sample Code |
2004-03-24
|
Creating an OpenGL texture from an NSView
(HTML)
( )
QA1325: Addresses the issues involved with using an NSView as the source data for an OpenGL texture.
|
OpenGL |
Technical Q&A |
2004-02-13
|
|
NSOpenGL Fullscreen
(HTML)
(DMG)
(ZIP)
Demonstrates how to create and switch between windowed and fullscreen OpenGL contexts using NSOpenGL.
|
Cocoa, OpenGL |
Sample Code |
2004-02-11
|
|
OpenGL Tools for Serious Graphics Development
(HTML)
Learn how Apple's best-of-breed OpenGL tools help developers locate, analyze, and debug graphics bottlenecks.
|
OpenGL, Performance, Tools |
Articles |
2004-02-02
|
OpenGL Driver Monitor Decoder Ring
(HTML)
( )
QA1334: Describes what each of the parameters available in the OpenGL Driver Monitor measure.
|
OpenGL |
Technical Q&A |
2004-01-30
|
Shearing a Coordinate Space with NSAffineTransform
(HTML)
( )
QA1332: Describes a simple way to shear coordinate spaces by adding a few methods to the NSAffineTransform class.
|
Cocoa, Quartz |
Technical Q&A |
2004-01-29
|
|
Understanding and Detecting OpenGL Functionality
(HTML)
TN2080: Discusses OpenGL API design, and how to access the full power of hardware and software renderers.
|
OpenGL |
Technical Note |
2003-12-29
|
|
ColorMatching
(HTML)
(DMG)
(ZIP)
Performs simple color matching of images using ColorSync or the QuickTime 6.4 Graphics Importers.
|
Cocoa, ColorSync |
Sample Code |
2003-12-18
|
|
OpenGL Screensaver
(HTML)
(DMG)
(ZIP)
Demonstrates how to integrate OpenGL drawing into a standard Cocoa screen saver on Mac OS X.
|
Cocoa, OpenGL |
Sample Code |
2003-12-10
|
|
RGB ValueTransformers
(HTML)
(DMG)
(ZIP)
Supersedes the "RGB Image sample". Sample now uses bindings. Color separation now done in an NSValueTransformer subclass.
|
Cocoa, Quartz |
Sample Code |
2003-11-18
|
|
Custom Cocoa OpenGL
(HTML)
(DMG)
(ZIP)
Usable as a starting point for Cocoa OpenGL applications needing a custom version of NSOpenGLView.
|
Cocoa, Games, OpenGL |
Sample Code |
2003-10-27
|
|
MoreIsBetter
(HTML)
(DMG)
(ZIP)
Library providing indispensable wrapers and workarounds for many areas of Mac OS programming.
|
Carbon |
Sample Code |
2003-10-27
|
|
qtshell
(HTML)
(DMG)
(ZIP)
Simple QuickTime and QuickTime VR viewer framework.
|
QuickTime |
Sample Code |
2003-10-27
|
|
TextNameTool
(HTML)
(DMG)
(ZIP)
A command line tool sample illustrating how to use various graphical facilities and services without a login.
|
Typography |
Sample Code |
2003-10-27
|
|
CollectPictColors
(HTML)
(DMG)
(ZIP)
Deprecated - Uses Picture Utilities package and KnowsPict application to demonstrate collecting colors used by Pict resources.
|
Carbon |
Sample Code |
2003-10-10
|
|
Palette and GWorld
(HTML)
(DMG)
(ZIP)
Deprecated - Demonstrates the use of palette and color tables with GWorlds.
|
Carbon |
Sample Code |
2003-10-10
|
|
Sharpening Full Scene Anti-Aliasing Details
(HTML)
QA1268: Using full scene anti-aliasing (FSAA) in OpenGL applications.
|
OpenGL |
Technical Q&A |
2003-10-10
|
Providing QuickDraw with a Known Good Port
(HTML)
( )
Deprecated - QA1237: How to use SetPort( NULL) to provide QuickDraw with a known good port.
|
Carbon |
Technical Q&A |
2003-09-29
|
|
OpenGL Extensions Guide
(HTML)
Information about OpenGL functionality supported in Mac OS X.
|
Carbon, OpenGL |
Guides |
2003-09-10
|
|
Printing Plug-in Interfaces Reference
(HTML)
(PDF)
Describes the various callback interfaces that Mac OS X printing plug-ins implement in Carbon.
|
Printing |
Reference |
2003-07-31
|
|
TE Over Background
(HTML)
(DMG)
(ZIP)
Deprecated - A textEdit that shows old text editing over a colored background
|
Carbon |
Sample Code |
2003-07-22
|
CGImageRef contents are immutable
(HTML)
( )
QA1276: Explains that CGImageRef contents are considered immutable once created.
|
Carbon, Cocoa, Quartz |
Technical Q&A |
2003-07-17
|
|
Cocoa CG aliasing demo
(HTML)
(DMG)
(ZIP)
Shows how to draw both aliased and anti-aliased text and graphics using Quartz and Cocoa.
|
Cocoa, Quartz |
Sample Code |
2003-07-17
|
|
Cocoa CG arc demo
(HTML)
(DMG)
(ZIP)
Shows how to draw both aliased and anti-aliased arcs using Quartz and Cocoa.
|
Cocoa, Quartz |
Sample Code |
2003-07-17
|
|
Draw Pixels
(HTML)
(DMG)
(ZIP)
An example of the correct use of DrawPixels.
|
OpenGL |
Sample Code |
2003-07-16
|
|
TextureRange
(HTML)
(DMG)
(ZIP)
Shows the fundamental techniques required to fast texture upload performance.
|
OpenGL |
Sample Code |
2003-07-16
|
Tioga PostScript Printing Plugins in Mac OS X 10.2
(HTML)
( )
QA1085: Why Tioga printing plugins for PostScript printing aren't called on Mac OS X 10.2 and later.
|
Printing |
Technical Q&A |
2003-07-14
|
|
AGLSurfaceTexture
(HTML)
(DMG)
(ZIP)
Example of render to texture/texture from surface using aglSurfaceTexture.
|
Carbon, OpenGL |
Sample Code |
2003-07-07
|
|
Carbon GLSnapshot
(HTML)
(DMG)
(ZIP)
Demonstrates the use of OpenGL with Quicktime to capture OpenGL content.
|
OpenGL |
Sample Code |
2003-07-07
|
|
NURBSSurfaceVertexProg
(HTML)
(DMG)
(ZIP)
Uses a vertex program to compute the vertex position for a NURB surface.
|
OpenGL |
Sample Code |
2003-07-07
|
|
SurfaceVertexProgram
(HTML)
(DMG)
(ZIP)
Vertex program that demonstrates the use of a UV mesh to draw an implicit surface.
|
OpenGL |
Sample Code |
2003-07-07
|
|
VBL
(HTML)
(DMG)
(ZIP)
A simple example of how to create an OpenGLView in AppKit.
|
Cocoa, OpenGL |
Sample Code |
2003-07-07
|
|
Vertex Optimization
(HTML)
(DMG)
(ZIP)
Shows examples of optimized vertex throughput.
|
OpenGL |
Sample Code |
2003-07-07
|
|
Maximizing Mac OS X Application Performance
(HTML)
Learn how to achieve better performance on Mac OS X.
|
Performance |
Articles |
2003-06-23
|
Updating OpenGL Contexts
(HTML)
( )
QA1209: When and why to update an OpenGL context in response to system and user actions.
|
Carbon, Games, OpenGL |
Technical Q&A |
2003-06-19
|
|
CubePuzzle
(HTML)
(DMG)
(ZIP)
Models a Rubik's Cube using Cocoa and OpenGL
|
Games, OpenGL |
Sample Code |
2003-04-21
|
|
GLChildWindowDemo
(HTML)
(DMG)
(ZIP)
Shows using Cocoa's child windows and Quartz Extreme to provide 2D/3D overlays above 3D content.
|
Cocoa, OpenGL |
Sample Code |
2003-04-21
|
|
OpenGLCompositorLab
(HTML)
(DMG)
(ZIP)
Demonstrates using OpenGL to composite multiple sources in hardware. Requires NVIDIA GeForce 4 Ti hardware.
|
Cocoa, OpenGL, QuickTime |
Sample Code |
2003-04-21
|
Is ColorSync thread safe?
(HTML)
( )
QA1261: Discusses ColorSync thread-safety issues.
|
Carbon, Cocoa, ColorSync, Games, Hardware & Drivers, Performance, QuickTime |
Technical Q&A |
2003-04-17
|
|
Out of This GWorld
(HTML)
(DMG)
(ZIP)
Deprecated - Demonstrates the use of offscreen GWorlds and palette animation to simulate animation.
|
Carbon, Games |
Sample Code |
2003-03-12
|
|
TubeTest
(HTML)
(DMG)
(ZIP)
Deprecated - The program is a simple demonstration of how to use the Palette Manager in a color program.
|
Carbon |
Sample Code |
2003-03-12
|
How do I use PMSessionGetGraphicsContext to get a CGContextRef?
(HTML)
( )
Deprecated - QA1216: Describes how to use PMSessionSetDocumentFormatGeneration and PMSessionGetGraphicsContext to get a CGContextRef for printing.
|
Carbon, Printing |
Technical Q&A |
2003-02-25
|
Quartz 2D Thread Safety
(HTML)
( )
QA1238: Explains the thread-safety issues for the Quartz 2D API.
|
Carbon, Cocoa, Performance, Printing, Quartz |
Technical Q&A |
2003-02-25
|
|
GLUTStereo
(HTML)
(DMG)
(ZIP)
Shows how to use stereo with GLUT under Mac OS X v10.2.3 or later.
|
OpenGL |
Sample Code |
2003-02-20
|
Mac OS X QuickDraw Performance
(HTML)
( )
TN2051: Some of the trouble spots in the Mac OS X windowing system and how to avoid them.
|
Carbon |
Technical Note |
2003-02-13
|
|
Matching Fonts With Font Sync
(HTML)
(PDF)
Conceptual information about comparing and identifying fonts based upon their content.
|
Typography |
Guides |
2003-02-12
|
|
icon cache demo
(HTML)
(DMG)
(ZIP)
Demonstrates the use of an icon cache to limit the search for icon resource to one resource file.
|
Carbon |
Sample Code |
2003-01-30
|
|
Image Difference
(HTML)
(DMG)
(ZIP)
Demonstrates a way to use Quartz's compositing capability to find the difference between two images.
|
Cocoa, Quartz |
Sample Code |
2003-01-30
|
|
aglClipBufferRect
(HTML)
(DMG)
(ZIP)
Shows the use of clip regions and buffer rects in AGL.
|
Carbon, OpenGL |
Sample Code |
2003-01-14
|
|
BlitNoVBL
(HTML)
(DMG)
(ZIP)
Shows how to draw directly to the screen without syncing to the VBL of the monitor.
|
Hardware & Drivers, Performance, Quartz |
Sample Code |
2003-01-14
|
|
BlitVBL
(HTML)
(DMG)
(ZIP)
Shows how to have Mac OS X try its best to sync to the VBL for you.
|
Hardware & Drivers, Performance, Quartz |
Sample Code |
2003-01-14
|
|
CarbonQuartzDrawingWPrinting
(HTML)
(DMG)
(ZIP)
Deprecated - Demonstrates mixing QuickDraw and Quartz 2D drawing both on screen and during printing.
|
Carbon, Printing, Quartz |
Sample Code |
2003-01-14
|
|
CGDrawPicture
(HTML)
(DMG)
(ZIP)
Deprecated - Shows how to use the QDPictDrawToCGContext API.
|
Cocoa, Quartz |
Sample Code |
2003-01-14
|
|
CGGamma
(HTML)
(DMG)
(ZIP)
Shows how to use CGDirectDisplay calls to manipulate display gamma tables.
|
Games, Quartz |
Sample Code |
2003-01-14
|
|
ColorBars
(HTML)
(DMG)
(ZIP)
Shows how to enumerate, select, capture, manipulate, draw to, and release displays using the CGDirectDisplay API.
|
Carbon, Cocoa, Quartz |
Sample Code |
2003-01-14
|
|
ColorSyncDevices
(HTML)
(DMG)
(ZIP)
Demonstrates how to use the new ColorSync Device Support APIs introduced with Mac OS X.
|
Carbon, ColorSync |
Sample Code |
2003-01-14
|
|
CTMClip
(HTML)
(DMG)
(ZIP)
Deprecated - Shows how to manipulate the Quartz 2D Current Transform Matrix (CTM) for image drawing with clipping.
|
Carbon, Cocoa, Quartz |
Sample Code |
2003-01-14
|
|
CTMDemo
(HTML)
(DMG)
(ZIP)
Deprecated - Shows how to manipulate the Quartz 2D Current Transform Matrix (CTM) for image drawing without clipping.
|
Carbon, Cocoa, Quartz |
Sample Code |
2003-01-14
|
|
FullScreen
(HTML)
(DMG)
(ZIP)
Shows how to use BeginFullScreen and EndFullScreen to enter and exit full-screen mode.
|
Carbon |
Sample Code |
2003-01-14
|
|
Mode
(HTML)
(DMG)
(ZIP)
Shows how to enumerate displays and list the available modes for each display.
|
Carbon, Games, Quartz |
Sample Code |
2003-01-14
|
|
ModeWhacker
(HTML)
(DMG)
(ZIP)
Shows how to enumerate, select, capture, manipulate, and release displays using the CGDirectDisplay API.
|
Carbon, Games, Quartz |
Sample Code |
2003-01-14
|
|
NamingTableAccess
(HTML)
(DMG)
(ZIP)
Digs out the contents of the NamingTable in a TrueType 'sfnt'.
|
Typography |
Sample Code |
2003-01-14
|
|
NewCCursor
(HTML)
(DMG)
(ZIP)
Deprecated - Shows how to create a black and white 'CURS' and a color 'crsr' cursor resource by hand.
|
Carbon |
Sample Code |
2003-01-14
|
|
PDEProject
(HTML)
(DMG)
(ZIP)
Deprecated - Demonstrates an application-hosted printing dialog extension (PDE) that displays a custom pane in the Print dialog.
|
Carbon, Printing |
Sample Code |
2003-01-14
|
|
Play Video Sample
(HTML)
(DMG)
(ZIP)
Deprecated - The sample makes use of the RequestVideo sample code API.
|
Carbon |
Sample Code |
2003-01-14
|
|
QTtoCG
(HTML)
(DMG)
(ZIP)
Shows how to create a CGImageRef with the proper ColorSync profile from a QuickTime image on disk.
|
Cocoa, Quartz, QuickTime |
Sample Code |
2003-01-14
|
|
Quartz EB
(HTML)
(DMG)
(ZIP)
WWDC 2001 Early Bird Quartz 2D tutorial of vector drawing and PDF import/export.
|
Cocoa, Quartz |
Sample Code |
2003-01-14
|
|
StyleFlatteningSample
(HTML)
(DMG)
(ZIP)
Shows how to use the ATSUFlatten and ATSUUnflatten APIs.
|
Typography |
Sample Code |
2003-01-14
|
|
VertexPerformanceTest
(HTML)
(DMG)
(ZIP)
A tool that measures triangle throughput and allows comparison of different methods.
|
OpenGL |
Sample Code |
2003-01-14
|
Using Clip Region and Buffer Rectangles with OpenGL Carbon
(HTML)
( )
QA1222: Shows the basics of using buffer rectangles and clip regions with AGL.
|
Carbon, Games, OpenGL |
Technical Q&A |
2002-12-19
|
How do I tell if a particular display is being hardware accelerated by Quartz Extreme?
(HTML)
( )
QA1218: Describes how to use CGDisplayUsesOpenGLAcceleration to see if a display is accelerated or not.
|
Carbon, Cocoa, Games, OpenGL, Quartz |
Technical Q&A |
2002-12-04
|
How can I programmatically determine the DPI of the current video mode?
(HTML)
( )
QA1217: Describes how to compute the DPI for a given display in a given mode using Core Graphics.
|
Carbon, Cocoa, Games, Quartz |
Technical Q&A |
2002-12-02
|
GetProcAdress and OpenGL Entry Points
(HTML)
( )
QA1188: Technique for finding function pointers for OpenGL entry points in Cocoa and Carbon
|
Carbon, Games, OpenGL |
Technical Q&A |
2002-11-25
|
Problems recording CopyBits into a PICT on Mac OS X 10.2
(HTML)
( )
QA1189: Identifies a problem with CopyBits and PICT on Mac OS X 10.2 and gives a simple workaround.
|
Carbon |
Technical Q&A |
2002-11-19
|
|
Image Views
(HTML)
(PDF)
Explains how to use Cocoa image views.
|
Cocoa |
Guides |
2002-11-12
|
QDSwapPort
(HTML)
( )
QA1128: Explains when to use QDSwapPort.
|
Carbon |
Technical Q&A |
2002-11-06
|
Using cmPathBased profile locations on Mac OS X
(HTML)
( )
QA1203: Shows how to correctly specify cmPath-based profile locations on Mac OS X
|
ColorSync |
Technical Q&A |
2002-11-06
|
Why does logging keep my Printer Module from working?
(HTML)
( )
Deprecated - QA1182: Describes some problems with standard printf logging in a Printer Module on Jaguar.
|
Printing |
Technical Q&A |
2002-11-06
|