Scoop API

scoop:scoop.surface:0.1.0

src/platform/darwin/fps.scoop

Selected production source · src/platform/darwin/fps.scoop

1package scoop.surface
3/**
4 * Reads SCOOP_SURFACE_FPS for future macOS Surface attachments.
5 * The exact value "1" enables stderr reporting. Existing attachments keep their settings.
6 */
7public fun configureFpsReportingFromEnvironment() {
8 @Unsafe
9 {
10 macConfigureFpsReportingFromEnvironment()
11 }
14@Extern(name = "scoop_surface_metal_configure_fps_reporting_from_environment")
15private fun macConfigureFpsReportingFromEnvironment()