mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-03-05 01:41:03 -05:00
backend/drm: add support for SIZE_HINTS property
This property allows the driver to advertise support for multiple cursor sizes. On Intel, using a smaller buffer size reduces power consumption. References: https://lore.kernel.org/dri-devel/20240227193523.5601-2-ville.syrjala@linux.intel.com/
This commit is contained in:
parent
6f63f55ace
commit
a35b4f059d
7 changed files with 106 additions and 17 deletions
|
|
@ -56,6 +56,7 @@ static const struct prop_info plane_info[] = {
|
|||
{ "HOTSPOT_X", INDEX(hotspot_x) },
|
||||
{ "HOTSPOT_Y", INDEX(hotspot_y) },
|
||||
{ "IN_FORMATS", INDEX(in_formats) },
|
||||
{ "SIZE_HINTS", INDEX(size_hints) },
|
||||
{ "SRC_H", INDEX(src_h) },
|
||||
{ "SRC_W", INDEX(src_w) },
|
||||
{ "SRC_X", INDEX(src_x) },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue