www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/06/16/11:15:08

From: "Bonnie" <BonnieK AT bright DOT net>
Newsgroups: comp.os.msdos.djgpp
References: <3b1a0373 DOT 10143623 AT news DOT adelaide DOT on DOT net> <3b1f5724 DOT 30609467 AT news DOT adelaide DOT on DOT net>
Subject: Re: help: I have mesaLib-3_4_2.zip now what?
Lines: 44
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.3018.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.3018.1300
Message-ID: <JFKW6.9540$Bo2.287998@cletus.bright.net>
Date: Sat, 16 Jun 2001 11:08:57 -0400
NNTP-Posting-Host: 205.212.153.74
X-Complaints-To: abuse AT bright DOT net
X-Trace: cletus.bright.net 992704233 205.212.153.74 (Sat, 16 Jun 2001 11:10:33 EDT)
NNTP-Posting-Date: Sat, 16 Jun 2001 11:10:33 EDT
Organization: bright.net Ohio
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il> wrote in message
news:7443-Fri08Jun2001183724+0300-eliz AT is DOT elta DOT co DOT il...
>
> You need to look in the installation instructions and the various
> installation scripts for a way to build Mesa with DJGPP.  Sorry, I
> never built Mesa myself, so I cannot give you any specific directions.

The Mesa maintainer really ought to just drop the DOS makefiles. They are
terribly deprecated. (were for ver 2.x or so IIRC.) The 'built-in' DOS
driver will *NOT* work with the current Mesa version, and the Allegro driver
files that they continue to include in the distro are ancient and badly
broken.

There was a (and still is to some extent) a driver written for
DJGPP+Allegro, which is still available at one of my web-pages:
http://www.geocities.com/gk_2345/) but it is only sure to work with Mesa3.2,
and is only 60-70% complete. (I didn't write it, just patched it to get it
working when 3.2 came out). It does however come with a fairly complete GLUT
library, which isn't available for DOS in any other form that I am aware
of.) I was able to build ~80% of the examples from the redbook and bluebook,
most worked fine, some didn't. If you know much about GL internally, you may
be interested in updating this driver. (Personally I haven't had time to
play with it for quite a while, and don't know if I'll ever get back to it.)

For portability's sake, they did add an option to configure Mesa to just use
a generic 32-bit memory buffer for rendering, the user has to provide the
blitting to screen, etc. It is very portable, and you can use any old
graphics library you are familiar with. It requires PERL, autoconf, and
several other tools, but anyone with a complete DJGPP install can use it
without any hassle.
(I'd focus on this solution if at all possible, that way no heavy re-coding
when the API changes, which isn't at all unusual for Mesa) I'm sure the Mesa
folks would be quite helpful in getting this to work.

A bit of advice though, the Mesa DEV folks aren't interested in pursuing
DOS, but will accept DOS material if you provide it. Also, Mesa is a
software only GL, which means that it is terribly, terribly slow for all but
the most trivial rendering. But then again its one of the simplest ways to
cook up 3D views around.

Anyways, hope this helps for anyone who might be following this thread.


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019