One of the downsides with supporting large cursors is that the full size is very rarely used leading to a waste of permanently allocated resources. Refactor our cursor handling so that we can allocate fresh cursors on the fly that are appropriately sized.
25ca8f1 sna: Support variable sized cursors
src/sna/sna.h | 21 +-
src/sna/sna_display.c | 706 ++++++++++++++++++++++++++++++++++++++++---------
src/sna/sna_driver.c | 20 +-
3 files changed, 604 insertions(+), 143 deletions(-)
Upstream: cgit.freedesktop.org