5 ms·
I'm aware. I've worked in the space. It isn't as simple as you're making it out.
by cududa 3y ago
I'm aware. I've worked in the space. It isn't as simple as you're making it out.
- refulgentis 3y agoYes, it is. In fact, there's already a project for it on GitHub. https://github.com/saagarjha/Ensemble https://github.com/saagarjha/Ensemble 480 lines total, including comments, headers, whole shebang.
- chaos_emergent 3y ago> Ensemble is currently "pre-alpha": it's really more of a demo at this point. There's a lot of things I need to work on and until then it is unlikely I will be taking any code contributions.... The code is definitely not designed for general-purpose use yet, so don't expect much of it :)
- threeseed 3y agoTech demos are often easy to put together. It's all of the edge cases and UX refinements that takes time.
- refulgentis 3y agoYeah, sure. I'm gonna go ahead and say Apple probably could have found a way to ship this over the visionOS dev cycle.
- saagarjha 3y agoSome of the code is factored out into individual libraries. For example the networking and serialization code is separate and it is likely that screen recording will get pulled out too at some point.
- AshamedCaptain 3y agoSorry but almost 10 years ago I could do this on Xorg where the worst problem is that compositors cannot redirect input (so you had to kludge new events from scratch). I cannot imagine it would take more than _half an hour_ for someone with macOS display compositor experience to implement it.
- refulgentis 3y agoYou nailed it, down to how you'd do it without any help from Cupertino: https://github.com/saagarjha/Ensemble https://github.com/saagarjha/Ensemble
- sleepybrett 3y agoIt's probably more down to the getting the UI right on apple's end.
- kj99 3y agoExcept that doesn’t actually do it. It is just a proof of concept. Try it with a full suite of Mac Apps and you’ll find it falls apart because they aren’t all well behaved.
- AshamedCaptain 3y agoIt falls apart how exactly? There's some app for which the popup menus are not shown at the right coordinates? You are making this sound much more complicated than it really is.
- kj99 3y agoAmongst many possible edge cases. Not to mention shearing with things that have rapid animations etc. The trivial case is simple. You are imagining it's all the trivial case.
- AshamedCaptain 3y agoBut they have already fixed shearing, otherwise there would be no MacBook display mirroring feature at all, multiple surfaces or not.
- kj99 3y agoI’m talking about this open source project, not Apple’s implementation.