Mailing Lists: Apple Mailing Lists

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

Re: Offscreen context alignment issues



I believe the the answer was 64 byte aligned for max performance. 16 gets you altivec, but 64 gets you AGP uploads.

haroon

On Feb 20, 2005, at 10:06 PM, R. Scott Thompson wrote:

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

haroon sheikh هارون شيخ

_______________________________________________
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
References: 
 >Offscreen context alignment issues (From: "R. Scott Thompson" <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.