Skip to content

chore(📚): fix native frame docs and drop Dawn internals - #571

Merged
wcandillon merged 3 commits into
mainfrom
docs-native-textures-fixes
Oct 17, 2026
Merged

wcandillon merged 3 commits into
mainfrom
docs-native-textures-fixes

Conversation

@wcandillon

Copy link
Copy Markdown
Owner

Native textures, Vision Camera and Video Player pages.

Fixes:

  • api/video-player.mdx: broken anchor to #createhardwarebufferexternaltexture--… (renamed to createNativeBuffer*).
  • createVideoFrameFromNativeBuffer: Vision Camera used RNWebGPU.createVideoFrameFromNativeBuffer, Video Player documented the export, and neither said why. The export isn't a worklet and RNWebGPU isn't installed on worklet runtimes (the example captures it into the frame processor's closure), so both pages now say: export on the JS thread, RNWebGPU.… from a frame processor.
  • Vision Camera: useFrameOutput is v5 API, not "v4+".

Reader-facing trims:

  • Native APIs → Native textures: the six Dawn feature names now appear only where the reader needs them (a device wrapped with importDevice() has to request them). importDevice drops the WGPUDevice / reference-counting wording.
  • Vision Camera: no IOSurface / NV12 / YCbCr / Chromebook driver detail in "Request a device".
  • Native Extensions: shorter ignore_imported_ahardwarebuffer_vulkan_image_size note; drop the link to a test spec as documentation.

@wcandillon
wcandillon merged commit c34bd15 into main Oct 17, 2026
1 check failed
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 0.17.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant