Mesa source code tree overview
- docs - Documentation
- include - Public OpenGL header files
- src
- egl - EGL library sources
- docs - EGL documentation
- drivers - EGL drivers
- main - main EGL library implementation
- mesa - Main Mesa sources
- glapi - OpenGL API dispatch layer. This is where all the
GL functions like glClear, glBegin, etc. are generated, as well as
the GL dispatch table. All GL function calls jump through the
dispatch table to functions found in main/.
- main - Core Mesa code (mainly state management)
- math - vertex array translation and transformation code
- ppc - Assembly code/optimizations for PPC systems
- shader - Vertex/fragment shader and GLSL code
- sparc - Assembly code/optimizations for SPARC systems
- swrast - Software rasterization module. For drawing points,
lines, triangles, bitmaps, images, etc. in software.
- swrast_setup - Software primitive setup. Does things like
polygon culling, glPolygonMode, polygon offset, etc.
- tnl - Software vertex Transformation 'n Lighting.
- tnl_dd - TNL code for device drivers.
- vbo - Vertex Buffer Object code. All drawing with
glBegin/glEnd, glDrawArrays, display lists, etc. goes through this
module. The results is a well-defined set of vertex arrays which
are passed to the device driver (or tnl module) for rendering.
- vf - vertex format conversion (currently unused)
- x86 - Assembly code/optimizations for 32-bit x86 systems
- x86-64 - Assembly code/optimizations for 64-bit x86 systems
- gallium - Gallium3D source code
- include - Gallium3D header files which define the Gallium3D
interfaces
- drivers - Gallium3D device drivers
- auxiliary - Gallium support code
- draw - Software vertex processing and primitive assembly
module. Intended for use by drivers for hardware that does not have
vertex shaders.
- cso_cache - Constant State Objects Cache. Used to filter out
redundant state changes between state trackers and drivers.
- gallivm - LLVM module for Gallium. For LLVM-based
compilation, optimization and code generation for TGSI shaders.
Incomplete.
- pipebuffer - utility module for managing buffers
- rbug - Gallium remote debug utility
- rtasm - run-time assembly/machine code generation.
Currently there's run-time code generation for x86/SSE, PowerPC
and Cell SPU.
- tgsi - TG Shader Infrastructure. Code for encoding,
manipulating and interpretting GPU programs.
- translate - module for translating vertex data from one format
to another.
- util - assorted utilities for arithmetic, hashing, surface
creation, memory management, simple rendering, etc.
- state_trackers -
- dri -
- egl -
- es -
- g3dvl -
- glx -
- python -
- vega -
- wgl -
- xorg -
- winsys -
- drm -
- egl_xlib -
- g3dvl -
- gdi -
- xlib -
- glu - The OpenGL Utility library
- sgi - GLU from SGI
- mesa - Mesa version of GLU (deprecated)
- glut - Mark Kilgard's OpenGL OpenGL Utility Toolkit library
- glx - The GLX library code
- glw - Widgets for Xt/Motif.
- glew - OpenGL Extension Wrangler library (used by demo programs)
- progs - OpenGL test and demonstration programs
- lib - where the GL libraries are placed