(Unless you go back to the late 8-bit era where the cursor might be a just a hardware sprite that can be moved around by writing a few bytes.)
Which... yeah, that actually might be true.
this already happens, just after some laughably long chain of unprocessed input events
We even see it now, sometimes called "hardware cursor" in various games settings, althought pipeline is much longer.
Just that old small hardware had little to no memory protection and very tight integration so stuff like that could be done directly instead of going thru many layers of abstraction
I wonder if anyone ever sold a "software optical mouse".
You could if you really want to...
https://8051enthusiast.github.io/2020/04/14/003-Stream_Video...
Is this true on modern Linux DEs (e.g. on KDE Plasma)?
Is it also true on Windows and macOS?
I tell my QA people all the time: If you come to me with "I think" or "I believe", it sounds like you've got some reading to do.
If you want to know my epistemic status: I know about windows based on observable surface behavior and bugs related to accelerated cursors, but I haven't looked at the source. I know about wlroots because I saw the pull requests related to that and a flag to disable it in sway. The last statement regarding other platforms was an educated guess based on gfx card history: accelerated overlays are an ancient feature present in a lot of hardware, not some newfangled niche feature.
And I'm not one of your QA people.
The most I could get was to ask it to take an avuncular tone, at which point it did ask you to "spill the beans, kiddo" about these compositors. :)