Introduction to Drawing Performance Guidelines
Unless you’re writing a command-line tool, your drawing code is an important area to tune for performance. Your application’s main drawing routines are called frequently to update the content of your windows. The faster these routines do their job, the more time there is for your application to do actual work.
This programming topic describes some basic ways to improve drawing performance in your code.
Organization of This Document
This programming topic contains the following articles:
Cocoa Drawing Tips provides tips on how to improve the drawing code of Cocoa applications.
Measuring Drawing Performance shows you how to find poorly performing drawing code in your applications.
Flushing to the Window Buffer describes issues surrounding the coalesced updates feature.
Cocoa Live Window Resizing describes techniques for improving performance in live window resizing code for Cocoa applications.
Improving NSBezierPath Rendering Times describes ways to speed up drawing operations involving
NSBezierPath
objects.
Copyright © 2003, 2006 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2006-04-04