Post

Replies

Boosts

Views

Activity

Comment on What exactly is the use of CIKernel DOD?
Thanks for the answer. Unfortunately, cropping to extent did not solve the problem. I found the real problem is another filter in filter chain that does a source over compositing, with compositing being done with a background image that is larger in size. The red pixels are filling the extent of that background image. No idea why the redKernel is being called for every pixel on the screen.
Topic: Graphics & Games SubTopic: General Tags:
Feb ’22
Comment on What exactly is the use of CIKernel DOD?
Thank you for responding, and that brings us to the original question -- on what extent rect is CIKernel processing done (it can't be infinite). How do I know the limits of destination coordinates in the kernel? I only get normalised texture coordinates in the kernel for the current pixel in processing. But just like Metal compute kernel if I need absolute coordinates I am currently computing, how do I get it? Simple example being if I need to put a 10 pixel red border around the border of input image, I don't see a straight forward way for the same.
Topic: Graphics & Games SubTopic: General Tags:
Feb ’22
Comment on UITextView rich text editing
No, I didn't. I was not aware of mergeAttributes API, this is the first time I am working on a text editor that requires so many details. Also, I would need to resolve conflicts if they arise while merging attributes. That might require tracking existing attributes for subranges of text. Not sure if I am on the right path for the same.
Topic: UI Frameworks SubTopic: UIKit Tags:
May ’22
Comment on KVO crash in AVAudioSession
This crash has been seen on 36 devices for an app that has 2500 downloads or so in the last 2 weeks or so (number of active users per day only around 100). And this number (36 devices) is from XCode crashes history, where I suppose it is comes from opt-in users only. Actual number of devices would be much more I suppose than this.
Topic: App & System Services SubTopic: General Tags:
Jul ’22