blob: 6c91e3f63e0f664137153a81fd02b81a625fb72a [file] [log] [blame]
Andreas Bollecd5c7c2012-06-12 09:05:03 +02001<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<html lang="en">
3<head>
4 <meta http-equiv="content-type" content="text/html; charset=utf-8">
5 <title>Mesa Introduction</title>
6 <link rel="stylesheet" type="text/css" href="mesa.css">
7</head>
8<body>
Brian Paul0b27ace2003-03-08 17:38:57 +00009
Andreas Bollb5da52a2012-09-18 18:57:02 +020010<div class="header">
11 <h1>The Mesa 3D Graphics Library</h1>
12</div>
13
14<iframe src="contents.html"></iframe>
15<div class="content">
16
Andreas Bollecd5c7c2012-06-12 09:05:03 +020017<h1>Introduction</h1>
Brian Paul0b27ace2003-03-08 17:38:57 +000018
19<p>
Brian4d864b02007-04-04 09:33:12 -060020Mesa is an open-source implementation of the
Andreas Bolla73c59b2012-09-18 19:31:28 +020021<a href="http://www.opengl.org/">OpenGL</a> specification -
Brian4d864b02007-04-04 09:33:12 -060022a system for rendering interactive 3D graphics.
Brian Paul0b27ace2003-03-08 17:38:57 +000023</p>
24
25<p>
Brian4d864b02007-04-04 09:33:12 -060026A variety of device drivers allows Mesa to be used in many different
27environments ranging from software emulation to complete hardware acceleration
28for modern GPUs.
Brian Paul0b27ace2003-03-08 17:38:57 +000029</p>
30
31<p>
Brian4d864b02007-04-04 09:33:12 -060032Mesa ties into several other open-source projects: the
Andreas Bolla73c59b2012-09-18 19:31:28 +020033<a href="http://dri.freedesktop.org/">Direct Rendering
34Infrastructure</a> and <a href="http://x.org">X.org</a> to
Timo Jyrinki385d6b22008-08-26 12:36:39 -060035provide OpenGL support to users of X on Linux, FreeBSD and other operating
36systems.
Brian Paul0b27ace2003-03-08 17:38:57 +000037</p>
38
39
Brian4d864b02007-04-04 09:33:12 -060040
Andreas Boll210a27d2012-06-12 09:05:36 +020041<h1>Project History</h1>
Brian Paul0b27ace2003-03-08 17:38:57 +000042
43<p>
Brian4d864b02007-04-04 09:33:12 -060044The Mesa project was originally started by Brian Paul.
45Here's a short history of the project.
Brian Paul0b27ace2003-03-08 17:38:57 +000046</p>
47
48<p>
49August, 1993: I begin working on Mesa in my spare time. The project
50has no name at that point. I was simply interested in writing a simple
513D graphics library that used the then-new OpenGL API. I was partially
52inspired by the <em>VOGL</em> library which emulated a subset of IRIS GL.
53I had been programming with IRIS GL since 1991.
54</p>
55
56<p>
57November 1994: I contact SGI to ask permission to distribute my OpenGL-like
58graphics library on the internet. SGI was generally receptive to the
59idea and after negotiations with SGI's legal department, I get permission
60to release it.
61</p>
62
63<p>
64February 1995: Mesa 1.0 is released on the internet. I expected that
65a few people would be interested in it, but not thousands.
66I was soon receiving patches, new features and thank-you notes on a
67daily basis. That encouraged me to continue working on Mesa. The
68name Mesa just popped into my head one day. SGI had asked me not to use
69the terms <em>"Open"</em> or <em>"GL"</em> in the project name and I didn't
70want to make up a new acronym. Later, I heard of the Mesa programming
71language and the Mesa spreadsheet for NeXTStep.
72</p>
73
74<p>
75In the early days, OpenGL wasn't available on too many systems.
76It even took a while for SGI to support it across their product line.
77Mesa filled a big hole during that time.
78For a lot of people, Mesa was their first introduction to OpenGL.
79I think SGI recognized that Mesa actually helped to promote
80the OpenGL API, so they didn't feel threatened by the project.
81</p>
82
83
84<p>
851995-1996: I continue working on Mesa both during my spare time and during
86my work hours at the Space Science and Engineering Center at the University
87of Wisconsin in Madison. My supervisor, Bill Hibbard, lets me do this because
Andreas Bolla73c59b2012-09-18 19:31:28 +020088Mesa is now being using for the <a href="http://www.ssec.wisc.edu/%7Ebillh/vis.html">Vis5D</a> project.
Brian Paul0b27ace2003-03-08 17:38:57 +000089</p><p>
Brian Paul30aea492005-07-01 01:04:31 +000090October 1996: Mesa 2.0 is released. It implements the OpenGL 1.1 specification.
Brian Paul0b27ace2003-03-08 17:38:57 +000091</p>
92
93<p>
94March 1997: Mesa 2.2 is released. It supports the new 3dfx Voodoo graphics
95card via the Glide library. It's the first really popular hardware OpenGL
96implementation for Linux.
97</p>
98
99<p>
100September 1998: Mesa 3.0 is released. It's the first publicly-available
101implementation of the OpenGL 1.2 API.
102</p>
103
104<p>
105March 1999: I attend my first OpenGL ARB meeting. I contribute to the
106development of several official OpenGL extensions over the years.
107</p>
108
109<p>
110September 1999: I'm hired by Precision Insight, Inc. Mesa is a key
111component of 3D hardware acceleration in the new DRI project for XFree86.
112Drivers for 3dfx, 3dLabs, Intel, Matrox and ATI hardware soon follow.
113</p>
114
115<p>
116October 2001: Mesa 4.0 is released.
117It implements the OpenGL 1.3 specification.
118</p>
119
120
121<p>
Brian Paul30cd76e2010-08-26 11:20:31 -0600122November 2001: I cofounded Tungsten Graphics, Inc. with Keith Whitwell,
123Jens Owen, David Dawes and Frank LaMonica.
124Tungsten Graphics was acquired by VMware in December 2008.
Brian Paul0b27ace2003-03-08 17:38:57 +0000125</p>
126
127<p>
128November 2002: Mesa 5.0 is released.
129It implements the OpenGL 1.4 specification.
130</p>
131
132<p>
Brian Pauld7af11a2004-01-07 14:51:30 +0000133January 2003: Mesa 6.0 is released. It implements the OpenGL 1.5
134specification as well as the GL_ARB_vertex_program and
135GL_ARB_fragment_program extensions.
136</p>
137
Brianaf846712007-04-27 17:00:13 -0600138<p>
Brian02dd2222007-06-28 16:44:24 -0600139June 2007: Mesa 7.0 is released, implementing the OpenGL 2.1 specification
Brianaf846712007-04-27 17:00:13 -0600140and OpenGL Shading Language.
141</p>
142
Brian Paul0c14bbb2012-01-13 08:31:26 -0700143<p>
1442008: Keith Whitwell and other Tungsten Graphics employees develop
Andreas Bolla73c59b2012-09-18 19:31:28 +0200145<a href="http://en.wikipedia.org/wiki/Gallium3D">Gallium</a>
Brian Paul0c14bbb2012-01-13 08:31:26 -0700146- a new GPU abstraction layer. The latest Mesa drivers are based on
147Gallium and other APIs such as OpenVG are implemented on top of Gallium.
148</p>
Brian Pauld7af11a2004-01-07 14:51:30 +0000149
150<p>
Brian Paul0c14bbb2012-01-13 08:31:26 -0700151February 2012: Mesa 8.0 is released, implementing the OpenGL 3.0 specification
152and version 1.30 of the OpenGL Shading Language.
153</p>
154
155<p>
156Ongoing: Mesa is the OpenGL implementation for several types of hardware
157made by Intel, AMD and NVIDIA, plus the VMware virtual GPU.
158There's also several software-based renderers: swrast (the legacy
159Mesa rasterizer), softpipe (a gallium reference driver) and llvmpipe
160(LLVM/JIT-based high-speed rasterizer).
161Work continues on the drivers and core Mesa to implement newer versions
162of the OpenGL specification.
Brian Paul0b27ace2003-03-08 17:38:57 +0000163</p>
164
165
166
Andreas Boll210a27d2012-06-12 09:05:36 +0200167<h1>Major Versions</h1>
Brian Paul0b27ace2003-03-08 17:38:57 +0000168
169<p>
Brianaf846712007-04-27 17:00:13 -0600170This is a summary of the major versions of Mesa.
171Mesa's major version number has been incremented whenever a new version
172of the OpenGL specification is implemented.
173</p>
174
175
Brian Paul1d075522016-09-30 07:18:13 -0600176<h2>Version 12.x features</h2>
177<p>
178Version 12.x of Mesa implements the OpenGL 4.3 API, but not all drivers
179support OpenGL 4.3.
180</p>
181
182
183<h2>Version 11.x features</h2>
184<p>
185Version 11.x of Mesa implements the OpenGL 4.1 API, but not all drivers
186support OpenGL 4.1.
187</p>
188
189
190<h2>Version 10.x features</h2>
191<p>
192Version 10.x of Mesa implements the OpenGL 3.3 API, but not all drivers
193support OpenGL 3.3.
194</p>
195
196
Ian Romanick07914842012-08-30 13:55:02 -0700197<h2>Version 9.x features</h2>
198<p>
199Version 9.x of Mesa implements the OpenGL 3.1 API.
200While the driver for Intel Sandy Bridge and Ivy Bridge is the only
201driver to support OpenGL 3.1, many developers across the open-source
202community contributed features required for OpenGL 3.1. The primary
203features added since the Mesa 8.0 release are
204GL_ARB_texture_buffer_object and GL_ARB_uniform_buffer_object.
205</p>
Brian Paul1d075522016-09-30 07:18:13 -0600206<p>
207Version 9.0 of Mesa also included the first release of the Clover state
208tracker for OpenCL.
209</p>
Ian Romanick07914842012-08-30 13:55:02 -0700210
211
Andreas Boll210a27d2012-06-12 09:05:36 +0200212<h2>Version 8.x features</h2>
Brian Paul0c14bbb2012-01-13 08:31:26 -0700213<p>
214Version 8.x of Mesa implements the OpenGL 3.0 API.
215The developers at Intel deserve a lot of credit for implementing most
216of the OpenGL 3.0 features in core Mesa, the GLSL compiler as well as
217the i965 driver.
218</p>
219
220
Andreas Boll210a27d2012-06-12 09:05:36 +0200221<h2>Version 7.x features</h2>
Brianaf846712007-04-27 17:00:13 -0600222<p>
223Version 7.x of Mesa implements the OpenGL 2.1 API. The main feature
224of OpenGL 2.x is the OpenGL Shading Language.
Brian Paul0b27ace2003-03-08 17:38:57 +0000225</p>
226
227
Andreas Boll210a27d2012-06-12 09:05:36 +0200228<h2>Version 6.x features</h2>
Brian Pauld7af11a2004-01-07 14:51:30 +0000229<p>
230Version 6.x of Mesa implements the OpenGL 1.5 API with the following
231extensions incorporated as standard features:
232</p>
233<ul>
234<li>GL_ARB_occlusion_query
235<li>GL_ARB_vertex_buffer_object
Brian Pauld7af11a2004-01-07 14:51:30 +0000236<li>GL_EXT_shadow_funcs
237</ul>
238<p>
239Also note that several OpenGL tokens were renamed in OpenGL 1.5
Brian Paulb7c727e2005-08-19 16:57:50 +0000240for the sake of consistency.
241The old tokens are still available.
Brian Pauld7af11a2004-01-07 14:51:30 +0000242</p>
243<pre>
Brian Paulb7c727e2005-08-19 16:57:50 +0000244New Token Old Token
Brian Pauld7af11a2004-01-07 14:51:30 +0000245------------------------------------------------------------
246GL_FOG_COORD_SRC GL_FOG_COORDINATE_SOURCE
247GL_FOG_COORD GL_FOG_COORDINATE
248GL_CURRENT_FOG_COORD GL_CURRENT_FOG_COORDINATE
249GL_FOG_COORD_ARRAY_TYPE GL_FOG_COORDINATE_ARRAY_TYPE
250GL_FOG_COORD_ARRAY_STRIDE GL_FOG_COORDINATE_ARRAY_STRIDE
251GL_FOG_COORD_ARRAY_POINTER GL_FOG_COORDINATE_ARRAY_POINTER
252GL_FOG_COORD_ARRAY GL_FOG_COORDINATE_ARRAY
253GL_SRC0_RGB GL_SOURCE0_RGB
254GL_SRC1_RGB GL_SOURCE1_RGB
255GL_SRC2_RGB GL_SOURCE2_RGB
256GL_SRC0_ALPHA GL_SOURCE0_ALPHA
257GL_SRC1_ALPHA GL_SOURCE1_ALPHA
258GL_SRC2_ALPHA GL_SOURCE2_ALPHA
259</pre>
260<p>
261See the
Andreas Bolla73c59b2012-09-18 19:31:28 +0200262<a href="http://www.opengl.org/documentation/spec.html">
Brian Pauld7af11a2004-01-07 14:51:30 +0000263OpenGL specification</a> for more details.
264</p>
265
266
267
Andreas Boll210a27d2012-06-12 09:05:36 +0200268<h2>Version 5.x features</h2>
Brian Paul0b27ace2003-03-08 17:38:57 +0000269<p>
270Version 5.x of Mesa implements the OpenGL 1.4 API with the following
271extensions incorporated as standard features:
272</p>
273<ul>
274<li>GL_ARB_depth_texture
275<li>GL_ARB_shadow
276<li>GL_ARB_texture_env_crossbar
277<li>GL_ARB_texture_mirror_repeat
278<li>GL_ARB_window_pos
279<li>GL_EXT_blend_color
280<li>GL_EXT_blend_func_separate
281<li>GL_EXT_blend_logic_op
282<li>GL_EXT_blend_minmax
283<li>GL_EXT_blend_subtract
284<li>GL_EXT_fog_coord
285<li>GL_EXT_multi_draw_arrays
286<li>GL_EXT_point_parameters
287<li>GL_EXT_secondary_color
288<li>GL_EXT_stencil_wrap
Brian Paul3a604da2003-08-28 03:10:00 +0000289<li>GL_EXT_texture_lod_bias (plus, a per-texture LOD bias parameter)
Brian Paul0b27ace2003-03-08 17:38:57 +0000290<li>GL_SGIS_generate_mipmap
291</ul>
292
293
Andreas Boll210a27d2012-06-12 09:05:36 +0200294<h2>Version 4.x features</h2>
Brian Paul0b27ace2003-03-08 17:38:57 +0000295
296<p>
297Version 4.x of Mesa implements the OpenGL 1.3 API with the following
298extensions incorporated as standard features:
299</p>
300
301<ul>
302<li>GL_ARB_multisample
303<li>GL_ARB_multitexture
304<li>GL_ARB_texture_border_clamp
305<li>GL_ARB_texture_compression
306<li>GL_ARB_texture_cube_map
307<li>GL_ARB_texture_env_add
308<li>GL_ARB_texture_env_combine
309<li>GL_ARB_texture_env_dot3
310<li>GL_ARB_transpose_matrix
311</ul>
312
Andreas Boll210a27d2012-06-12 09:05:36 +0200313<h2>Version 3.x features</h2>
Brian Paul0b27ace2003-03-08 17:38:57 +0000314
315<p>
316Version 3.x of Mesa implements the OpenGL 1.2 API with the following
317features:
318</p>
319<ul>
320<li>BGR, BGRA and packed pixel formats
321<li>New texture border clamp mode
322<li>glDrawRangeElements()
323<li>standard 3-D texturing
324<li>advanced MIPMAP control
325<li>separate specular color interpolation
326</ul>
327
328
Andreas Boll210a27d2012-06-12 09:05:36 +0200329<h2>Version 2.x features</h2>
Brian Paul0b27ace2003-03-08 17:38:57 +0000330<p>
331Version 2.x of Mesa implements the OpenGL 1.1 API with the following
332features.
333</p>
334<ul>
335<li>Texture mapping:
336 <ul>
337 <li>glAreTexturesResident
338 <li>glBindTexture
339 <li>glCopyTexImage1D
340 <li>glCopyTexImage2D
341 <li>glCopyTexSubImage1D
342 <li>glCopyTexSubImage2D
343 <li>glDeleteTextures
344 <li>glGenTextures
345 <li>glIsTexture
346 <li>glPrioritizeTextures
347 <li>glTexSubImage1D
348 <li>glTexSubImage2D
349 </ul>
350<li>Vertex Arrays:
351 <ul>
352 <li>glArrayElement
353 <li>glColorPointer
354 <li>glDrawElements
355 <li>glEdgeFlagPointer
356 <li>glIndexPointer
357 <li>glInterleavedArrays
358 <li>glNormalPointer
359 <li>glTexCoordPointer
360 <li>glVertexPointer
361 </ul>
362<li>Client state management:
363 <ul>
364 <li>glDisableClientState
365 <li>glEnableClientState
366 <li>glPopClientAttrib
367 <li>glPushClientAttrib
368 </ul>
369<li>Misc:
370 <ul>
371 <li>glGetPointer
372 <li>glIndexub
373 <li>glIndexubv
374 <li>glPolygonOffset
375 </ul>
376</ul>
377
Andreas Bollb5da52a2012-09-18 18:57:02 +0200378</div>
Brian Paul0b27ace2003-03-08 17:38:57 +0000379</body>
380</html>