tree: f27283d0af7215da1a7424f61f1930e3c3496e03 [path history] [tgz]
  1. BUILD.gn
  2. README.md
  3. framebuffer.cc
  4. include/
  5. test/
zircon/system/ulib/framebuffer/README.md

framebuffer

NOTE: This is not a general purpose library. Clients should be aware of this library's limitations before using it.

This library provides a simple framebuffer abstraction on top of the Zircon display APIs. Applications can use this library to provide a low level UI on systems which lack a normal UI framework. Important: When a normal UI framework is running, this library will not be able to bind to the display.

The library supports two modes of operation: a single buffer mode where the library initializes the display hardware with a single, linear VMO that clients can then render to in place, and a page flip mode where the client can provide multiple VMO backed images and flip between them. Clients are responsible for ensuring buffers are kept coherent with main memory.

The library does not expose support for multiple monitors, hotplugging, modesetting, or 2D hardware composition. Applications which want these features should use the Zircon display APIs directly.