scoop:scoop.surface:0.1.0
src/platform/darwin/fps.scoop
Selected production source · src/platform/darwin/fps.scoop
1
package scoop.surface3
/**4
* Reads SCOOP_SURFACE_FPS for future macOS Surface attachments.5
* The exact value "1" enables stderr reporting. Existing attachments keep their settings.6
*/7
public fun configureFpsReportingFromEnvironment() {8
@Unsafe9
{10
macConfigureFpsReportingFromEnvironment()11
}12
}14
@Extern(name = "scoop_surface_metal_configure_fps_reporting_from_environment")15
private fun macConfigureFpsReportingFromEnvironment()