Simon Ser
3c26244340
scene: add wlr_scene_buffer_set_transform
3 years ago
Simon Ser
43833fba64
scene: add wlr_scene_buffer_set_dest_size
3 years ago
Simon Ser
3d4afbe945
scene: use scene_node_get_size in wlr_scene_node_at
...
This allows to unify the RECT and BUFFER code-paths. The BUFFER one
will become more complicated with destination size and transforms.
3 years ago
Simon Ser
27b529f8a0
scene: add scene_node_get_size helper
3 years ago
Simon Ser
63040d6744
scene: add wlr_scene_buffer_set_source_box
3 years ago
Simon Ser
7939bf8cc6
scene: add wlr_scene_buffer
...
This new scene-graph node displays a wlr_buffer.
Closes: https://github.com/swaywm/wlroots/issues/3161
3 years ago
Simon Ser
f6f0e010d1
scene: unify intersection logic in wlr_scene_node_at
...
Let's extract the common bits.
3 years ago
Simon Ser
b25759cd20
scene: drop default case in wlr_scene_node_at
...
This allows the compiler to error out if we haven't enumerated all
of the cases. This is useful to avoid a missing implementation when
adding a new node type.
3 years ago
Simon Ser
2e590026e9
scene: add wlr_scene_subsurface_tree_create
3 years ago
Simon Ser
211b3b760e
scene: add wlr_scene_tree
3 years ago
Simon Ser
a181a37b12
scene: add wlr_scene_attach_output_layout
...
This is a helper to integrate wlr_scene with wlr_output_layout.
3 years ago
Simon Ser
7832005a1f
scene: move source to subdir
...
This will allow more scene-graph extensions to be added without
cluttering wlr_scene.c, for instance for sub-surface handling and
wlr_output_layout integration.
3 years ago