Post

Replies

Boosts

Views

Activity

Reply to MTKView fullscreen stutter
I'm still seeing this with my app targeting 14.2. I have the semaphore in place as well to prevent stalling when getting the current drawable. I noticed in Instruments that sometimes my present command is failing with a message of "Cannot go direct to display due to display rejected". Any ideas what is going on?
Topic: Graphics & Games SubTopic: General Tags:
Feb ’24
Reply to Render MTKView with different Colorspace
I do see it on MTKView, however it seems to behave oddly. If I have my MTKView colorPixelFormat to the default 'bgra8Unorm` (which should render to the drawable in linear color space) but set 'colorspace' to 'CGColorSpace.sRGB' the output is the same as if is 'nil'. I expected it to engamma my MTKView's output for compositing.
Topic: Media Technologies SubTopic: General Tags:
Feb ’24
Reply to MDLAsset loads texture in usdz file loaded with wrong colorspace
Just to update, this is still an issue in macOS 27 Beta. To be clear checking in reality compose or macOS preview doesn't help. You need an Xcode project that specifically calls MTKTextureLoader.newTexure() and the texture is loaded as if it is linear no matter what.
Topic: Graphics & Games SubTopic: Metal Tags:
Replies
Boosts
Views
Activity
2d
Reply to MDLAsset loads texture in usdz file loaded with wrong colorspace
Thanks for looking into it. I will file a feedback as you requested. Regarding the xcode viewer and reality compose they display the texture just fine. Even macOS preview does. It‘s just in a custom app using model IO (about as basic as possible) the texture colors are saturated. Thanks again.
Topic: Graphics & Games SubTopic: Metal Tags:
Replies
Boosts
Views
Activity
Dec ’24
Reply to MTKView fullscreen stutter
I'm still seeing this with my app targeting 14.2. I have the semaphore in place as well to prevent stalling when getting the current drawable. I noticed in Instruments that sometimes my present command is failing with a message of "Cannot go direct to display due to display rejected". Any ideas what is going on?
Topic: Graphics & Games SubTopic: General Tags:
Replies
Boosts
Views
Activity
Feb ’24
Reply to Render MTKView with different Colorspace
I do see it on MTKView, however it seems to behave oddly. If I have my MTKView colorPixelFormat to the default 'bgra8Unorm` (which should render to the drawable in linear color space) but set 'colorspace' to 'CGColorSpace.sRGB' the output is the same as if is 'nil'. I expected it to engamma my MTKView's output for compositing.
Topic: Media Technologies SubTopic: General Tags:
Replies
Boosts
Views
Activity
Feb ’24