504 Commits (master)

Author SHA1 Message Date
Simon Ser 198560fc1f
examples: request an EGL config
4 years ago
Simon Ser 9714638f3b
examples: remove visual for EGL_PLATFORM_WAYLAND_EXT
4 years ago
Simon Ser 4b03bdc3ab Remove wlr_create_renderer_func_t
4 years ago
Simon Ser b9460ab724
Stop using wlr_texture_get_size
4 years ago
Simon Ser 858a1940b5 build: move wayland-egl dependency to examples/
4 years ago
Isaac Freund e06c9e43af Remove unneeded includes from wlr_input_device.h
4 years ago
Isaac Freund 7693f61d81 Replace wlr_key_state with wl_keyboard_key_state
4 years ago
Daniel Kondor 36395e5b1c
foreign-toplevel-management: report parent toplevel
4 years ago
Tudor Brindus ec3f432bbb examples: use `perror` instead of `fprintf` GNU %m `printf` extension
4 years ago
Simon Ser 2b418b4d88 examples/dmabuf-capture: add extra roundtrip for wl_output listener
4 years ago
Simon Ser 297354f847 Remove unnecessary wl_display_dispatch calls
4 years ago
Simon Ser 379835c42f examples/simple: use wlr_renderer instead of GL
4 years ago
Simon Ser 801c7670b7 examples/simple: use wlr_output_preferred_mode
4 years ago
Rouven Czerwinski c32d89ee3e
examples: remove unnecessary gles2.h imports
4 years ago
Antonin Décimo 9686895b4e Fix typos
4 years ago
xdavidwu 842df2bd6c examples/input-method-keyboard-grab: new example
4 years ago
j-n-f b61a98c417 examples: fix improper use of `free`
4 years ago
Andri Yngvason a54ed85881 examples: screencopy-dmabuf: Fix y-inversion
4 years ago
Simon Ser d5530b26d7 examples/pointer: fix wlr_renderer_end call order
4 years ago
Simon Ser 3c13527ead examples/fullscreen-shell: stop advertising linux-dmabuf unconditonally
5 years ago
Simon Ser 4615ce9099 examples/screencopy-dmabuf: call strncpy with maxlen - 1
5 years ago
Andri Yngvason e0d4f75172 examples: Add screencopy-dmabuf example
5 years ago
Ilia Bozhinov 72f28ed0b3 examples: make output-power-management oneshot by default
5 years ago
Simon Ser 61d6408fdb examples/dmabuf-capture: use getopt
5 years ago
Simon Ser ab4f642153 build: use dicts instead of get_variable
5 years ago
Rabit 13db99b0f8 Prevent memory leak in copypaste of the screencopy example
5 years ago
Michael Weiser 208e6da3c3 keyboard-shortcuts-inhibit: Add client example
5 years ago
Guido Günther 0df5019609 examples: add output-power-management example client
5 years ago
Scott Anderson 2fea2fced8 examples: Fix compositor-examples
5 years ago
Scott Anderson 70a084c119 meson: Fix protocol includes for compositor examples
5 years ago
Josef Gajdusek a7b538008b virtual-pointer: Add support for the wlr-virtual-pointer-unstable-v1
5 years ago
Scott Anderson cff1c2f740 meson: Various improvements
5 years ago
Jan Beich d0479cc2bc examples: set mode when creating shm object
5 years ago
Simon Ser 16e5e9541b Add -Wmissing-prototypes
5 years ago
Simon Ser 21b75e5d12 build: simplify by using disabler deps
5 years ago
Simon Ser 9796abcced build: workaround for meson disabler object not working with if not
5 years ago
Antonin Décimo 82f48b8912 examples: remove duplicated condition
5 years ago
Simon Ser ca45f4490c Remove all wayland-server.h includes
5 years ago
Simon Ser 3dec88e455 Remove orbital screenshooter and gamma-control
6 years ago
Ilia Bozhinov 22dd7d3731 examples: add fullscreening to foreign-toplevel.c
6 years ago
Simon Ser 23e37e7b1d output: refactor frame submission API
6 years ago
emersion 5445d8aad0 meson: enable more compiler warnings
6 years ago
emersion 7309d8c9ac
Fix two issues found with Clang's static analyzer
6 years ago
emersion a4eb90315e
Fix indentation in various files
6 years ago
Drew DeVault d4de2bd708
Merge pull request #1476 from emersion/fullscreen-shell
6 years ago
Alexander Bakker 776b6ce395 Fix software cursor rendering for tinywl and some examples
6 years ago
Jan Beich f80d174e8b Simplify evdev includes on FreeBSD by relying on up-to-date package
6 years ago
emersion 86f263a0b8
fullscreen-shell-v1: initial protocol implementation
6 years ago
emersion 610f5bfc77
Merge pull request #1432 from ForTheReallys/relative-pointers
6 years ago
Ian Fan e2c216a4b8 examples/layer-shell.c: check popup exists before drawing
6 years ago
random human 42ffa413fb relative_pointer: add relative-pointer example
6 years ago
Ilia Bozhinov 16175751d6 examples: add wlr_foreign_toplevel_management_v1 example
6 years ago
emersion a8bc8c65ce
examples: only link clients to wlroots if necessary
6 years ago
emersion 2d0c5ec78e
Use _POSIX_C_SOURCE, use shm_open
6 years ago
sghctoma 1d7cc1b38b Add epoll-shim dependency on FreeBSD
6 years ago
Cole Mickens 7297348736 render: fix meson including libdrm
6 years ago
Scott Anderson 7ca3bc1d6f Fix libdrm includes
6 years ago
Drew DeVault b99da405e7 Assert read return value in examples/input-method
6 years ago
Dorota Czaplejewicz cec7471119 wlroots: add basic support for zwp_input_method_v2
6 years ago
Dorota Czaplejewicz 427735fcd9 wlroots: add support for zwp_text_input_unstable_v3
6 years ago
Drew DeVault 5e9959daaa
Merge pull request #852 from Laaas/master
6 years ago
emersion e3736d4acc examples/pointer-constraints: style fixes
6 years ago
emersion 9622efd6db Fix unknown cursor in layer-shell example
6 years ago
emersion 3df602a62d export-dmabuf: disable hardware cursors if desired
6 years ago
Las fa2e6e7d9d Implement pointer-constraints protocol in wlroots and rootston
6 years ago
random human 6af77e3d9e
Release pointers in examples/multi-pointer
6 years ago
random human de16defb21
Release registry pointer in examples/idle
6 years ago
random human ef5df78a27
Destroy layout after display in examples/output-layout
6 years ago
random human 7105864e13
Handle setting keymap in examples more securely
6 years ago
random human 8589ae19de Fix bugs listed by clang's static analyzer
6 years ago
random human 660a022909
Fixes examples/dmabuf-capture being built with unmet dependencies
6 years ago
Scott Anderson fd3fa760d3 Revert "Revert "Merge pull request #1194 from ascent12/meson_feature""
6 years ago
Drew DeVault 9c886f20b9 Revert "Merge pull request #1194 from ascent12/meson_feature"
6 years ago
Scott Anderson 584a3f8b6e Update examples to use new option
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
6 years ago
emersion d4181c5a7a examples: cleanup simple
6 years ago
emersion 555721f714 Add xdg-decoration-unstable-v1 support
6 years ago
Markus Ongyerth d9e978e1b3 rename wlr_tablet_tool to wlr_tablet
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
7 years ago
Rostislav Pehlivanov 5707653e85 examples/dmabuf-capture: move encoding to a separate thread
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
7 years ago
emersion 8c9d0f15ce
Merge pull request #1017 from tobiasblass/examples_rotation_fix_doublefree
7 years ago
emersion 0c1f50168b
examples/output-layout: destroy wl_display
7 years ago
Tobias Blass a21894a844 Fix double-free in the tablet.c and touch.c examples
7 years ago
Tobias Blass 75f9feb6de Fix double-free in the rotation.c example.
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
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
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
Timidger b98779a674
Got simple working without keyboard input
7 years ago
Timidger ad6d40c7c6
Moved cat out of support, removed support
7 years ago
emersion eaed6bd03b
render/egl: add wlr_egl_destroy_surface
7 years ago
Guido Günther 67a10cc1f6 examples/layer-shell: take an explicit grab on the popup
7 years ago
Guido Günther 32e043f996 examples: Allow to close the popup
7 years ago
Guido Günther 5209c79702 examples: Handle input entering popup in layer-shell
7 years ago
Guido Günther 421652a450 examples: Animate popup in layer-shell
7 years ago
Guido Günther d1e82a8ede examples: Drop unused variable
7 years ago
Drew DeVault 941f88ce23 Fix popup positioning & double popups
7 years ago
Drew DeVault 0a0627f5d0 Finish forward-porting @acrisci's positioner work
7 years ago
Drew DeVault 2e3d901ac5 Forward-port xdg-shell-v6 positioner improvements
7 years ago
Drew DeVault d3cdb00208 Add (shitty) support for popups to layer example
7 years ago
Drew DeVault 4575f27932 Update layer shell example -o behavior
7 years ago
Dominique Martinet 555206cf60 Fix gcc string truncation warnings
7 years ago
Drew DeVault 902d859c67 Fix syntax errors
7 years ago
Drew DeVault 7bb8512afb Fix assertions with side-effects
7 years ago
Drew DeVault 3a8c7f283d Add input-inhibitor example client
7 years ago
Drew DeVault a94f4d0edc Always give keyboard focus to the topmost layer
7 years ago
Drew DeVault 883d8d306c Identify topmost interactive layer surface
7 years ago
emersion f63a5d881d
examples: get wlr_renderer from the backend
7 years ago
emersion 33a2eb4b77
Untie wlr_backend from wlr_renderer
7 years ago
Drew DeVault 2053a4c144 Add more exotic cursor for layer shell example
7 years ago
Drew DeVault 746e3759b7 Address review feedback
7 years ago
Drew DeVault 168f65fb7a Minor bugfixes
7 years ago
Drew DeVault e3eb487dc2 Add pointer support to layer shell example
7 years ago
Drew DeVault ac219cbda6 Remove width_mm from tablet events
7 years ago
Drew DeVault 324b9d910d Remove width_mm from wlr_touch events
7 years ago
Drew DeVault a35a5786b0 Remove width_mm from wlr_pointer events
7 years ago