mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-19 06:47:02 -04:00
scene/output: disable hardware cursors when idle
When the cursor plane is enabled, a lot of hardware will drain more power. If the screen contents don't change, perform one final render pass to blend everything onto a single plane.
This commit is contained in:
parent
670915eeea
commit
1bdecdb217
2 changed files with 33 additions and 0 deletions
|
|
@ -204,6 +204,8 @@ struct wlr_scene_output {
|
|||
struct wl_list damage_highlight_regions;
|
||||
|
||||
struct wl_array render_list;
|
||||
|
||||
struct wl_event_source *idle_timer;
|
||||
};
|
||||
|
||||
/** A layer shell scene helper */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue