Skip to content

Releases

v0.1.0

Choose a tag to compare

@userFRM userFRM released this 11 Mar 22:32
50afa99

Initial release

Tauri v2 plugin that unlocks >60fps rendering on macOS by disabling WKWebView's requestAnimationFrame cap.

Features

  • Automatically disables the 60fps cap on all webviews via PreferPageRenderingUpdatesNear60FPSEnabled
  • Manual per-webview control via MacFpsExt trait (unlock_fps() / lock_fps())
  • Configurable via tauri.conf.json
  • No-op on non-macOS platforms

Safety

  • respondsToSelector: checks before all private API calls
  • catch_unwind in all with_webview closures to prevent panics from crossing FFI boundaries
  • Graceful degradation: if the private API is unavailable, the app continues at 60fps with a log warning

Install

[dependencies]
tauri-plugin-macos-fps = "0.1"

https://crates.io/crates/tauri-plugin-macos-fps