Greg V
57edfacba4
rootston: fix crash with fullscreen surfaces
...
Fixes fullscreen mode in e.g. RetroArch and ioquake3.
6 years ago
Timidger
9af0c5338f
Standardize the wlr_box input paramaters
...
Fixes #1094
6 years ago
Louis Taylor
0f3a061f60
rootston: use box for views position
6 years ago
emersion
6aaefad40d
output: switch swap_buffers damage to output-buffer-local coords
...
This is one more step towards [1]. This gives more freedom to the compositor
wrt. how it handles damage.
[1]: https://github.com/swaywm/wlroots/issues/1363
6 years ago
emersion
ca770995cc
output: add wlr_output_render_software_cursors
...
Rendering in wlr_output_swap_buffers has unfortunate side-effects.
6 years ago
emersion
57307b7aa7
output: remove wlr_output_set_fullscreen_surface
...
This wasn't using direct scan-out. Direct scan-out will probably
work differently with @ascent12's work anyway.
6 years ago
emersion
51bfdd620e
Use #if instead of #ifdef for wlroots config data
...
This prevents some annoying issues when e.g. not including wlr/config.h or
making a typo in the guard name.
6 years ago
Drew DeVault
d7b010024a
Merge pull request #1261 from arandomhuman/damage-control
...
Fix damage tracking for surfaces with transforms
6 years ago
emersion
dec303bea6
surface: fix wlr_surface_get_effective_damage to give surface coords
...
Transforms were applied, but scale wasn't.
6 years ago
Guido Günther
175ccc2517
rootston: Don't let the wlr_output handle the fullscreen view in case of layer-shell overlays
...
Otherwise the overlays will no tbe drawn.
Closes : #1300
6 years ago
emersion
eac7c2ad2f
output: add presentation refresh prediction
6 years ago
emersion
abd3e995ab
rootston: send presentation events
6 years ago
emersion
ba63d77ec1
rootston: add output_for_each_surface
6 years ago
emersion
0aafd6e234
rootston: add layer_for_each_surface
6 years ago
random human
3e0a0f3c3a
wlr_surface: add wlr_surface_get_effective_damage
...
This calculates and returns the effective damage of the surface in
surface coordinates, including the client damage (in buffer
coordinates), and damage induced by resize or move events.
6 years ago
emersion
dac4f8e19f
pointer-constraints: refactoring
...
* Rename the constraint_create signal to new_constraint for
consistency
* Move the constraint_destroy signal to the constraint itself
* Use rotate_child_position instead of duplicating logic
* Fix inert constraint resource handling
* Style fixes
6 years ago
random human
971cbeaa19
wlr_surface: fix surface damage transformation
...
Damage tracking on transformed surfaces now work (see
"weston-simple-damage --rotation=90"), using either of buffer or surface
damage.
6 years ago
emersion
fc960e5d06
layer-shell: add _v1 suffix
6 years ago
emersion
472476ebcf
Do not modeset disabled outputs
6 years ago
Ilia Bozhinov
4486b52aa8
move wlr_drm_connector_add_mode to wlr/backend/drm.h
6 years ago
emersion
7cbef15206
util: add wlr_ prefix to log symbols
6 years ago
Drew DeVault
be54278207
Merge pull request #1095 from agx/output-add-mode
...
Allow to add additional modes to outputs
6 years ago
Guido Günther
60a83e99f4
rootston: use wl_list_empty instead of wl_list_length > 0
6 years ago
Guido Günther
709d7dd722
rootston: Handle modeline parameter
...
This allows to pass custom modes.
6 years ago
emersion
78555abba3
surface: move position and scale out of wlr_surface_state
7 years ago
emersion
233bfe2f4f
surface: do not monkey-patch state damage
7 years ago
emersion
3c0d672ebd
surface: make pending and current embedded structs
7 years ago
emersion
8c2b4244a1
Fix damage tracking debug mode
7 years ago
emersion
0378d143d9
surface: remove wlr_surface.texture
...
The texture is managed by the surface's wlr_buffer now. In
particular, the buffer can destroy the texture early if it becomes
invalid.
7 years ago
emersion
e849a68e6e
output: correctly clear screen when fullscreened
7 years ago
emersion
6436ce6300
rootston: remove outdated comment
7 years ago
Ilia Bozhinov
54bf3a36ca
rootston: remove mode and transform signals when output is destroyed
7 years ago
Guido Günther
57cc4c319d
rootston: Send frame_done for popups too
...
Thanks @emersion
7 years ago
Drew DeVault
278aa84619
Basic layer popup rendering
7 years ago
emersion
fa84b267e0
Remove wlr_surface::subsurface
7 years ago
emersion
1b802d9251
Make wlr_renderer_scissor take normal coords instead of upside-down ones
7 years ago
emersion
285cf12e37
Remove rootston surface iterator
7 years ago
emersion
4a9a9eae9a
Add surface iterators
7 years ago
Drew DeVault
b887af9a60
Fix maximized windows interaction with layer shell
...
If there were no layer surfaces the usable area of the output would be
an empty box.
7 years ago
Drew DeVault
a1d5d20914
Address some more feedback
7 years ago
Drew DeVault
776b81d499
Fix surface layer damage tracking
7 years ago
Drew DeVault
f444a0d14c
Implement layer surface damage
7 years ago
Drew DeVault
4bf936360d
Arrange & render layer surfaces
7 years ago
Dominique Martinet
a0b52a0dff
Fix x11 backend
...
Need to include wlr/config.h before using the various WLR_HAS_xxx defines
7 years ago
Drew DeVault
891610081f
Merge pull request #751 from emersion/rotated-surface-damage
...
Fix damage tracking for rotated surfaces
7 years ago
emersion
140bc19476
rootston: add -D flag to enable damage tracking debugging
7 years ago
emersion
4555fc8a54
Fix damage tracking for rotated surfaces
...
It was broken because the damage extents were rotated about its
own center, not about the center of the surface.
This adds a new wlr_region_rotated_bounds that rotates regions.
This allows us to have only one code path (for both non-rotated
views and rotated views) and optimizes rendering for rotated
views.
7 years ago
emersion
793c3b3047
render: add simple functions to render rectangles and ellipses
7 years ago
emersion
a854c2f246
Merge branch 'master' into gles2-renderer-redesign
7 years ago
Dominique Martinet
d9a3c66942
rootston/output: fix leak in damage_from_surface
7 years ago