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