We are applying a custom background filter to a CALayer. It works once, at installation. However we have been unable to do live control of the filter parameter. Yes, we are using valueForKey to change parameters, and have verified that the filter parameters are getting updated. However, output only gets called after installation, so the resulting change never shows up.
When using our custom chromaKey filter for a capture layer, this is not a problem, apparently because something is continually updating and calling output for each video frame. The layer we are now trying to update (not a video layer) is used for highlighting of layers behind it.. When it gets installed, it converts drawn objects to a mask image that is passed to the filter, which installs as a background filter. After changing a filter parameter, we have tried setNeedsDisplay and even [superLayer setNeedsDisplay] to no avail. How do we invalidate the layer to make it update its output? _______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
