Gallium3D is a three-dimensional graphics library for device drivers, developed by Tungsten Graphics, which develops graphics technologies in the Open Source environment. Currently, the company is developing VMware , which bought out Tungsten Graphics. Since 2009, it has been part of the Mesa project.
Gallium3D | |
---|---|
Type of | Graphic library |
Developer | VMware , formerly Tungsten Graphics, Inc. |
Written on | Si |
operating system | Cross platform software |
First edition | In developing |
Test version | 0.4 ( April 24, 2010 ) |
License | MIT License |
Site | |
The Gallium3D API is a layer between the implementation of a high-level graphic interface like OpenGL and a driver for a video card . Its task is to simplify the development of video card drivers by linking duplicate code in several different drivers into one view. This is necessary to provide better work sharing (for example, leaving memory management to the core DRI driver) and maintaining a modern hardware architecture.
Gallium3D is a joint API that provides standard hardware functions implemented on modern graphics hardware, such as, for example, modules of the shader program. Thus, three-dimensional APIs created according to OpenGL 1.x / 2.x / 3.x, OpenVG , Direct3D specifications (its implementation in the Wine compatibility environment) will only need a front-end , called the State Tracker and provided by Mesa . This is the difference between modern Mesa 3D and earlier versions without Gallium3D, which required the full implementation of OpenGL (including the front-end) for each hardware platform. In addition, thanks to the modular structure of Gallium3D, work is already underway on closer integration with the LLVM compiler program suite and the creation of a module that allows optimizing the shader code on the fly.
With the use of Gallium3D, the DRM driver will manage the video card's memory, and the DRI driver (now called DRI2) will be more focused on tracking the GPU . This will solve the problem of memory management, which was previously considered impractical when using Mesa 3D.
Links
- Official page
- Gallium3D on FreeDesktop Wiki
- Gallium3D Overview