xref: /aosp_15_r20/external/mesa3d/docs/_extra/relnotes/3.1 (revision 6104692788411f58d303aa86923a9ff6ecaded22)
1*61046927SAndroid Build Coastguard Worker
2*61046927SAndroid Build Coastguard Worker                         Mesa 3.1 release notes
3*61046927SAndroid Build Coastguard Worker
4*61046927SAndroid Build Coastguard Worker                             PLEASE READ!!!!
5*61046927SAndroid Build Coastguard Worker
6*61046927SAndroid Build Coastguard Worker
7*61046927SAndroid Build Coastguard WorkerNew copyright
8*61046927SAndroid Build Coastguard Worker-------------
9*61046927SAndroid Build Coastguard Worker
10*61046927SAndroid Build Coastguard WorkerMesa 3.1 will be distributed under an XFree86-style copyright instead
11*61046927SAndroid Build Coastguard Workerof the GNU LGPL.
12*61046927SAndroid Build Coastguard Worker
13*61046927SAndroid Build Coastguard Worker
14*61046927SAndroid Build Coastguard WorkerNew directories
15*61046927SAndroid Build Coastguard Worker---------------
16*61046927SAndroid Build Coastguard Worker
17*61046927SAndroid Build Coastguard WorkerAll documentation files are now in the docs/ directory.
18*61046927SAndroid Build Coastguard WorkerAll shell scripts are now in the bin/ directory.
19*61046927SAndroid Build Coastguard Worker
20*61046927SAndroid Build Coastguard Worker
21*61046927SAndroid Build Coastguard WorkerNew library names
22*61046927SAndroid Build Coastguard Worker-----------------
23*61046927SAndroid Build Coastguard Worker
24*61046927SAndroid Build Coastguard WorkerFormerly, the main Mesa library was named libMesaGL.so (or libMesaGL.a)
25*61046927SAndroid Build Coastguard Workerand the GLU library was named libMesaGLU.so (or libMesaGLU.a).
26*61046927SAndroid Build Coastguard Worker
27*61046927SAndroid Build Coastguard WorkerNow, the main library is named libGL.so (or libGL.a) and the GLU library
28*61046927SAndroid Build Coastguard Workeris named libGLU.so (or libGLU.a).
29*61046927SAndroid Build Coastguard Worker
30*61046927SAndroid Build Coastguard WorkerThe change allows Mesa to be more easily substituted for OpenGL.
31*61046927SAndroid Build Coastguard WorkerSpecifically, the linker/loader on some Unix-like systems won't
32*61046927SAndroid Build Coastguard Workerallow libMesaGL.so to be used instead of libGL.so if the application
33*61046927SAndroid Build Coastguard Workerwas linked with the former.
34*61046927SAndroid Build Coastguard Worker
35*61046927SAndroid Build Coastguard WorkerWarning: if you have another OpenGL implementation installed on your
36*61046927SAndroid Build Coastguard Workersystem (i.e. you have another OpenGL libGL.so) you'll have to be
37*61046927SAndroid Build Coastguard Workercarefull about which library (OpenGL or Mesa) you link against.  Be
38*61046927SAndroid Build Coastguard Workeraware of -L linker flags and the value of the LD_LIBRARY_PATH environment
39*61046927SAndroid Build Coastguard Workervariable.
40*61046927SAndroid Build Coastguard Worker
41*61046927SAndroid Build Coastguard Worker
42*61046927SAndroid Build Coastguard WorkerNew library versioning
43*61046927SAndroid Build Coastguard Worker----------------------
44*61046927SAndroid Build Coastguard Worker
45*61046927SAndroid Build Coastguard WorkerPreviously, the Mesa GL library was named libMesaGL.so.3.0
46*61046927SAndroid Build Coastguard WorkerTo better support Linux/OpenGL standards, the Mesa GL library is now
47*61046927SAndroid Build Coastguard Workernamed libGL.so.1.2.030100  This indicates version 1.2 of the OpenGL spec
48*61046927SAndroid Build Coastguard Workerand Mesa implementation 3.1.0
49*61046927SAndroid Build Coastguard Worker
50*61046927SAndroid Build Coastguard WorkerIn the long term this will allow better interoperability with other
51*61046927SAndroid Build Coastguard WorkerOpenGL implementations, especially on Linux.  In the short term,
52*61046927SAndroid Build Coastguard WorkerOpenGL apps may have to be relinked to use the new library naming.
53*61046927SAndroid Build Coastguard Worker
54*61046927SAndroid Build Coastguard Worker
55*61046927SAndroid Build Coastguard Worker
56*61046927SAndroid Build Coastguard WorkerNew makefiles
57*61046927SAndroid Build Coastguard Worker-------------
58*61046927SAndroid Build Coastguard Worker
59*61046927SAndroid Build Coastguard WorkerThe old Makefiles found in the various directories have been renamed
60*61046927SAndroid Build Coastguard Workerto Makefile.X11 in order to prevent filename collisions with autoconfig-
61*61046927SAndroid Build Coastguard Workergenerated Makefiles.
62*61046927SAndroid Build Coastguard Worker
63*61046927SAndroid Build Coastguard WorkerThe top-level Makefile simply includes Makefile.X11
64*61046927SAndroid Build Coastguard WorkerIf your top-level Makefile get's overwritten/destroyed you can restore
65*61046927SAndroid Build Coastguard Workerit by copying Makefile.X11 to Makefile
66*61046927SAndroid Build Coastguard Worker
67*61046927SAndroid Build Coastguard Worker
68*61046927SAndroid Build Coastguard WorkerNew extensions
69*61046927SAndroid Build Coastguard Worker--------------
70*61046927SAndroid Build Coastguard Worker
71*61046927SAndroid Build Coastguard WorkerGL_EXT_stencil_wrap
72*61046927SAndroid Build Coastguard Worker	Implements two new stencil operations: GL_INCR_WRAP_EXT and
73*61046927SAndroid Build Coastguard Worker	GL_DECR_WRAP_EXT which allow stencil increment and decrement
74*61046927SAndroid Build Coastguard Worker	without clamping.
75*61046927SAndroid Build Coastguard Worker
76*61046927SAndroid Build Coastguard WorkerGL_INGR_blend_func_separate
77*61046927SAndroid Build Coastguard Worker	Allows specification of blend factors for RGB and Alpha independently.
78*61046927SAndroid Build Coastguard Worker	(INGR = Intergraph)
79*61046927SAndroid Build Coastguard Worker
80*61046927SAndroid Build Coastguard WorkerGL_ARB_multitexture
81*61046927SAndroid Build Coastguard Worker	Multiple simultaneous textures.  (ARB = Architecture Review Board)
82*61046927SAndroid Build Coastguard Worker
83*61046927SAndroid Build Coastguard WorkerGL_NV_texgen_reflection
84*61046927SAndroid Build Coastguard Worker	nVidia texgen extension for better reflection mapping.
85*61046927SAndroid Build Coastguard Worker
86*61046927SAndroid Build Coastguard WorkerGL_PGI_misc_hints
87*61046927SAndroid Build Coastguard Worker	Assorted transformation hints.
88*61046927SAndroid Build Coastguard Worker
89*61046927SAndroid Build Coastguard WorkerGL_EXT_compiled_vertex_array
90*61046927SAndroid Build Coastguard Worker	Compiled vertex arrays.
91*61046927SAndroid Build Coastguard Worker
92*61046927SAndroid Build Coastguard WorkerGL_EXT_clip_volume_hint
93*61046927SAndroid Build Coastguard Worker	Allows one to disable clip volume (frustum) testing.
94*61046927SAndroid Build Coastguard Worker
95*61046927SAndroid Build Coastguard Worker
96*61046927SAndroid Build Coastguard Worker
97*61046927SAndroid Build Coastguard WorkerExtensions removed
98*61046927SAndroid Build Coastguard Worker------------------
99*61046927SAndroid Build Coastguard Worker
100*61046927SAndroid Build Coastguard WorkerGL_EXT_multitexture - obsolete in favor of GL_ARB_multitexture
101*61046927SAndroid Build Coastguard Worker
102*61046927SAndroid Build Coastguard Worker
103*61046927SAndroid Build Coastguard Worker
104*61046927SAndroid Build Coastguard WorkerConfig file
105*61046927SAndroid Build Coastguard Worker-----------
106*61046927SAndroid Build Coastguard Worker
107*61046927SAndroid Build Coastguard WorkerBy default, /etc/mesa.conf will be read when Mesa starts.  This
108*61046927SAndroid Build Coastguard Workerfile controls default hints, enable/disable of extensions, and
109*61046927SAndroid Build Coastguard Workermore.  See the CONFIG file for documentation.
110*61046927SAndroid Build Coastguard Worker
111*61046927SAndroid Build Coastguard Worker
112*61046927SAndroid Build Coastguard Worker
113*61046927SAndroid Build Coastguard WorkerOptimizations
114*61046927SAndroid Build Coastguard Worker-------------
115*61046927SAndroid Build Coastguard Worker
116*61046927SAndroid Build Coastguard WorkerKeith Whitwell has contributed significant optimizations to Mesa's
117*61046927SAndroid Build Coastguard Workervertex transformation code.  Basically, the whole transformation
118*61046927SAndroid Build Coastguard Workerstage of Mesa has been rewritten.
119*61046927SAndroid Build Coastguard Worker
120*61046927SAndroid Build Coastguard WorkerIt's impossible to give a speedup factor.  You'll just have to
121*61046927SAndroid Build Coastguard Workertry your app and see how it performs.
122*61046927SAndroid Build Coastguard Worker
123*61046927SAndroid Build Coastguard Worker
124*61046927SAndroid Build Coastguard Worker
125*61046927SAndroid Build Coastguard WorkerDevice Driver changes
126*61046927SAndroid Build Coastguard Worker---------------------
127*61046927SAndroid Build Coastguard Worker
128*61046927SAndroid Build Coastguard WorkerA bunch of new device driver functions have been added.  See src/dd.h
129*61046927SAndroid Build Coastguard WorkerKeith Harrison contributed many of them.  I've been planning on adding
130*61046927SAndroid Build Coastguard Workera bunch of functions like these to make writing hardware drivers easier.
131*61046927SAndroid Build Coastguard WorkerMore such function will probably be added in the near future.
132*61046927SAndroid Build Coastguard Worker
133*61046927SAndroid Build Coastguard Worker
134*61046927SAndroid Build Coastguard Worker
135*61046927SAndroid Build Coastguard WorkerMiscellaneous
136*61046927SAndroid Build Coastguard Worker-------------
137*61046927SAndroid Build Coastguard Worker
138*61046927SAndroid Build Coastguard Workerutil/glstate.c has some handy functions for debugging.  Basically, it
139*61046927SAndroid Build Coastguard Workeroffers a simple function for printing GL state variables.  It's not
140*61046927SAndroid Build Coastguard Workerfinished yet.  There's a LOT more GLenum records to be added (see the
141*61046927SAndroid Build Coastguard Workercode).  Anyone want to help?
142*61046927SAndroid Build Coastguard Worker
143*61046927SAndroid Build Coastguard Worker
144*61046927SAndroid Build Coastguard Worker
145*61046927SAndroid Build Coastguard Worker----------------------------------------------------------------------
146