aboutsummaryrefslogtreecommitdiff
path: root/examples/output-layout.c
AgeCommit message (Collapse)Author
2018-04-01examples: get wlr_renderer from the backendemersion
2018-03-31Untie wlr_backend from wlr_rendereremersion
2018-03-24Redesign wlr_textureemersion
- Textures are now immutable (apart from those created from raw pixels), no more invalid textures - Move all wl_drm stuff in wlr_renderer - Most of wlr_texture fields are now private - Remove some duplicated DMA-BUF code in the DRM backend - Add more assertions - Stride is now always given as bytes rather than pixels - Drop wl_shm functions Fun fact: this patch has been written 10,000 meters up in the air.
2018-03-21render/gles2: make wlr_renderer_begin take viewport sizeemersion
This allows raw GL calls outside wlr_renderer to be removed.
2018-03-19render: split render.h into wlr_renderer.h and wlr_texture.hemersion
2018-03-15renderer: replace wlr_texture_get_matrix by wlr_render_textureemersion
2018-03-15matrix: use 2D matricesemersion
2018-03-15matrix: unify API, don't use array pointersemersion
2018-03-15matrix: move to types/emersion
2018-02-25Add alpha to wlr_render_with_matrixGuido Günther
so we can use the alpha channel to e.g. blend in textures
2018-02-03render: make wlr_renderer_clear take a float[4] for the coloremersion
2018-01-22render: add wlr_renderer_clear and wlr_renderer_scissoremersion
2018-01-21output: add damage tracking via buffer ageemersion
2018-01-19output: fix software cursors damage trackingemersion
2018-01-15Fixed logging for examplesTimidger
2017-12-31Fix views outside output layoutemersion
2017-12-12Update output layout when scale or transform changesemersion
2017-11-01Move shared example codeDrew DeVault
2017-10-11Add FreeBSD compatibilityGreg V
2017-09-25Merge branch 'master' into rootstonDrew DeVault
2017-09-24Move keyboard logic to wlr_{keyboard,seat}Drew DeVault
2017-09-22wlr-seat-keyboard: basic eventsTony Crisci
2017-09-05Rename wlr_output_layout_init()Tony Crisci
Rename wlr_output_layout_init() to wlr_output_layout_create() to be consistent with the rest of the api.
2017-08-31use monotonic clock time for animationsTony Crisci
2017-08-31remove unused outputs list in output-layout.cTony Crisci
2017-08-31fix layout hotplugging issue in output-layout.cTony Crisci
2017-08-31cleanup output-layout exampleTony Crisci
2017-08-31implement output layout auto configurationTony Crisci
2017-08-26refactor example config and add ini.cTony Crisci
2017-08-26change output layout coords to double typeTony Crisci
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.