aboutsummaryrefslogtreecommitdiff
path: root/examples
AgeCommit message (Collapse)Author
2018-08-23Revert "Merge pull request #1194 from ascent12/meson_feature"Drew DeVault
This breaks wlroots when used as a meson subproject. This reverts commit dea311992eb4ff3e343c3cf5b0603034223d2a42, reversing changes made to 6db9c4b74667c1d917d720f5e96985a2461569fb.
2018-08-22Update examples to use new optionScott Anderson
We use a dictionary to remove some code duplication.
2018-08-16Fix build on FreeBSDemersion
2018-08-02examples/gamma-control: fix brightness formulaemersion
2018-08-02examples/gamma-control: clamp values, default brightness to 1emersion
2018-08-02examples: add gamma-controlemersion
2018-08-02Merge pull request #1053 from emersion/xdg-decorationDrew DeVault
Add xdg-decoration-unstable-v1 support
2018-07-29examples: cleanup simpleemersion
- Move a log to where it should be - Enforce code style - Rename wlr to backend
2018-07-28Add xdg-decoration-unstable-v1 supportemersion
2018-07-14rename wlr_tablet_tool to wlr_tabletMarkus Ongyerth
The previous naming was based on the input-device capability names from libinput. With code that uses the libinput_tablet_tool and mapping into tablet-v2, this is confusing, so the name is changed to follow the names used in the protocol.
2018-07-09util: add wlr_ prefix to log symbolsemersion
2018-06-30examples/screencopy: use libpngemersion
2018-06-30screncopy: update protocolemersion
2018-06-30screencopy: add support for frame flagsemersion
2018-06-30screencopy: add presentation timestampemersion
2018-06-30screencopy-v1: add basic implementationemersion
2018-06-26Add minimum version for ffmpeg 4.0 librariesScott Anderson
2018-06-26Check for libavutil/hwcontext_drm.hScott Anderson
This is an optional feature of libavutil, so this will cause a build failure if it's not present (e.g. on Debian/Ubuntu).
2018-06-25examples/dmabuf-capture: move encoding to a separate threadRostislav Pehlivanov
Drop new frames if too slow. Speeds up encoding significantly, even with vaapi.
2018-06-17Fix exampleRostislav Pehlivanov
2018-06-17export-dmabuf: update protocolemersion
2018-06-17Update example and protocolRostislav Pehlivanov
2018-05-31Merge branch 'master' into screencontentemersion
2018-05-30cleanup: Use void for zero-parameter functionsGenki Sky
Signed-off-by: Genki Sky <sky@genki.is>
2018-05-30Merge pull request #1017 from tobiasblass/examples_rotation_fix_doublefreeemersion
Fix double-free in the rotation.c example.
2018-05-30examples/output-layout: destroy wl_displayemersion
Thanks @tobiasblass for pointing this out. See #1017.
2018-05-30Fix double-free in the tablet.c and touch.c examplesTobias Blass
The wl_display_destroy function already destroys the backend's renderer. Freeing it by hand causes a segmentation fault.
2018-05-30Fix double-free in the rotation.c example.Tobias Blass
The wl_display_destroy function already destroys the backend's renderer. Freeing it by hand causes a segmentation fault.
2018-05-29examples/dmabuf-capture: simplify event loop and fix styleemersion
2018-05-29examples/dmabuf-capture: make building this example optionalemersion
2018-05-29examples/dmabuf-capture: fix indentationemersion
2018-05-29Command line parsingRostislav Pehlivanov
2018-05-29Add a demo client for dmabuf exportRostislav Pehlivanov
2018-05-25backends: implement custom EGL and renderer initializationIlia Bozhinov
Compositors now have more control over how the backend creates its renderer. Currently all backends create an EGL/GLES2 renderer, so the necessary attributes for creating the context are passed to a user-provided callback function. It is responsible for initializing provided wlr_egl and to return a renderer. On fail, return 0. Fixes #987
2018-05-13rename sample state to "state"Tony Crisci
2018-05-13pointer example: use xcursor managerTony Crisci
2018-05-13make pointer show up in pointer exampleTony Crisci
2018-05-10Fixed emersion's issuesTimidger
2018-05-10Fixed style issuesTimidger
2018-05-10Remvoed unnecessary wayland socket in examplesTimidger
2018-05-10Fixed up building examplesTimidger
2018-05-10Made output layout example standaloneTimidger
2018-05-10Fixed indentationTimidger
2018-05-10Multi-pointer ported overTimidger
2018-05-10Made rotation example standaloneTimidger
2018-05-10Made tablet standaloneTimidger
2018-05-10Made touch standaloneTimidger
TODO test
2018-05-10Made examples/pointer standaloneTimidger
2018-05-10simple now works on DRMTimidger
2018-05-10Can now quit the simple exampleTimidger