compositor-drm: Add test-only mode to state application

Graphics / Wayland / Weston - Daniel Stone [collabora.com] - 11 July 2018 11:49 EDT

The atomic API can allow us to test state before we apply it, to see if it will be valid. Use this when we construct a plane configuration, to see if it has a chance of ever working. If not, we can fail assign_planes early.

This will be used in later patches to incrementally build state by proposing and testing potential configurations one at a time.

bb6c19f7 compositor-drm: Add test-only mode to state application
libweston/compositor-drm.c | 57 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 57 insertions(+)

Upstream: cgit.freedesktop.org


  • Share