blob: 3c7451c27557babbb5e8d51d553b4d4fcbc60bbb [file] [log] [blame]
Brian Paul7c0e32b2002-12-18 14:57:34 +00001
2 Mesa 5.1 release notes
3
4 Month day, 2003
5
6 PLEASE READ!!!!
7
8
9
10Introduction
11------------
12
13Mesa uses an even/odd version number scheme like the Linux kernel.
14Even-numbered versions (such as 5.0) designate stable releases.
15Odd-numbered versions (such as 5.1) designate new developmental releases.
16
17
Brian Pauldc326362003-03-07 20:21:51 +000018Bug fixes
19---------
20See the VERSIONS file for a list of bugs fixed in this release.
21
22
23
Brian Paul7c0e32b2002-12-18 14:57:34 +000024New Features in Mesa 5.1
25------------------------
26
Brian Paul5e04bcf2003-06-10 15:01:45 +000027New directory tree
28 The whole Mesa directory tree has been cleaned up and reorganized.
29 Some old stuff has been abandoned. Lots of non-Unix makefiles will
30 have to be updated.
31
32 For now, autoconf/automake support has been removed. New autoconf/automake
33 files will added if they meet certain criteria.
34
35
Brian Paul943f0c62003-01-21 15:49:06 +000036GL_ATI_texture_env_combine3 extension
37 This adds a few new texture combine modes.
38 Contributed by Ian Romanick.
Brian Paul7c0e32b2002-12-18 14:57:34 +000039
Brian Paulccec6472003-01-21 21:48:29 +000040GL_SGI_texture_color_table
Brian Paula89cc0e2003-02-13 16:01:33 +000041 Adds a color table lookup to the RGBA texture path. There's a separate
42 color table for each texture unit.
Brian Paulccec6472003-01-21 21:48:29 +000043 Contributed by Eric Plante.
Brian Paul7c0e32b2002-12-18 14:57:34 +000044
Brian Paul4e50ab52003-03-01 01:50:13 +000045GL_NV_fragment_program
46 NVIDIA's fragment-level programming feature.
Brian Paulc0e11892003-06-01 16:27:37 +000047 Possible lurking bugs:
48 - the DDX and DDY commands aren't fully tested
49 - there may be bugs in the parser
50 - the TEX and TXP instructions both do perspective correction
51 - the pack/unpack instructions may not be correct
52
53GL_EXT_depth_bounds_test
54 This extension adds a scissor-like test for the Z axis. It's used to
55 optimize stencil-volume shadow algorithms.
56
57GL_NV_light_max_exponent
58 Lifts the 128 limit for max light exponent.
59
Brian Paul5e04bcf2003-06-10 15:01:45 +000060GL_EXT_texture_rectangle
61 Identical to GL_NV_texture_rectangle
62
Brian Paulb17a7222003-06-13 02:37:27 +000063GL_ARB_occlusion_query
64 Useful for visibility-based culling.
65
Brian Paul235c1502003-07-03 03:07:12 +000066GL_ARB_texture_non_power_of_two
67 Removes the restriction that texture dimensions must be powers of two.
Brian Paulc0e11892003-06-01 16:27:37 +000068
69
70Build System Changes
71--------------------
72
73The "old style" makefile system has been updated:
74 1. Make-config has been trimmed down to fewer, modern configurations.
75 2. Most of the bin/mklib.* scripts have been rolled into a new "mklib"
76 script that works on all sorts of systems. There are probably some
77 bugs in it, but it's been tested on Linux, SunOS 5.8 and IRIX 6.5.
78 Improvements/contributes are greatly appreciated.
79 3. The Makefile.X11 files have been cleaned up in various ways
80
Brian Paul4e50ab52003-03-01 01:50:13 +000081
82
83Source File Changes
84-------------------
85
86The mmath.[ch] files are obsolete. Their contents have been moved
87into the imports.[ch] and macros.[ch] files.
88
89The files related to vertex and fragment programming have changed.
90Old files:
91 vpexec.[ch]
92 vpparse.[ch]
93 vpstate.[ch]
94New files:
95 nvvertprog.h - NV vertex program definitions
96 nvfragprog.h - NV fragment program definitions
97 nvvertparse.[ch] - NV vertex program parser
98 nvfragparse.[ch] - NV fragment program parser
99 nvprogram.[ch] - NV program API functions
100 nvvertexec.[ch] - NV vertex program execution
101 swrast/s_nvfragprog.[ch] - NV fragment program execution
102
Brian Paul9c270502003-03-29 16:39:52 +0000103Removed files:
104 swrast/s_historgram.[ch] - moved into src/histogram.c
Brian Paul4e50ab52003-03-01 01:50:13 +0000105
Brian Paulc0e11892003-06-01 16:27:37 +0000106Other New files:
Brian Paul7f223f22003-03-30 16:17:54 +0000107 bufferobj.[ch] - GL_ARB_vertex_buffer_object functions
Brian Paulc0e11892003-06-01 16:27:37 +0000108 arbprogram.[ch] - GL_ARB_vertex/fragment_program functions
109 version.h - defines the Mesa version info
110
111
112Other Changes
113-------------
114
115The ctx->Driver.CreateTexture function has been removed - it wasn't used.
116
117New device driver hook functions:
118 NewTextureObject - used to allocate struct gl_texture_objects
119 NewTextureImage - used to allocate struct gl_texture_images
120
121New ctx->Texture._EnabledCoordUnits field:
122 With the addition of GL_NV_fragment_program we may need to interpolate
123 various sets of texture coordinates even when the corresponding texture
124 unit is not enabled. That is, glEnable(GL_TEXTURE_xD) may never get
125 called but we still may have to interpolate texture coordinates across
126 triangles so that the fragment program will get them.
127 This new field indicates which sets of texture coordinates are needed.
128 If a bit is set in the ctx->Texture._EnabledUnits bitmask is set, the
129 same bit MUST be set in ctx->Texture._EnabledCoordUnits.
130
131
132
133To Do
134-----
135Add screen-awareness to fakeglx.c
136
Brian Paul7f223f22003-03-30 16:17:54 +0000137
Brian Paul4e50ab52003-03-01 01:50:13 +0000138
Brian Paul7c0e32b2002-12-18 14:57:34 +0000139
140Device Driver Status
141--------------------
142
143A number of Mesa's software drivers haven't been actively maintained for
144some time. We rely on volunteers to maintain many of these drivers.
145Here's the current status of all included drivers:
146
147
148Driver Status
149---------------------- ---------------------
150XMesa (Xlib) implements OpenGL 1.4
151OSMesa (off-screen) implements OpenGL 1.4
152FX (3dfx Voodoo1/2) implements OpenGL 1.3
153SVGA implements OpenGL 1.3
154Wind River UGL implements OpenGL 1.3
155Windows/Win32 implements OpenGL 1.4
Brian Paul971e4d62003-03-11 15:34:42 +0000156DJGPP implements OpenGL 1.4
Brian Paul7c0e32b2002-12-18 14:57:34 +0000157GGI implements OpenGL 1.3
Brian Paul7f223f22003-03-30 16:17:54 +0000158BeOS implements OpenGL 1.4
Brian Paul7c0e32b2002-12-18 14:57:34 +0000159Allegro needs updating
160D3D needs updating
161
162Note: supporting OpenGL 1.4 (vs. 1.3 or 1.2) usually only requires that the
163driver call the _mesa_enable_1_4_extensions() function.
164
165
166----------------------------------------------------------------------