removed some bogus error checks
[mesa.git] / docs / RELNOTES-3.5
index c53e7df5689e2ba50987a770542cd05b4002d290..1ff3d2448a87af6d3f71eabab69a3e158c7c9020 100644 (file)
@@ -41,14 +41,36 @@ GL_ARB_texture_compression
        This is supported in Mesa but only used by the 3dfx DRI drivers
        for Voodoo4 and later.
 
+GL_ARB_texture_env_add
+       This is identical to GL_EXT_texture_env_add.
+
 GL_NV_blend_square
        Adds extra blend source and dest factors which allow squaring
        of color values.
 
+GL_EXT_fog_coord
+       Allows specification of a per-vertex fog coordinate instead of
+       having fog always computed from the eye distance.
+
+GL_EXT_secondary_color
+       Allows specifying the secondary (specular) color for each vertex
+       instead of getting it only from lighting in GL_SEPARATE_SPECULAR_COLOR
+       mode.
+
+
+
+libOSMesa.so
+------------
+
+libOSMesa.so is a new library which contains the OSMesa interface for
+off-screen rendering.  Apps which need the OSMesa interface should link
+with both -lOSMesa and -lGL.  This change was made so that stand-alone
+Mesa works the same way as XFree86/DRI's libGL.
+
 
 
-Device Driver Changes
----------------------
+Device Driver Changes / Core Mesa Changes
+-----------------------------------------
 
 The ctx->Driver.LogicOp() function has been removed.  It used to
 be called during state update in order to determine if the driver
@@ -59,6 +81,8 @@ or fall back to software rendering.  The Xlib driver was the only driver
 to use this function.  And since the Xlib driver no longer draws
 points, lines or triangles using Xlib, the LogicOp function isn't needed.
 
+The ctx->Driver.Dither() function has been removed.  Drivers should
+detect dither enable/disable via ctx->Driver.Enable() instead.
 
 The ctx->Driver.IndexMask() and ctx->Driver.ColorMask() functions
 are now just called from glIndexMask and glColorMask like the other
@@ -66,7 +90,70 @@ GL state-changing functions.  They are no longer called from inside
 gl_update_state().  Also, they now return void.  The change was made
 mostly for sake of uniformity.
 
+The NEW_DRVSTATE[0123] flags have been removed.  They weren't being used
+and are obsolete w.r.t. the way state updates are done in DRI drivers.
+
+
+Removed obsolete gl_create_visual() and gl_destroy_visual().
+
+Renamed functions (new namespace):
+
+old                            new
+gl_create_framebuffer          _mesa_create_framebuffer
+gl_destroy_framebuffer         _mesa_destroy_framebuffer
+gl_create_context              _mesa_create_context
+gl_destroy_context             _mesa_destroy_context
+gl_context_initialize          _mesa_context_initialize
+gl_copy_context                        _mesa_copy_context
+gl_make_current                        _mesa_make_current
+gl_make_current2               _mesa_make_current2
+gl_get_current_context         _mesa_get_current_context
+gl_flush_vb                    _mesa_flush_vb
+gl_warning                     _mesa_warning
+gl_compile_error               _mesa_compile_error
+
+
+All the drivers have been updated, but not all of them have been
+tested since I can't test some platforms (DOS, Windows, Allegro, etc).
+
+
+Multitexture
+------------
+
+Three texture units are now supported by default.  We'll allow more
+than three texture units when we fix some bitfield issues.  In at least
+one place we have a 32-bit bitfield which is fully allocated, leaving
+no space for texture unit #3 or higher.
+
+The TEXTURE1_1D, TEXTURE1_2D, etc constants may go away in the future.
+Currently, they're only used in the ctx->Texture.ReallyEnabled field.
+This bitfield is just a conglomerate of ctx->Texture.Unit[i].ReallyEnabled
+for all <i> texture units.  ctx->Texture.ReallyEnabled may become a
+GLboolean.  Then, drivers will have to loop over the texture units to
+examine ctx->Texture.Unit[i].ReallyEnabled.
+
+
+
+
+
+
+OpenGL SI related changes
+-------------------------
+
+In an effort to make Mesa's internal interfaces more like the OpenGL
+SI interfaces, a number of changes have been made:
+
+1. Importing the SI's glcore.h file which defines a number of
+interface structures like __GLimports and __GLexports.
+
+2. Renamed "struct gl_context" to "struct __GLcontextRec".
+
+3. Added __glCoreCreateContext() and __glCoreNopDispatch() functions.
+
+4. The GLcontext member Visual is no longer a pointer.
+
+5. New file: imports.c to setup default import functions for Mesa.
 
 
 ----------------------------------------------------------------------
-$Id: RELNOTES-3.5,v 1.3 2000/09/07 15:46:05 brianp Exp $
+$Id: RELNOTES-3.5,v 1.8 2000/10/30 16:00:42 keithw Exp $