emersion
d26b67cb06
matrix: unify API, don't use array pointers
7 years ago
emersion
b6a3f240c7
matrix: move to types/
7 years ago
Tony Crisci
efa9eeb5d5
Merge pull request #716 from emersion/fix-cursor-hotspot-update
...
Fix cursor hotspot update
7 years ago
emersion
d24f868bbe
backend/drm: fix cursor hotspot not updated
7 years ago
emersion
7cdad5cde4
Merge pull request #710 from emersion/dont-move-hidden-cursors
...
output: don't move hidden cursors
7 years ago
emersion
92ca4ad474
backend/drm: refactor wlr_drm_connector_set_cursor
7 years ago
Drew DeVault
bfc0e95d2c
Add mode support to libinput backend
...
And extend tablet example with tilt and ring support
7 years ago
Scott Anderson
3c9fc7c68e
Add const to x11 and input interfaces
7 years ago
Scott Anderson
902d6cc240
Use xcb atoms properly
7 years ago
Markus Ongyerth
2cea430488
prevent current_mode null on output_enable(false)
...
The current mode was set to NULL to abuse it as state variable
persisting DRM suspend/resume, this results resulted in a segfault on
normal DPMS cycle.
This reverts that change and uses the wlr_output enabled variable, which
also persists and makes more sense.
7 years ago
Markus Ongyerth
a65ef8ea86
restore dpms state on drm resume
...
If there is no current mode, set outputs to dpms off in drm resume.
Sets current mode to null on disable to ensure this can be checked.
7 years ago
Drew DeVault
3296365ce5
Merge pull request #659 from agx/alpha
...
Make wlr_render_with_matrix use alpha
7 years ago
Guido Günther
d08792bfff
Add alpha to wlr_render_with_matrix
...
so we can use the alpha channel to e.g. blend in textures
7 years ago
Drew DeVault
7da653bbb4
Merge pull request #669 from acrisci/headless-output-frame-timer
...
destroy frame timer in headless output
7 years ago
Tony Crisci
721e4ec55f
remove frame timer from headless output
7 years ago
Dan Robertson
99e6cba3c3
Fix null deref in wlr_libinput_backend_destroy
...
If input_event is null (e.g. if backend_start has not been called yet)
wl_event_source_remove will result in a null deref.
7 years ago
Tony Crisci
94d53d53f9
Merge pull request #657 from emersion/wl-backend-uninitialized-field
...
backend/wayland: fix uninitialized wlr_event_keyboard_key::update_state
7 years ago
Guido Günther
9716aa9b92
x11: parse vendor and model out of xcb setup information
7 years ago
emersion
11e5f0bac8
backend/wayland: fix uninitialized wlr_event_keyboard_key::update_state
7 years ago
Drew DeVault
1d9be89e2d
Revert "ELF Visibility"
7 years ago
Drew DeVault
868ad5af69
Merge pull request #647 from ascent12/elf_visibility
...
ELF Visibility
7 years ago
Scott Anderson
86269052eb
Explicitly export EFL symbols
7 years ago
Guido Günther
15afef6cbc
x11 backend: set window title
...
This makes windows identifiable in the window list
7 years ago
Scott Anderson
f27c0b44b8
Remove usec_to_msec from public API
7 years ago
Rodrigo Lourenço
168e26489a
Add missing dependencies
7 years ago
emersion
c2e1474010
Reformat all #include directives
7 years ago
emersion
36ead80cd1
Make wlr_signal_emit_safe private
7 years ago
emersion
10ecf871f2
Remove wlr_backend.events.{output_remove,device_remove}
7 years ago
emersion
5e58d46cc1
Add wlr_signal_emit_safe
7 years ago
Drew DeVault
664d7bfe4e
Merge pull request #618 from VincentVanlaer/atomic-gamma
...
Add atomic gamma control
7 years ago
Drew DeVault
8fc7edd636
Merge pull request #623 from martinetd/mesonopt
...
Meson option enhancements
7 years ago
Dominique Martinet
435aec0033
meson build: only link with deps when required by options
7 years ago
Dominique Martinet
19d7edb430
meson.build status: print actual build options in message
...
We were printing the option intent (true by default for all), but
some are disabled when a component is not found and this was not
reflected.
7 years ago
Vincent Vanlaer
7cb828ac70
Fallback gamma on legacy if properties don't exist
7 years ago
emersion
bf6d245400
Swap buffers with damage
7 years ago
Vincent Vanlaer
dd69d7b764
Use VLA instead of heap alloc
7 years ago
Vincent Vanlaer
0232269a2d
Fix style
7 years ago
Vincent Vanlaer
b2f6941617
Free gamma when property blob creation fails
7 years ago
Vincent Vanlaer
2df97ed16a
Set needs_swap on output when gamma changes
7 years ago
Vincent Vanlaer
f5e5d1983b
Do not allow gamma control without a crtc
7 years ago
Vincent Vanlaer
ab011406ad
Add atomic gamma lut size fetching
...
Legacy gamma lut size now uses the new legacy_crtc member of
wlr_drm_crtc. This was Previously doen using old_crtc in
wlr_drm_connector, but since this refers to the crtc that was connected to
the ouput, this could give the wrong result.
7 years ago
Vincent Vanlaer
cc1229e75e
Add atomic gamma setting
7 years ago
emersion
cdd55b5d19
Merge remote-tracking branch 'upstream/master' into output-damage
7 years ago
Markus Ongyerth
08fda567d2
prevents reuse of outdated wlr_output state
...
On the drm output the wlr_drm_connector structs are reused.
This struct contains the wlr_output struct, which is reused as well.
The old code kept modes/edid and output state persistent over hotplug.
This nulls the relevant strings, reads newer edid data and removes old
modes on unplug.
7 years ago
emersion
3d3ea32137
Merge remote-tracking branch 'upstream/master' into output-damage
7 years ago
emersion
bb39277e97
backend/drm: update output enabled property on modeset
7 years ago
emersion
bb4aeb3b2f
backend/drm: support updating cursor when session is paused
7 years ago
emersion
babdd6ccf7
backend: fix use-after-free when destroying backends
...
The backend destroy signal is emitted before the output_remove
signal is. When the destroy signal is emitted listeners remove
their output_remove listener, so the output_remove signal is never
received and listeners have an invalid output pointer.
The correct way to solve this would be to remove the output_remove
signal completely and use the wlr_output.events.destroy signal
instead. This isn't yet possible because wl_signal_emit is unsafe
and listeners cannot be removed in listeners.
7 years ago
Guido Günther
c5aac77692
Fix some typos
...
Prefer initialize over initialise since used more often in the sources.
7 years ago
emersion
704130cc11
output: fix performance issues with wlr_output_schedule_frame
7 years ago