Post

Replies

Boosts

Views

Activity

Comment on How do MTKView/CAMetalLayer and extended colorspaces work?
Thanks for those information. I have a follow-up question: How does gamut-matching work in Metal? I know that some classes that have the "ColorSpace" property like CIImage and CGImage, and also there are methods to get it from CVPixelBuffer. But when creating MTLTexture from one of those "images" mentioned above, what color space is the result texture in? Does Metal do color management when sampling the texture to make sure the Float we get is in linear space?
Topic: UI Frameworks SubTopic: AppKit Tags:
Feb ’25
Comment on App randomly be terminated due to Capture Application Requirements Unmet
Update: the workaround doesn't work and I have already found the way to reproduce this issue: Enter some pages on your app that don't access the camera, like the settings page or gallery page. Put the app in the background, and launch it using the Camera Control. After launching the app, the app will still stay in the last page that doesn't use camera. Wait for a few seconds and the app will be terminated with the log mentioned above.
Nov ’24