tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: I wrote a little graphics thing



Hello,

On Wed, 3 Jun 2026 10:15:10 -0400
Michael <macallan1888%gmail.com@localhost> wrote:

> Source code to play with is here:
> http://ftp.netbsd.org/pub/NetBSD/misc/macallan/tinygfx.tar.gz

Updated the thing, now it may actually be marginally useful.
Changes:
- coalesce mouse motion events - wsmouse sends separate events for each
  axis, so if there is more than one event in the pipe, combine them
  and turn it into one instead of moving and redrawing the cursor every
  time
- little endian fixes, works on my pinebook now
- implement enough window handling to have two independent terminal
  windows
- terminals now read up to 1KB from their ptys, feed it to the terminal
  emulator which runs it purely on a text buffer, then redraw only what
  changed
- on sparc64 use VIS image copy routines lifted from xf86-video-sunffb

The window decorations are still largely useless, only indicate which
window has the keyboard focus.

have fun
Michael


Home | Main Index | Thread Index | Old Index