Is the memoryLimit option mentioned in WWDC26 session 305 the same option as CIContextOption.memoryTarget?
The session says the default memory target on iOS is 256 MB. What is the default memoryTarget on macOS?
Also, the session recommends the Extended Virtual Addressing entitlement for interactive RAW editing. That entitlement does not appear to be available for macOS, so does Core Image automatically use a larger intermediate cache budget on macOS?
Should memoryTarget be used only for export contexts, or can/should it also be tuned for interactive editing contexts with cacheIntermediates enabled?
Thanks!
If the memoryTarget is unspecified or default, the same memoryTarget will be used for apps built for both macOS and iOS. These limits determine how much CIContext will divide the task to ensure that a single render pass meets the specified target.
However, on macOS, a CICContext (with an unspecified memoryTarget) allows for increased allocations that scale with the total system RAM, enabling better interactive frame rates. This was not enabled on iOS due to concerns of jetsam.