henry was once rumoured to have said:
> Dear List :
>
> VGA programming & lib is flourish in Linux world .
> I am a poor guy just released from Dos & Win98.
> Linux is a multi-threaded & strong-net-functional OS.
> I am curious how to do graphic-program on one monitor & to get
> graphic-results of execution from another monitor ? (through telnet
> or not ,maybe 2 video_cards in one computer)
I think what you want is X11, which is a networked graphics/windowing
protocol, and is by far the most generic way to perform graphics
programming on unix and unix-like systems.
X11 is a network transparent environment in the sense that the same
piece of code can work both locally and remotely without any changes.
X11 also handles the notion of multiple screens quite well [albeit,
not many people are used to using X11 multihead support in its pure
form and tend to use xinerama which provides a virtual screen which
spans the monitors].
However, X11 is also a very complicated beast to code for.
If you want to do fast native X graphics, you need to use Xlib. You
simply can not get any faster for primative graphics under X11,
especially if you want it to work over a network.
If you don't care about network access, then are plenty of libraries
which abstract X11 down to a linear framebuffer suitable for games
programming. One of the more popular ones being SDL.
SDL is reasonably documented within its download.
XLib is verbosely documented in the X manuals - but you'll want to
find a nice X11 programming primer first. Unfortunately, I can't
think of one to recommend.
C.
--
--==============================================--
Crossfire | This email was brought to you
[EMAIL PROTECTED] | on 100% Recycled Electrons
--==============================================--
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug