tree: 35a66a1ca8ce093a10bd8cd7930a647cb0b386ad [path history] [tgz]
  1. docs/
  2. gnbuild/
  3. include/
  4. meta/
  5. scripts/
  6. src/
  7. tests/
  8. third_party/
  9. .clang-format
  10. BUILD.gn
  11. MAINTAINERS
  12. README.md
lib/magma/README.md

Magma: Graphics for Zircon

Magma is a framework for graphics drivers on the Zircon kernel. Magma drivers are logically divided into a ‘System Driver’ which runs as a userspace Zircon driver service, and an ‘Application Driver’ which runs in the application's address space (this mirrors the architecture of the ‘Kernel Mode Driver’ and ‘User Mode Driver’ in traditional graphics stack for monolithic kernels, but here both components run in userspace).

Magma itself is the body of software that sits between the Application Driver and the System Driver and facilitates communication between the two over Zircon IPC, and provides core buffer sharing logic which underlies the system compositing mechanism.

Both the Application Driver and the System Driver interface with the Magma framework through stable, versioned ABIs in order to allow updating the core graphics system and IHV drivers independently of one another.