mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-16 06:59:44 -05:00
scene: add wlr_scene_commit_output
This function performs an output commit. Since it's higher level than wlr_scene_render, it can take care of damage tracking and output layers.
This commit is contained in:
parent
33aaa24b6b
commit
68644f26bc
2 changed files with 26 additions and 0 deletions
|
|
@ -103,6 +103,11 @@ struct wlr_scene *wlr_scene_create(void);
|
|||
*/
|
||||
void wlr_scene_render(struct wlr_scene *scene, struct wlr_output *output,
|
||||
int lx, int ly, pixman_region32_t *damage);
|
||||
/**
|
||||
* Perform an output commit.
|
||||
*/
|
||||
bool wlr_scene_commit_output(struct wlr_scene *scene, struct wlr_output *output,
|
||||
int lx, int ly);
|
||||
|
||||
/**
|
||||
* Add a node displaying a surface (and its sub-surfaces) to the scene-graph.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue