⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

Module gpu

Module gpu 

Source
Expand description

GPU Acceleration Framework

Provides GPU compute and rendering capabilities.

§Supported APIs

  • Vulkan: Modern cross-platform graphics API
  • OpenGL ES: Embedded graphics (compatibility)
  • Compute: GPU compute shaders for parallel processing

§Architecture

  • Command buffers: Record rendering/compute commands
  • Memory management: GPU-visible memory allocation
  • Synchronization: Fences, semaphores for GPU/CPU sync
  • Queues: Graphics, compute, transfer queues

Modules§

opengl_es
OpenGL ES support layer
vulkan
Vulkan support layer

Structs§

CommandBuffer
GPU command buffer
GpuDevice
GPU device
GpuFeatures
GPU features
GpuManager
GPU manager
GpuMemory
GPU memory allocation

Enums§

GpuMemoryType

Functions§

init
Initialize GPU subsystem
with_gpu_manager
Execute a function with the GPU manager