Re: which language you would use for X11-less macOS graphic framework?
Alexei Podtelezhnikov <[email protected]> Sat, 4 May 2024 10:47:11 -0400
| Newsgroups | gmane.comp.fonts.freetype.devel |
|---|---|
| Message-ID | <CAJU=AjVshr0rj60q_vMH8Mf4n7vekSr+nTuB2=p1eZd+it6mTw@mail.gmail.com> |
On Sat, May 4, 2024 at 10:19 AM Sean McBride <[email protected]> wrote: > > Me too. We are talking about an API which opens a window and shows an uncompressed pixel buffer in whatever language.Then it passes on keystrokes, receives an updated pixel buffer, and updates the window with it. > > Is that what we're looking to do? If so, you might also look at NSWindow and NSView. > > Something else to consider: what is the oldest version of macOS you want to support with this? Perhaps, this is it. I think we need a few years back and as much as reasonable forward. SetDIBitsToDevice of legacy GDI still works under Windows 11.