summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDaniel Borca <dborca@users.sourceforge.net>2003-12-19 11:26:46 +0000
committerDaniel Borca <dborca@users.sourceforge.net>2003-12-19 11:26:46 +0000
commite9e98405e720845f06f7a375585491e938f4dacd (patch)
treeae25ec98796f3456f2a5a17ce0a3d02d7838fd33 /docs
parenteee77bf82fda5b9f3cf34e96e7d0010bf18db748 (diff)
DMesa: removed MGA2064W driver
DMesa: added capability to query visuals fxMesa: WGL_3DFX_gamma_control fxMesa: minor fixes to interface (fxQueryHardware vs fxMesaSelect...)
Diffstat (limited to 'docs')
-rw-r--r--docs/README.DJ33
1 files changed, 25 insertions, 8 deletions
diff --git a/docs/README.DJ b/docs/README.DJ
index d8bb589f08..446e8d9023 100644
--- a/docs/README.DJ
+++ b/docs/README.DJ
@@ -1,4 +1,4 @@
- Mesa 5.1 DOS/DJGPP Port v1.4
+ Mesa 6.0 DOS/DJGPP Port v1.5
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -6,7 +6,7 @@
Description:
~~~~~~~~~~~~
-Well, guess what... this is the DOS port of Mesa 5.1, for DJGPP fans... Whoa!
+Well, guess what... this is the DOS port of Mesa 6.0, for DJGPP fans... Whoa!
The driver has its origins in ddsample.c, written by Brian Paul and found by me
in Mesa 3.4.2.
@@ -42,9 +42,6 @@ Available options:
As a consequence, you'll need the DJGPP Glide3
library to build any application.
default = no
- MATROX=1 build for Matrox Millennium I (MGA2064W) cards.
- This is experimental and not intensively tested.
- default = no
HAVE_X86=1 optimize for i386.
default = no
HAVE_MMX=1 allow MMX specializations, provided your assembler
@@ -103,9 +100,8 @@ FAQ:
2. Using Mesa for DJGPP
Q) DMesa is so SLOOOW! The Win32 OpenGL performs so much better...
- A) Is that a question? If you have a 3dfx Voodoo Banshee or higher card,
- you're lucky (check http://sourceforge.net/projects/glide for the DJGPP
- port). If you have a Matrox Millennium I card, you just MIGHT be lucky...
+ A) Is that a question? If you have a 3dfx Voodoo^2 or higher card, you're
+ lucky (check http://sourceforge.net/projects/glide for the DJGPP port).
If you haven't, sorry; everything is done in software. Suggestions?
Q) I tried to set refresh rate w/ DMesa, but without success.
@@ -119,6 +115,23 @@ FAQ:
lazy programmer and I found that the easiest way to keep buffer handling
at peak performance ;-).
+ Q) How do I query for a list of available video modes to choose as a visual?
+ A) This is an ugly hack, for which I'm sure I'll burn in hell.
+ First, query for a list of modes:
+ n = DMesaGetIntegerv(DMESA_GET_VIDEO_MODES, NULL);
+ If `n' is strictly positive, you allocate an array of pointers to a given
+ struct (which is guaranteed to be extended only - not changed in future):
+ struct {
+ int xres, yres;
+ int bpp;
+ } **l = malloc(n * sizeof(void **));
+ Now pass the newly allocated buffer to fill in:
+ DMesaGetIntegerv(DMESA_GET_VIDEO_MODES, (GLint *)l);
+ And collect the info:
+ for (i = 0; i < n; i++) {
+ printf("%dx%d:%d\n", l[i]->xres, l[i]->yres, l[i]->bpp);
+ }
+
Q) The GLUT is incomplete.
A) See below.
@@ -217,6 +230,10 @@ v1.4 (dec-2003)
* minor changes to PC_HW/timer interface
x hacked and slashed the 3dfx driver (w/ help from Hiroshi Morii)
+v1.5 (dec-2003)
+ + added interface to query available "visuals" (GLFW - Marcus Geelnard)
+ - removed Matrox Millennium MGA2064W driver
+
Contact: