3 ms·
No. TinyX is an XServer, it only talks to VESA compatible graphics hardware and provides an X11 interface. It's intended for PCs. Nano-X is a graphics librar
by oso2k 3y ago
No.
TinyX is an XServer, it only talks to VESA compatible graphics hardware and provides an X11 interface. It's intended for PCs.
Nano-X is a graphics library that can talk to frame buffers, graphics hardware, or an XServer and can provide some level of X11 interface as well as a Win32 API. It's intended for embedded machines.
- vidarh 3y agoIt's also provides a standalone graphics server, not just a library. I used it for a bit 25 years ago when we were using it as the GUI for a Linux based tablet because X took too much memory...
- oso2k 3y agoDoes it provide a graphics server in the absence of all the X11 foundation libs? TBH, I've only played with microwindows in DOS, OSX with XQuartz, and Linux with X11.
- vidarh 3y agoYes. With the caveat that my knowledge of Nano-X is about 20 years out of date: It very specifically is not X, though the API is close to the Xlib API, and there's a shim that provides some X11 compatibility, and of course on the backend there's an X11 driver. But it only requires a driver that can handle a minimum of reading/setting individual pixels and draw horizontal and vertical lines and manage the palette (of course if whatever you're drawing on supports more than that, you'll get far better performance if you implement e.g. blits). We were using it without any shims, and had a very tiny GUI lib running directly against the Nano-X API, and contracted Opera to port their browser to it as well to use on our tablet. It was a fun project, but way too early - the hardware we built was beautiful but so extremely constrained, leading to put a huge effort into shrinking everything. Never made it to mass production.