nanogui: Drawing modes
Subject:
RE: Drawing modes
From:
Alex Holden ####@####.####
Date:
19 May 1999 20:21:47 -0000
Message-Id: <Pine.LNX.4.04.9905192108020.1891-100000@hyperspace>
On Wed, 19 May 1999, Greg Haerr wrote:
> I'm not talking about the linear modes, they're easy, and of course
> you have to read, xor, and write.
Okay, I didn't realise that.
> I don't doubt they may be hidden. I haven't had a chance to look
> at the drivers you sent me. Does X support a framebuffer driver for
> the vga 16-color planar mode, or just the linear modes?
I think so, the code is pretty difficult to follow. Actually I later
realised that the stuff I sent you isn't all of the driver, just the
generic frame buffer code (for frame buffers on any kind of graphics card,
rather than specifically the Linux frambuffer).
> In the planar drivers that I've seen, sometimes all the MODE_SET stuff
> is hidden in an entirely separate proc that sets up the VGA hardware to
> automatically do the XOR etc without having to write code for it per
> pixel.
I'll look into it.
--------------- Linux- the choice of a GNU generation. --------------
: Alex Holden (M1CJD)- Caver, Programmer, Land Rover nut, Radio Ham :
-------------------- http://www.linuxhacker.org/ --------------------