aboutsummaryrefslogtreecommitdiff
path: root/examples/output-layout.c
AgeCommit message (Collapse)Author
2017-08-19examples: separate compositor_fini from runDominique Martinet
compositor_fini destroys the display, but it is an error to destroy it before e.g. wlr_seat that references it. This lets us order destroy calls properly, following first-in-last-out logic.
2017-08-19wlr renderer/texture: rename init to create when it does allocDominique Martinet
2017-08-18bring output configuration into shared.hTony Crisci
2017-08-18Refactor example output configTony Crisci
Put all the config parsing into shared.h so it is shared among the examples.
2017-08-17Clean up wlr_output_layoutDrew DeVault
2017-08-17improve collision detection algorithmTony Crisci
2017-08-17reconfigure output on resolution changeTony Crisci
2017-08-17vt change bugfixTony Crisci
2017-08-17add helper methods for intersectionTony Crisci
2017-08-17layout-output example: only render if its on the outputTony Crisci
2017-08-17layout-output example: handle empty configTony Crisci
2017-08-17Add wlr_output_layout implementationTony Crisci
An output layout consists of a mapping of outputs to their position in a global coordinate system that usually cooresponds to the output position in physical space in front of the user. Add an example that allows configuration of an output layout and demonstrates its boundaries with a bouncing image.