From: Matan Ziv-Av (matan@svgalib.org)
Date: Wed 30 May 2001 - 22:32:21 IDT
On Wed, 30 May 2001, Mihai Moise wrote:
> The nice thing about it is that the file app.c follows the usual svgalib
> syntax, so converting to client-server only requires a recompile (with a
> -lvgaclient switch in the future.)
It can even work without recompile, by using LD_PRELOAD, or by calling
the client library libvga.so, so svgalib programs will link to it by
default.
> This approach is safe because user programs do not need access to
> registers; they only require to be able to mmap, and this can be
> controlled using a module like svgalib_helper.
>
> I hope client-server might beadded to a future release of svgalib.
Sure, but there is still more work to do. I don't like your
implementation of vga_clear and vga_drawline - those functions might be
critical for performance, and they don't need to access anything but the
framebuffer (for super vga modes), so they (and similar functions such
as vga_drawscansegment) should better be implemented in the client
library, without calling the server.
--
Matan Ziv-Av. matan@svgalib.org
------------------------------------------------------------------
Unsubscribe: To: listbot@svgalib.org
Body: unsubscribe linux-svgalib
This archive was generated by hypermail 2.1.4 : Wed 21 Jan 2004 - 22:10:24 IST