5 ms·
Can this be done on Mac OS?
by sunk1st 2y ago
Can this be done on Mac OS?
- krackers 2y agoOnly before 10.7 from userspace with CGDisplayBaseAddress https://developer.apple.com/library/archive/documentation/GraphicsImaging/Conceptual/QuartzDisplayServicesConceptual/Articles/DisplayCapture.html https://developer.apple.com/library/archive/documentation/Gr... After 10.7 (and certainly post-Metal) I don't think the framebuffer is accessible via userspace, you'd probably need to create a kernel extension to expose it somehow. Although windowserver must write to the framebuffer somehow so there's probably a private API as well