mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
scene: add support for direct scan-out
Check if only a single node intersects with the output viewport and all of its properties match. In this case, attempt direct scan-out.
This commit is contained in:
parent
db4c93028d
commit
a4ccca0834
2 changed files with 97 additions and 0 deletions
|
|
@ -109,6 +109,10 @@ struct wlr_scene_output {
|
|||
struct wlr_output_damage *damage;
|
||||
|
||||
int x, y;
|
||||
|
||||
// private state
|
||||
|
||||
bool prev_scanout;
|
||||
};
|
||||
|
||||
typedef void (*wlr_scene_node_iterator_func_t)(struct wlr_scene_node *node,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue