From Surf Wiki (app.surf) — the open knowledge base
Graphics library
Program library for computer graphics
Program library for computer graphics
A graphics library or graphics API is a program library designed to aid in rendering computer graphics to a monitor. This typically involves providing optimized versions of functions that handle common rendering tasks. This can be done purely in software and running on the CPU, common in embedded systems, or being hardware accelerated by a GPU, more common in PCs. By employing these functions, a program can assemble an image to be output to a monitor. This relieves the programmer of the task of creating and optimizing these functions, and allows them to focus on building the graphics program. Graphics libraries are mainly used in video games and simulations.
The use of graphics libraries in connection with video production systems, such as Pixar RenderMan, is not covered here.
| OS | Vulkan | Direct X | GNMX | Metal | Windows 10 | Mac | Linux | Android | iOS | Tizen | Sailfish | Xbox One | Orbis OS (PS4) | Nintendo Switch | HarmonyOS | OpenHarmony |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Free, Nvidia and AMD | Free, MS | no | no | |||||||||||||
| Free, MoltenVK | no | no | Free, Apple | |||||||||||||
| Free | no | no | no | |||||||||||||
| Free | no | no | no | |||||||||||||
| Free, MoltenVK | no | no | Free, Apple | |||||||||||||
| in Development | no | no | no | |||||||||||||
| in Development | no | no | no | |||||||||||||
| no | Free | no | no | |||||||||||||
| no | no | Free | no | |||||||||||||
| Free | no | no | no | |||||||||||||
| Free | no | no | no | |||||||||||||
| Free | no | no | no |
Some APIs use Graphics Library (GL) in their name, notably OpenGL and WebGL.
Hardware
Dedicated Graphics Processor (Graphics Card)
Dedicated graphics processors use RAM allocated directly to the graphics processor rather than the computer’s main system memory. This RAM is usually specifically selected with the expected sequential load of the graphics card in mind (see GDDR). Sometimes systems with dedicated discrete graphics processors were called “DIS” systems in contrast to “UMA” systems. Technologies such as 3dfx's Scan-Line Interleave, Nvidia's SLI and NVLink, and AMD's CrossFire allow multiple graphics processors to simultaneously display images on one screen, increasing the computational power available for graphics processing. However, these technologies are becoming increasingly rare; most games do not utilize all the capabilities of multiple graphics processors since most users cannot afford them.
Integrated Graphics Processor
Today, laptops and mini-PCs require powerful integrated graphics. In many cases, quality integrated graphics can replace a discrete graphics card, enhancing laptop portability and mini-PC compactness while maintaining performance. Integrated graphics processors (IGPU), integrated graphics, shared graphics solutions, integrated graphics processors (IGP), or unified memory architectures (UMA) use part of the computer’s RAM rather than dedicated graphics memory. IGP may be integrated into the motherboard as part of its northbridge chipset or on a single chip (integrated circuit) with the central processor (e.g., AMD APU or Intel HD Graphics). On some motherboards, AMD’s IGP may use sideport dedicated memory: a separate fixed block of high-performance memory allocated for use by the graphics processor. As of early 2007, computers with integrated graphics accounted for about 90% of all PC shipments. They are less expensive to implement than dedicated graphics processing but generally less powerful. Historically, integrated processing was considered unsuitable for 3D games or graphics-intensive applications but could run less resource-demanding programs like Adobe Flash. Examples of such IGPs include offerings from SiS and VIA around 2004. However, modern integrated graphics processors such as AMD Accelerated Processing Unit and Intel Graphics Technology (HD, UHD, Iris, Iris Pro, Iris Plus, and Xe-LP) can handle 2D graphics or undemanding 3D graphics. In systems with a “unified memory architecture” (UMA), including modern AMD processors with integrated graphics, modern Intel processors with integrated graphics, Apple processors, PS5, and Xbox Series (among others), the CPU cores and GPU unit share the same pool of RAM and memory address space.
Examples
- Allegro
- ANGLE
- Cairo (graphics)
- DFPSR https://dawoodoz.com/dfpsr.html — GUI toolkit and software renderer
- DirectX — a library created by Microsoft, to run under Windows operating systems and 'Direct' Xbox
- Display PostScript
- emWin — an Embedded Graphics Library
- FLTK — GUI Toolkit and Graphics Library
- GTK — a GUI toolkit
- Mesa 3D — a library that implements OpenGL and Vulkan
- Mobile 3D Graphics API
- Qt — cross-platform application framework
- Quartz (graphics layer)
- SFML
- SIGIL — Sound, Input, and Graphics Integration Library
- Simple DirectMedia Layer (SDL)
- Skia Graphics Library
- X Window System
References
References
- "Nvidia Optimus". freedesktop.org.
- "Crossfire and SLI market is just 300.000 units". fudzilla.com.
- "Nvidia SLI and AMD CrossFire is dead – but should we mourn multi-GPU gaming?". techradar.com.
- "Is Intel Iris Xe Graphics Good?". geekom.co.uk.
- "Evolution Of Intel Graphics: i740 To Iris Pro". tomshardware.com.
- "Intel's new graphics driver lets you dedicate up to 87% of laptop memory capacity to the iGPU for VRAM — Core Ultra CPUs get ""Shared GPU Memory Override"" feature". tomshardware.com.
- "cairographics.org".
- "DirectX".
- "emWin Graphics Library {{!}} www.LPCware.com".
- "FLTK GUI and Graphics Library {{!".
- "The Mesa 3D Graphics Library".
- "Qt - Home".
- "SFML".
- "SIGIL: Sound, Input, and Graphics Integration Library".
- "Simple DirectMedia Layer - Homepage".
- "Skia Graphics Library".
This article was imported from Wikipedia and is available under the Creative Commons Attribution-ShareAlike 4.0 License. Content has been adapted to SurfDoc format. Original contributors can be found on the article history page.
Ask Mako anything about Graphics library — get instant answers, deeper analysis, and related topics.
Research with MakoFree with your Surf account
Create a free account to save articles, ask Mako questions, and organize your research.
Sign up freeThis content may have been generated or modified by AI. CloudSurf Software LLC is not responsible for the accuracy, completeness, or reliability of AI-generated content. Always verify important information from primary sources.
Report