Clone this repo:
  1. b36d44d Revert "Add a header file for vkcube so it can be used from elsewhere." by Michael Jurka · 3 days ago master
  2. 84fab7d Add threadsafe const commit function to PlatformBuffer by Forrest Reiling · 5 days ago
  3. ad74a52 Mark const PlatformBuffer functions as const by Forrest Reiling · 5 days ago
  4. 35198c5 Rename Mozart images2 to images. by Jeff Brown · 5 days ago
  5. 0ac586c Mark as needed in early boot by James Robinson · 6 days ago

Magma: Graphics for Magenta

Magma is a framework for graphics drivers on the Magenta kernel. Magma drivers are logically divided into a ‘System Driver’ which runs as a userspace Magenta 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 Magenta 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.