Re: Standard way of graphics in Linux
- From: Herbert Kleebauer <klee@xxxxxxxxx>
- Date: Wed, 13 Sep 2006 19:45:50 +0200
Jan Panteltje wrote:
On a sunny day (Wed, 13 Sep 2006 16:52:23 +0200) it happened Herbert Kleebauer
<klee@xxxxxxxxx> wrote in <45081B27.451A162C@xxxxxxxxx>:
Exactly that's the problem, the kernel is responsible for the low
level stuff but doesn't provide any support for graphics output
(as far as I understand it).
Thank God for that.
This is done by add-ons, but the problem
is, there seems to be no (or better many) standard for this add-on.
Well X is _the_ standard, if you do not like X you can use svgalib.
I have written several programs that use *xlib*, they are fast, small,
portable to all Linuxes.
Maybe I'm just to stupid to understand it. I would be happy to
use svgalib, X or anything else as long as it is the "Standard way
of graphics in Linux" (the subject of this thread). If I write a
small graphics demo for Windows and tell somebody: download the
binary from ftp://... and take a look at it, then everybody who
uses Windows can execute this demo. Now, how can I do this for
Linux? If I use svgalib to implement it, then it will not run
on a system which has X but not svgalib installed. If I use X,
then it is the other way around.
To make it concrete: ftp://137.193.64.130/pub/assembler/erde.zip
is such a little graphics demo with mouse input. There is a DOS assembler
version (runs also in Win9x,W2k,XP) and a Windows C and assembler version
(runs in any 32 bit Windows version). The C source is only 300 lines
long. Now, which Linux graphics function should I use, so that the
Linux binary can be executed on any 32 bit x86 Linux installation
(not knowing whether the target system has svgalib, X or something
else installed).
.
- Follow-Ups:
- Re: Standard way of graphics in Linux
- From: Roger Leigh
- Re: Standard way of graphics in Linux
- From: Wolfgang Draxinger
- Re: Standard way of graphics in Linux
- From: jasen
- Re: Standard way of graphics in Linux
- From: Lars Rune Nøstdal
- Re: Standard way of graphics in Linux
- From: Lew Pitcher
- Re: Standard way of graphics in Linux
- From: John Hasler
- Re: Standard way of graphics in Linux
- From: Jan Panteltje
- Re: Standard way of graphics in Linux
- References:
- Standard way of graphics in Linux
- From: Herbert Kleebauer
- Re: Standard way of graphics in Linux
- From: Bjoern Schliessmann
- Re: Standard way of graphics in Linux
- From: Herbert Kleebauer
- Re: Standard way of graphics in Linux
- From: Wolfgang Draxinger
- Re: Standard way of graphics in Linux
- From: Herbert Kleebauer
- Re: Standard way of graphics in Linux
- From: Jan Panteltje
- Standard way of graphics in Linux
- Prev by Date: Re: Standard way of graphics in Linux
- Next by Date: Re: Standard way of graphics in Linux
- Previous by thread: Re: Standard way of graphics in Linux
- Next by thread: Re: Standard way of graphics in Linux
- Index(es):
Relevant Pages
|