9 Header file / GLenum changes
10 ----------------------------
12 The gl.h and glu.h headers now use #defines to define all GL_* tokens
13 instead of C-language enums. This change improves Mesa/OpenGL
21 The core Mesa gl* functions are now implemented with a new dispatch
22 (jump table) which will allow simultaneous direct/indirect rendering.
24 The code is found in the glapi*.[ch] files.
26 Of interest: the actual "glFooBar" functions are generated with
27 templatized code defined in glapitemp.h and included by glapi.c
28 The glapitemp.h template should be reusable for all sorts of OpenGL
35 Thread support in Mesa has been rewritten. The glthread.[ch] files
36 replace mthreads.[ch]. Thread safety is always enabled (on platforms
37 which support threads, that is). There is virtually no performance
38 penalty for typical single-thread applications. See the glapi.c
43 Make configuration changes
44 --------------------------
46 If you use the old-style (non GNU automake) method to build Mesa note
47 that several of the configuration names have changed:
50 ------------- ----------------
53 linux-386-elf linux-386
54 linux-386 linux-386-static
62 GL_ARB_transpose_matrix
63 Adds glLoadTransposeMatrixARB() and glMultTransposeMatrixARB()
66 GL_EXT_texture_add_env
67 Adds GL_ADD texture environment mode.
68 See http://www.berkelium.com/OpenGL/EXT/texture_env_add.txt
70 GL_EXT_texture_lod_bias
71 Allows mipmapped texture blurring and sharpening.
73 GLX_EXT_visual_rating extension
74 This extension has no effect in stand-alone Mesa (used for DRI).
77 Used for bounding box occlusion testing (see demos/occlude.c).
79 GL_SGIX_pixel_texture / GL_SGIS_pixel_texture
80 Lets glDraw/CopyPixels draw a texture coordinate image.
83 Adds a color matrix and another set of scale and bias parameters
84 to the glDraw/CopyPixels paths.
87 Adds additional color tables to the glDraw/Read/CopyPixels paths.
90 Compute histograms for glDraw/Read/CopyPixels.
92 GL_EXT_blend_func_separate
93 This is the same as GL_INGR_blend_func_separate.
95 Documentation for all these functions can be found at
96 http://oss.sgi.com/projects/ogl-sample/registry/
100 GLX_SGI_make_current_read functionality
101 ---------------------------------------
103 The functionality of this extension is needed for GLX 1.3 (and required
104 for the Linux/OpenGL standards base).
106 Implementing this function required a **DEVICE DRIVER CHANGE**.
107 The old SetBuffer() function has been replaced by SetReadBuffer() and
108 SetDrawBuffer(). All device drivers will have to be updated because
111 The new function, glXMakeContextCurrent(), in GLX 1.3 now works in Mesa.
112 The xdemos/wincopy.c program demonstrates it.
116 Image-related code changes
117 --------------------------
119 The imaging path code used by glDrawPixels, glTexImage[123]D,
120 glTexSubImage[123], etc has been rewritten. It's now faster,
121 uses less memory and has several bug fixes. This work was
122 actually started in Mesa 3.1 with the glTexImage paths but has now
123 been carried over to glDrawPixels as well.
127 Device driver interface changes
128 -------------------------------
130 Added new functions for hardware stencil buffer support:
137 Removed old depth buffer functions:
145 Added new depth buffer functions:
151 These functions always read/write 32-bit GLuints. This will allow
152 drivers to have anywhere from 0 to 32-bit Z buffers without
153 recompiling for 16 vs 32 bits as was previously needed.
156 New texture image functions
157 The entire interface for texture image specification has been updated.
158 With the new functions, it's optional for Mesa to keep an internal copy
159 of all textures. Texture download should be a lot faster when the extra
163 TexEnv now takes a target argument
164 Removed UseGlobalTexturePalette (use Enable function instead)
172 The SetBufffer function has been replaced by SetDrawBuffer and
173 SetReadBuffer functions. This lets core Mesa independently
174 specify which buffer is to be used for reading and which for
177 The Clear function's mask parameter has changed. Instead of
178 mask being the flags specified by the user to glClear, the
179 mask is now a bitmask of the DD_*_BIT flags in dd.h. Now
180 multiple color buffers can be specified for clearing (ala
181 glDrawBuffers). The driver's Clear function must also
182 check the glColorMask glIndexMask, and glStencilMask settings
183 and do the right thing. See the X/Mesa, OS/Mesa, or FX/Mesa
184 drivers for examples.
187 The depth buffer changes shouldn't be hard to make for existing
188 drivers. In fact, it should simply the code. Be careful with
189 the depthBits value passed to gl_create_context(). 1 is a bad
190 value! It should normally be 0, 16, 24, or 32.
193 gl_create_framebuffer() takes new arguments which explicitly tell
194 core Mesa which ancillary buffers (depth, stencil, accum, alpha)
195 should be implemented in software. Mesa hardware drivers should
196 carefully set these flags depending on which buffers are in the
204 Point and line size range and granularity limits are now stored
205 in the gl_constants struct, which is the Const member of GLcontext.
206 The limits are initialized from values in config.h but may be
207 overridden by device drivers to reflect the limits of that driver's
210 Also added constants for NumAuxBuffers and SubPixelBits.
215 ----------------------------------------------------------------------
216 $Id: RELNOTES-3.3,v 1.5 2000/05/22 18:47:29 brianp Exp $