textureFrameAvailable was called on the thread that pushed the frame, a Kitedesk video thread. The engine wants it on the platform thread (Shell::OnPlatformViewMarkTextureFrameAvailable checks it, engine a18df97c), as it wants registerTexture and unregisterTexture, which already run there; Kitedesk's own GPU texture (KdMatoyaTexture.swift) posts its notices the same way. The notice is now posted to the main queue; the registry is only used on the main thread. Tests: frames_are_announced_on_the_main_thread passes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| TextRgba.swift | ||
| TextureRgbaApi.m | ||
| TextureRgbaRendererPlugin.swift | ||