Should CAMetalLayer wantsExtendedDynamicRangeContent be considered deprecated?
Some links for context:
CAMetalLayer wantsExtendedDynamicRangeContent for iOS 16+
CALayer wantsExtendedDynamicRangeContent for iOS 17+
CALayer preferredDynamicRange for iOS 26+
So Metal got it, then CALayer got it, then CALayer got a more extensible one in iOS26 and wantsExtendedDynamicRangeContent got marked Deprecated. But it's not marked as deprecated on the CAMetalLayer.
I tested it and setting preferredDynamicRange on the CALayer worked to allow my CAMetalLayer to show HDR content on both iOS 27 and tvOS 27. I don't know if there's some reason though (performance for example?) to prefer setting the property on the CAMetalLayer rather than the CALayer.
I'm asking because I want react-native-webgpu to support HDR on tvOS, but right now they're using CAMetalLayer wantsExtendedDynamicRangeContent which has no tvOS support. https://github.com/wcandillon/react-native-webgpu/pull/607