SimpleDALPlugin icon indicating copy to clipboard operation
SimpleDALPlugin copied to clipboard

Rectangle moves slowly on Apple Silicon / ARM

Open jlstrecker opened this issue 3 years ago • 1 comments

mach_absolute_time(), used to calculate the rectangle's position in Stream.createPixelBuffer, behaves differently on ARM than Intel. Apple recommends replacing it with clock_gettime_nsec_np(CLOCK_UPTIME_RAW).

jlstrecker avatar Jan 26 '21 19:01 jlstrecker

Oh man! This just got me! clock_gettime_nsec_np(CLOCK_UPTIME_RAW) should work fine on Intel right?

ludagoo avatar May 10 '21 20:05 ludagoo