- Mesa 3D (OpenGL)
-
The Mesa 3D Graphics Library Developer(s) VMware (previously Tungsten Graphics)[1] Initial release August 1993 Stable release 7.11 / July 31, 2011[2] Written in C, Assembly[3] Operating system Cross-platform Type Graphics library License MIT License Website mesa3d.org Mesa 3D is an open source[4][5] 3D computer graphics library that provides a generic OpenGL implementation for rendering three-dimensional graphics on multiple platforms. It was initially developed by Brian Paul in August 1993, and is still maintained by him today. The project contains lots of contributions from other people, especially in the area of hardware support.
As of April 2008, it is the only commonly known, fully open source implementation of OpenGL which is continually updated to support the latest OpenGL specification. It is widely used, most importantly by the X.Org implementation of the X Window System where it serves as the OpenGL core for the open-source X.Org/DRI OpenGL drivers. X.Org provides the essential functionality used by most graphical applications which run on Unix-like platforms such as GNU/Linux.
Contents
History
Project initiator Brian Paul was a graphics hobbyist. He thought it would be fun to implement a simple 3D graphics library using the OpenGL API, which he might then use instead of VOGL.[citation needed] Beginning in 1993 he spent eighteen months of part-time development before he released the software on the Internet. The software was well received, and people began contributing to its development. Mesa 3D started off by rendering all 3D computer graphics on the CPU. Despite this the internal architecture of Mesa 3D was designed to be open for attaching to graphics processor-accelerated 3D rendering. In this first phase rendering was done indirectly in the X server, leaving some overhead and noticeable speed lagging behind the theoretical maximum.
The first true graphics hardware support was added to Mesa in 1997 based upon the Glide API for the once new 3dfx Voodoo I/II graphics cards and their successors.[6] A major problem of using Glide as the acceleration layer was the habit of Glide to run full screen, that was only probably okay for computer games. Further Glide took the lock of the screen memory and thus the x-server was blocked from doing any other GUI tasks. [7]
At the time 3D graphics cards became more mainstream for PCs, individuals partly supported by some companies began working on adding more support for hardware-accelerated 3D rendering to Mesa 3D. The Direct Rendering Infrastructure (DRI) was one of these approaches to interface Mesa, OpenGL and other 3D rendering API libraries with the device drivers and hardware. After reaching a basic level of usability DRI support was officially added to Mesa 3D. This significantly broadened the available range of hardware support achievable when using the Mesa library.
- As of mid-2000 the DRI has been incorporated into XFree86 4.0 and at least five distinct hardware device drivers have been developed.[6]
With adapting to DRI the Mesa library finally took over the role of the front end component of a full scale OpenGL framework with varying backend components that could offer different degrees of 3D hardware support whilst not dropping the full software rendering capability. The total system tampered a noticeably big amount of software components.
- A cooperative effort by the XFree86, Mesa, GLX and Linux kernel developers took several individual projects and combined them into a powerful new system.[6]
Even if those design needs all components to correctly cooperate with each others, the interfaces between them are relatively fixed but even today still see coordinated improvements. As a result the software development on the individual modules can still be kept separated. As most of the code is open source, it still happens that for experimental works on new features and enhancements, programmers sometimes create their own branch of altered modules until their results might show their conceptual success and can be merged back in a more or less compatible fashion to the main trees of all altered components and then typically ending up as a part of the next major or minor release. That applies e.g. to the update of the DRI specification in form of DRI2 as developed and published with a first reference implementation in years 2007 to 2008 that comes for example with no locks any more and improved back buffer support. For this a special git branch of Mesa was created.[8]
Features
- Mesa 3D supports OpenGL version 2.1,[9] along with many extensions from OpenGL 3 and several from version 4.
- In its current form, Mesa 3D is available and can be compiled on virtually all modern platforms.
- Though not an official OpenGL implementation for licensing reasons, the Mesa 3D authors have worked to keep the API in line with the OpenGL standard, as set forth by the OpenGL Architecture Review Board (ARB).
- Whilst Mesa 3D supports several hardware graphics accelerators, it may also be compiled as a software-only renderer.
- Since Mesa 3D is free/open source software, it is possible to use it for studying the internal design and operations of an OpenGL-compatible renderer.
- Due to its open source form it is possible to trace application bugs and the origin of valid API error messages down to the source line in the OpenGL library to get a better understanding for developing a good fix. In a similar fashion it extends the number of test cases where visual deviations and behaviour of application between different OpenGL implementations should be minimized.
- Already supports (at least partially) 3D acceleration managed cards: ATI Mach 64 and R100 to R800 chipsets, Intel chipsets, IBM/Toshiba/Sony Cell chip (in Gallium3D architecture) used in Sony PlayStation 3, limited Nvidia support, S3 Virge & Savage chipsets, VIA chipsets, Matrox G200 & G400 and more....[10]
See also
References
- ^ David Marshall (16-12-2008). "VMware's year end acquisition of Tungsten Graphics". InfoWorld. http://www.infoworld.com/d/virtualization/vmwares-year-end-acquisition-tungsten-graphics-196. Retrieved 08-06-2011.
- ^ Ian Romanick (31-07-2011). "Mesa 7.11 release". freedesktop.org. http://lists.freedesktop.org/archives/mesa-announce/2011-July/000025.html. Retrieved 07-08-2011.
- ^ "Analysis Summary – Mesa". Ohloh. http://www.ohloh.net/p/mesa. Retrieved 08-06-2011.
- ^ mesa3d.org license
- ^ freedesktop.org Git source code repository
- ^ a b c "Introduction to the Direct Rendering Infrastructure"; Retrieved 2007-02-11
- ^ What's the relationship between Glide and DRI?
- ^ DRI2
- ^ Mesa Release Notes
- ^ Direct Rendering Infrastructure Status Page on freedesktop.org
External links
Projects hosted by freedesktop.org Components Avahi · Compiz · Create Project · D-Bus · DRI · GTK-Qt (moved) · HAL (deprecated) · nouveau · PackageKit · Portland Project · systemd · Wayland · X.Org ServerLibraries Frameworks See also Libre Graphics MeetingCategories:- Free development toolkits and libraries
- Free software programmed in C
- Free system software
- Freedesktop.org
- OpenGL
- Software using the MIT license
Wikimedia Foundation. 2010.