Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Offscreen context alignment issues



Out of curiosity, more than any particular need to know, is there any hints for optimizing "row bytes" for the pixel buffers of offscreen graphics contexts?

For example, I know that Mac OS X and AltiVec like to have aligned data (16 byte aligned?) and that malloc works to ensure that alignment for memory blocks it allocates. I also know that vImage likes to have images where the rowbytes are not even powers of 2 (because "performance may be adversely affected for some functions").

Are there similar guidelines for getting the best performance out of an an offscreen Quartz bitmap context?

Scott
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartz-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartz-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.