blob: 1ff3d2448a87af6d3f71eabab69a3e158c7c9020 [file] [log] [blame]
Brian Paul5c8de842000-07-31 13:58:04 +00001
2 Mesa 3.5 release notes
3
4 Month ??, 2000
5
6 PLEASE READ!!!!
7
8
9
10Introduction
11------------
12
13Mesa uses an even/odd version number scheme like the Linux kernel.
14Odd numbered versions (such as 3.3) designate new developmental releases.
15Even numbered versions (such as 3.4) designate stable releases.
16
17The internal structure of Mesa 3.5 is (will be) changed so that it
18is more modular. The motivation is better support of 3D hardware
19such as T&L hardware in which much of core Mesa isn't needed.
20
21Details to come...
22
23
24
Brian Paulbed57352000-08-31 23:04:17 +000025New Extensions
26--------------
27
28GL_EXT_convolution
29 Adds image convolution to glRead/Copy/DrawPixels/TexImage.
30
31GL_ARB_imaging
32 This is the optional imaging subset of OpenGL 1.2.
33 It's the GL_EXT_convolution, GL_HP_convolution_border_modes,
34 GL_EXT_histogram, GL_EXT_color_table, GL_EXT_color_subtable
35 GL_EXT_blend_color, GL_EXT_blend_minmax, GL_EXT_blend_subtract
36 and GL_SGI_color_matrix extensions all rolled together.
37 This is supported in all software renderers but not in all
38 hardware drivers (3dfx for example).
39
40GL_ARB_texture_compression
41 This is supported in Mesa but only used by the 3dfx DRI drivers
42 for Voodoo4 and later.
43
Brian Paul423f2b22000-09-25 16:03:59 +000044GL_ARB_texture_env_add
45 This is identical to GL_EXT_texture_env_add.
46
Brian Paulbed57352000-08-31 23:04:17 +000047GL_NV_blend_square
48 Adds extra blend source and dest factors which allow squaring
49 of color values.
50
Brian Paul7dd57a42000-10-27 18:32:55 +000051GL_EXT_fog_coord
52 Allows specification of a per-vertex fog coordinate instead of
53 having fog always computed from the eye distance.
54
55GL_EXT_secondary_color
56 Allows specifying the secondary (specular) color for each vertex
57 instead of getting it only from lighting in GL_SEPARATE_SPECULAR_COLOR
58 mode.
59
Brian Paulbed57352000-08-31 23:04:17 +000060
61
Brian Paul5a501fb2000-10-23 19:46:11 +000062libOSMesa.so
63------------
64
65libOSMesa.so is a new library which contains the OSMesa interface for
66off-screen rendering. Apps which need the OSMesa interface should link
67with both -lOSMesa and -lGL. This change was made so that stand-alone
68Mesa works the same way as XFree86/DRI's libGL.
69
70
71
Brian Paul9a2da662000-09-08 22:39:09 +000072Device Driver Changes / Core Mesa Changes
73-----------------------------------------
Brian Paul8ad306b2000-09-07 15:46:05 +000074
75The ctx->Driver.LogicOp() function has been removed. It used to
76be called during state update in order to determine if the driver
77could do glLogicOp() operations, and if not, set the SWLogicOpEnabled
78flag. Drivers should instead examine the LogicOp state themselves
79and choose specialized point, line, and triangle functions appropriately,
80or fall back to software rendering. The Xlib driver was the only driver
81to use this function. And since the Xlib driver no longer draws
82points, lines or triangles using Xlib, the LogicOp function isn't needed.
83
Brian Paul9a2da662000-09-08 22:39:09 +000084The ctx->Driver.Dither() function has been removed. Drivers should
85detect dither enable/disable via ctx->Driver.Enable() instead.
Brian Paul8ad306b2000-09-07 15:46:05 +000086
87The ctx->Driver.IndexMask() and ctx->Driver.ColorMask() functions
88are now just called from glIndexMask and glColorMask like the other
89GL state-changing functions. They are no longer called from inside
90gl_update_state(). Also, they now return void. The change was made
91mostly for sake of uniformity.
92
Brian Paul9a2da662000-09-08 22:39:09 +000093The NEW_DRVSTATE[0123] flags have been removed. They weren't being used
94and are obsolete w.r.t. the way state updates are done in DRI drivers.
Brian Paul8ad306b2000-09-07 15:46:05 +000095
96
Brian Paul5a501fb2000-10-23 19:46:11 +000097Removed obsolete gl_create_visual() and gl_destroy_visual().
98
99Renamed functions (new namespace):
100
101old new
102gl_create_framebuffer _mesa_create_framebuffer
103gl_destroy_framebuffer _mesa_destroy_framebuffer
104gl_create_context _mesa_create_context
105gl_destroy_context _mesa_destroy_context
106gl_context_initialize _mesa_context_initialize
107gl_copy_context _mesa_copy_context
108gl_make_current _mesa_make_current
109gl_make_current2 _mesa_make_current2
110gl_get_current_context _mesa_get_current_context
111gl_flush_vb _mesa_flush_vb
112gl_warning _mesa_warning
113gl_compile_error _mesa_compile_error
114
115
116All the drivers have been updated, but not all of them have been
117tested since I can't test some platforms (DOS, Windows, Allegro, etc).
118
119
120Multitexture
121------------
122
123Three texture units are now supported by default. We'll allow more
124than three texture units when we fix some bitfield issues. In at least
125one place we have a 32-bit bitfield which is fully allocated, leaving
126no space for texture unit #3 or higher.
127
128The TEXTURE1_1D, TEXTURE1_2D, etc constants may go away in the future.
129Currently, they're only used in the ctx->Texture.ReallyEnabled field.
130This bitfield is just a conglomerate of ctx->Texture.Unit[i].ReallyEnabled
131for all <i> texture units. ctx->Texture.ReallyEnabled may become a
132GLboolean. Then, drivers will have to loop over the texture units to
133examine ctx->Texture.Unit[i].ReallyEnabled.
134
135
136
137
Keith Whitwell69676ac2000-10-30 16:00:42 +0000138
139
Brian Paul5a501fb2000-10-23 19:46:11 +0000140OpenGL SI related changes
141-------------------------
142
143In an effort to make Mesa's internal interfaces more like the OpenGL
144SI interfaces, a number of changes have been made:
145
1461. Importing the SI's glcore.h file which defines a number of
147interface structures like __GLimports and __GLexports.
148
1492. Renamed "struct gl_context" to "struct __GLcontextRec".
150
1513. Added __glCoreCreateContext() and __glCoreNopDispatch() functions.
152
1534. The GLcontext member Visual is no longer a pointer.
154
1555. New file: imports.c to setup default import functions for Mesa.
156
157
Brian Paul5c8de842000-07-31 13:58:04 +0000158----------------------------------------------------------------------
Keith Whitwell69676ac2000-10-30 16:00:42 +0000159$Id: RELNOTES-3.5,v 1.8 2000/10/30 16:00:42 keithw Exp $