top | item 42352159

(no title)

sunk1st | 1 year ago

Can this be done on Mac OS?

discuss

order

krackers|1 year ago

Only before 10.7 from userspace with CGDisplayBaseAddress

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