Drew DeVault
9c886f20b9
Revert "Merge pull request #1194 from ascent12/meson_feature"
...
This breaks wlroots when used as a meson subproject.
This reverts commit dea311992e
, reversing
changes made to 6db9c4b746
.
6 years ago
Scott Anderson
584a3f8b6e
Update examples to use new option
...
We use a dictionary to remove some code duplication.
6 years ago
emersion
f86f1daf9a
Fix build on FreeBSD
6 years ago
emersion
2ae0575631
examples/gamma-control: fix brightness formula
6 years ago
emersion
b0c32019c3
examples/gamma-control: clamp values, default brightness to 1
6 years ago
emersion
1d97202ec2
examples: add gamma-control
6 years ago
Drew DeVault
5642c5cc8f
Merge pull request #1053 from emersion/xdg-decoration
...
Add xdg-decoration-unstable-v1 support
6 years ago
emersion
d4181c5a7a
examples: cleanup simple
...
- Move a log to where it should be
- Enforce code style
- Rename wlr to backend
6 years ago
emersion
555721f714
Add xdg-decoration-unstable-v1 support
6 years ago
Markus Ongyerth
d9e978e1b3
rename wlr_tablet_tool to wlr_tablet
...
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.
6 years ago
emersion
7cbef15206
util: add wlr_ prefix to log symbols
6 years ago
emersion
a7a96d7644
examples/screencopy: use libpng
6 years ago
emersion
c421700f3d
screncopy: update protocol
6 years ago
emersion
2b9cbaddf3
screencopy: add support for frame flags
6 years ago
emersion
bd8be19b79
screencopy: add presentation timestamp
6 years ago
emersion
73755ad348
screencopy-v1: add basic implementation
6 years ago
Scott Anderson
0e19b024c6
Add minimum version for ffmpeg 4.0 libraries
7 years ago
Scott Anderson
86942d8a6a
Check for libavutil/hwcontext_drm.h
...
This is an optional feature of libavutil, so this will cause a build
failure if it's not present (e.g. on Debian/Ubuntu).
7 years ago
Rostislav Pehlivanov
5707653e85
examples/dmabuf-capture: move encoding to a separate thread
...
Drop new frames if too slow. Speeds up encoding significantly, even with vaapi.
7 years ago
Rostislav Pehlivanov
ed7d5b0f53
Fix example
7 years ago
emersion
bd0c1b7949
export-dmabuf: update protocol
7 years ago
Rostislav Pehlivanov
9eddcbc376
Update example and protocol
7 years ago
emersion
21928cbe61
Merge branch 'master' into screencontent
7 years ago
Genki Sky
d1cf9acbd5
cleanup: Use void for zero-parameter functions
...
Signed-off-by: Genki Sky <sky@genki.is>
7 years ago
emersion
8c9d0f15ce
Merge pull request #1017 from tobiasblass/examples_rotation_fix_doublefree
...
Fix double-free in the rotation.c example.
7 years ago
emersion
0c1f50168b
examples/output-layout: destroy wl_display
...
Thanks @tobiasblass for pointing this out. See #1017 .
7 years ago
Tobias Blass
a21894a844
Fix double-free in the tablet.c and touch.c examples
...
The wl_display_destroy function already destroys the backend's renderer.
Freeing it by hand causes a segmentation fault.
7 years ago
Tobias Blass
75f9feb6de
Fix double-free in the rotation.c example.
...
The wl_display_destroy function already destroys the backend's renderer.
Freeing it by hand causes a segmentation fault.
7 years ago
emersion
70d324a0f9
examples/dmabuf-capture: simplify event loop and fix style
7 years ago
emersion
85b6b4b0c8
examples/dmabuf-capture: make building this example optional
7 years ago
emersion
2198fd5eed
examples/dmabuf-capture: fix indentation
7 years ago
Rostislav Pehlivanov
f204a9127c
Command line parsing
7 years ago
Rostislav Pehlivanov
b9b397ef80
Add a demo client for dmabuf export
7 years ago
Ilia Bozhinov
24cf70ae96
backends: implement custom EGL and renderer initialization
...
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
7 years ago
Tony Crisci
a078e50ec0
rename sample state to "state"
7 years ago
Tony Crisci
e9fab2cc70
pointer example: use xcursor manager
7 years ago
Tony Crisci
aedd3c6d46
make pointer show up in pointer example
7 years ago
Timidger
9a1d0e42d2
Fixed emersion's issues
7 years ago
Timidger
7da50d065b
Fixed style issues
7 years ago
Timidger
7f1230fe78
Remvoed unnecessary wayland socket in examples
7 years ago
Timidger
167ca57b18
Fixed up building examples
7 years ago
Timidger
583654405f
Made output layout example standalone
7 years ago
Timidger
8fd25cbc5b
Fixed indentation
7 years ago
Timidger
b3ca73c0ac
Multi-pointer ported over
7 years ago
Timidger
b510c0f6c2
Made rotation example standalone
7 years ago
Timidger
7be5dfecc0
Made tablet standalone
7 years ago
Timidger
c622a0c7fb
Made touch standalone
...
TODO test
7 years ago
Timidger
4c1d74ef91
Made examples/pointer standalone
7 years ago
Timidger
7284709370
simple now works on DRM
7 years ago
Timidger
44b2bf18f0
Can now quit the simple example
7 years ago