Dominique Martinet
7d26a6debd
xdg-shell stable: copy-pasta implementation
7 years ago
emersion
c2e1474010
Reformat all #include directives
7 years ago
emersion
10ecf871f2
Remove wlr_backend.events.{output_remove,device_remove}
7 years ago
emersion
ec837e3c9e
Introduce wlr_output_damage
7 years ago
emersion
1cea73d2d8
rootston: fix rotated views damage tracking
7 years ago
emersion
6ba36cc52f
rootston: do not rely on current view size when accumulating damage
7 years ago
emersion
ddb1779f9f
render: make wlr_renderer_clear take a float[4] for the color
7 years ago
emersion
402587ed65
rootston: use output renderer
7 years ago
emersion
5aa642485d
rootston: do not render views fullscreened on other outputs
7 years ago
emersion
4d6e7f510e
rootston: fix artifacts when leaving fullscreen in a rotated view
7 years ago
emersion
a7cba7d83f
rootston: damage whole output when entering/leaving fullscreen
7 years ago
emersion
2a855e6282
rootston: fix urxvt damage on HiDPI outputs
...
util/region: add wlr_region_expand
7 years ago
emersion
d498855b9d
backend/drm: fix hw cursor position on rotated and scaled outputs
...
output: add wlr_output_transformed_resolution
7 years ago
emersion
20e6861021
Do not flush damage if swapping buffers failed
...
This should solve issues with multiple outputs on DRM backend.
7 years ago
emersion
be888df4c3
rootston: fix build without xwayland
7 years ago
emersion
1ee61dbd0f
Merge remote-tracking branch 'upstream/master' into output-damage
7 years ago
Patrick Steinhardt
52cb19d99d
rootston: fix compilation without XWayland support
...
In case wlroots is not being compiled with XWayland support, we will not
have an xwayland surface in our roots view. While we make sure to pay
attention to that in some places, we are not being consistent and try to
access the xwayland surface in other places. Obviously, this leads to a
compiler error due to the field not being present.
Fix the issue by sprinkling in a few additional ifdefs where required.
7 years ago
emersion
692d33bf8b
rootston: fix clipped SSD for rotated views
7 years ago
emersion
7adf13e284
Fix flickering when switching VT
7 years ago
emersion
7111dd79ef
rootston: damage tracking for rotated views
7 years ago
emersion
8d58ed502b
output: add wlr_output_schedule_frame
7 years ago
emersion
ece2c1e4e2
Damage tracking for transformed outputs
7 years ago
emersion
4223fbc763
rootston: damage tracking scale support
7 years ago
emersion
3f96427d08
Merge branch 'output-damage' of github.com:emersion/wlroots into output-damage
7 years ago
emersion
6281deb90f
Merge remote-tracking branch 'upstream/master' into output-damage
7 years ago
emersion
2ad7df8680
rootston: damage tracking for drag icons
7 years ago
emersion
415a2b7c56
render: add wlr_renderer_clear and wlr_renderer_scissor
7 years ago
Tony Crisci
85a6939cf2
rename matrix model box to project box
7 years ago
Tony Crisci
4183271475
make it work with rotation
7 years ago
emersion
f704c3d42b
rootston: fix damage tracking for fullscreen xwayland views
7 years ago
Tony Crisci
d13114520a
move matrix model code to matrix.h
7 years ago
emersion
66ae4071a7
rootston: damage tracking for xdg popups
7 years ago
emersion
a636d72fc7
rootston: track subsurface damage
7 years ago
emersion
c6aab6f56c
Add docs and comments
7 years ago
emersion
0365b587f0
output: add damage tracking via buffer age
7 years ago
emersion
4ca38b84ed
backend/drm: fix hardware cursors not moving
...
This adds back `wlr_output::needs_swap`. This allows a backend to
request buffer swaps even if the output isn't damaged. This is
needed by the DRM backend to trigger pageflips when the cursor
moves.
7 years ago
emersion
d6c74d8a16
rooston: restrict damage to output extents
7 years ago
emersion
e29a0df8c1
output: fix software cursors damage tracking
7 years ago
emersion
b296481007
rootston: remove repaint timer, listen for damage instead
7 years ago
emersion
7f9f918b78
rootston: damage output on mode change
7 years ago
emersion
977a401fa1
rootston: damage tracking for fullscreen views
7 years ago
emersion
59ba8f35ed
rootston: use surface damage
7 years ago
emersion
3ba447a8f9
rootston: fix damage test
7 years ago
emersion
bed7522108
rootston: fix segfault when destroying unmapped xwayland view
...
This happens when closing chromium for instance.
7 years ago
emersion
bde255933e
output: add wlr_output::damage, fixes #572
7 years ago
emersion
baa17ec755
rootston: damage whole output when created
7 years ago
emersion
8b3f3ddb7f
rootston: fix double-buffering artifacts
7 years ago
emersion
7c11d3e372
rootston: fix repaint timer for outputs with refresh rate
7 years ago
emersion
96d6f34edd
rootston: replace view_damage with view_apply_damage and view_damage_whole
7 years ago
emersion
7f5a538cb7
rootston: fix segfault when rendering surface outside output
7 years ago
emersion
5017d7f762
rootston: only draw damaged regions
7 years ago
emersion
01bcc2ab01
rootston: damage views when moved
7 years ago
emersion
5089f2d9fb
rootston: do not swap buffers when output isn't damaged
7 years ago
emersion
1a084807ce
rootston: do not redraw if output has no damage
7 years ago
Tony Crisci
3751a17321
decorate xwayland views
7 years ago
Tony Crisci
dc701b72fc
abstract box matrix
7 years ago
Drew DeVault
b331c5c2c5
Merge pull request #549 from emersion/output-enabled
...
Add wlr_output::enabled
7 years ago
emersion
65b28b3823
xwayland: render children window in fullscreen
7 years ago
emersion
77fc0505e6
rootston: do not attempt to render disabled outputs
7 years ago
emersion
be3a7b0017
Disable outputs in rootston config
7 years ago
emersion
1fe1d64042
Fix views outside output layout
7 years ago
emersion
466e86b7b2
Merge branch 'master' into surface-transform
7 years ago
emersion
3b4b8953d9
Update output layout when scale or transform changes
7 years ago
emersion
529675b7b0
Add wlr_output_set_custom_mode
7 years ago
Tony Crisci
b275d44bc3
rootston xcursor fixes
7 years ago
emersion
91d72040e5
Configure outputs with make, model, serial in rootston
...
Added fallbacks in DRM backend in case EDID extension data for model and serial is missing.
Updates #403
7 years ago
emersion
bf2b58eb6d
Add wlr_output_set_scale
...
Fixes #465
7 years ago
emersion
eb763439f7
optimize a bit rootston renderer if there's no surface transform
7 years ago
emersion
d1b29a54b9
Refactor: rename matrices in rootston
7 years ago
emersion
f4754ad1a2
Fix surface transforms
7 years ago
emersion
9e29621ec3
Always center fullscreen view on screen
7 years ago
emersion
5a8bbc6203
Fix GCC build
7 years ago
emersion
54f1135c05
Fix fullscreen in xdg-shell
7 years ago
emersion
abab2902f5
Check for subsurfaces and popups before using wlr_output_set_fullscreen_surface
7 years ago
emersion
b04a9a248d
Initial fullscreen support
7 years ago
Tony Crisci
4d6b3618b8
rootston: remove unmapped surface from desktop
7 years ago
emersion
76e8e1a6ad
Merge branch 'master' into seat-views
7 years ago
Tony Crisci
3b74db467b
data-device: wlr-drag-icon
7 years ago
emersion
72d877658a
Merge branch 'master' into seat-views
7 years ago
emersion
bb6d34e7a5
rootston: add per-seat views
7 years ago
Tony Crisci
12758a00a2
rootston: touch to focus
7 years ago
Tony Crisci
ac4841ba37
put dnd icon in the right place
7 years ago
Tony Crisci
6a516f7c41
basic touch dnd
7 years ago
emersion
3f6cf517b9
Add wlr_xdg_surface_v6_popup_get_position
7 years ago
emersion
bb973ff27d
Remove remaining buffer_{width,height} usage
7 years ago
emersion
2f44140f4a
Don't use buffer size
7 years ago
emersion
94b20da3ce
Fix popups position for rotated views
7 years ago
emersion
f8b43940b1
Merge branch 'master' into cursor-scale
7 years ago
emersion
28fc813ca9
Merge branch 'master' into cursor-scale
7 years ago
emersion
454bea678b
Fix rendering of rotated views on HiDPI outputs
7 years ago
emersion
8605243459
Introduce wlr_xcursor_manager
7 years ago
emersion
2dccb11741
rootston: keep one xcursor_theme per seat
7 years ago
emersion
09279b90a6
Add wlr_output.serial
7 years ago
emersion
aaf0691883
rootston: add roots_xcursor_theme
...
roots_xcursor_theme loads multiple wlr_xcursor_theme at different scales.
7 years ago
Tony Crisci
1db3b55128
rootston: prefix config structs and functions
7 years ago
Tony Crisci
2a9dc60f28
Merge branch 'master' into feature/multiseat
7 years ago
Tony Crisci
09c6092423
multiseat: somewhat working
7 years ago
Drew DeVault
ca8cf7d48d
Rethink HiDPI output layouts, fixes everything
...
Except for subsurfaces not rendering at the right scale. But that part
is (somewhat) easy.
7 years ago
Drew DeVault
7f76f46318
Adjust rendering to compensate for disparate scale
...
Something about my math is off, but I'm not certain what. Would
appreciate a second opinion.
7 years ago
Drew DeVault
a7446792a1
Consider scale factor when rendering views
7 years ago