nanogui: Blitting
Subject:
RE: Blitting
From:
Greg Haerr ####@####.####
Date:
4 Jan 2000 18:06:02 -0000
Message-Id: <C1962B36D9BBD311B0F80060083DFEFBF00B@NBA-SLAM.CenSoft.COM>
: I'm interested in using some sort of "fast screen to screen" blit in an
: application I'm working on. Do we have anything like that that works,
: I've noticed commented out blit-code in nterm, etc. but Enabling it
: doesn't seem to do much, I've read the nanox source code but it's like
: beating my head against a brick wall, Greg, anyone, please?
Darran,
Blitting only means something when off-screen
drawing is supported. It's done in Microwindows but not
yet in Nano-X. This involves implementing the GR_PIXMAP_ID
in GsPrepareWindow so that all draw routines can take
either a window or an offscreen pixmap. Then a blit routine
can be called to copy the offscreen to screen.
In addition, screen-to-screen blitting is implemented,
but not yet in Nano-X. This will be done through a new
routine, GrCopyArea, like Xlib. Screen-to-screen is
real nice of terminal emulator scrolling...
If this is pretty important for you, I can write it. It's been
on the list for a while, but I just never got around to it.
Greg