Expand description
GPU Acceleration Framework
Provides comprehensive GPU acceleration including:
- VirtIO GPU 3D (virgl) protocol support
- OpenGL ES 2.0 software rasterizer (integer/fixed-point math only)
- GEM/TTM buffer object management
- DRM Kernel Mode Setting (KMS)
- Vsync and page-flip scheduling
- Hardware cursor plane
All arithmetic uses integer or 16.16 fixed-point math (no FPU required).
Structs§
- Atomic
Commit - Atomic mode-setting commit request
- Display
Mode - Display mode (resolution + timing)
- DrmConnector
- DRM connector
- DrmCrtc
- CRTC (CRT Controller) – drives a scanout engine
- DrmEncoder
- DRM encoder (links CRTC to connector)
- DrmFramebuffer
- DRM framebuffer object
- GemBuffer
Object - GEM buffer object
- GemManager
- GEM buffer manager
- Hardware
Cursor - Hardware cursor plane state
- KmsManager
- DRM KMS state manager
- Page
Flip Manager - Double-buffered page flip manager
- Page
Flip Request - Page flip request
- Scissor
Rect - Scissor rectangle
- Shader
State - Shader state (uniforms + enabled attributes)
- Soft
Texture - Software texture (ARGB8888)
- Software
Rasterizer - Software rasterizer state
- Vblank
Event - Vblank event
- Vec4
- A 4-component integer vector (used as vertex attribute or uniform in 16.16 FP)
- Vertex
- Vertex data for software rasterizer
- Viewport
- Viewport transform parameters
- Virgl3d
Resource - Virgl 3D resource descriptor
- Virgl
Context - Virgl rendering context
- Virgl
Driver - VirtIO GPU 3D (virgl) driver state
- Virgl
Fence - Virgl fence for GPU/CPU synchronization
Enums§
- Blend
Mode - Blend mode for fragment output
- Cache
Mode - Cache coherency mode
- Connector
Status - Connector status
- Connector
Type - Connector type (physical display output)
- Cursor
Format - Cursor image format
- Depth
Func - Depth test function
- Encoder
Type - Encoder type
- Flip
State - Page flip state
- Memory
Domain - Memory domain for buffer objects
- Primitive
Type - Primitive type for drawing
- Texture
Filter - Texture filter mode
- Transfer
Direction - Transfer direction for 3D resource data
- Virgl3d
Resource Type - Virgl 3D resource types
- Virgl
Command - Virgl command types sent via command buffer
- Virgl
Format - Virgl resource format (subset of Gallium pipe_format)
Functions§
- init
- Initialize the GPU acceleration subsystem
- with_
cursor - Access the hardware cursor
- with_
gem - Access the GEM buffer manager
- with_
kms - Access the KMS manager
- with_
page_ flip - Access the page flip manager
- with_
virgl - Access the virgl driver