You are missing the entire point. The Interface Kit, right now, has no idea how to draw a rectangle, or where it would even go if it did. It asks app_server to do that, by sending a “Draw Rectangle” command, and app_server draws the pixels into the back-buffer – or sends the command itself through to a remote desktop client.
If you deleted app_server, you couldn’t just “inline” the code it has into the Interface Kit, because there is no buffer management in the Interface Kit. So you would have to write all of that.
It’s also worth nothing that I don’t think Wayland allows or supports off-the-main-thread drawing operations. So you would also have to write a marshaling system of some kind to make buffer flips (at least) occur across threads.
Care to take any guesses at how many man-months it would take to re-engineer the Interface Kit like that?
This is blatantly wrong. Haiku offloads a lot of the graphics driver work into userland accelerants (more than was ever done in userland even before KMS-DRM modesetting, I believe, but I am not an expert.) Now, this is not “unique” in the sense that microkernels exist and also run drivers in userland, but it is still pretty different from Linux’s, both then and now, and moving all of that into the kernel is indeed a change in architecture.
I don’t know who this “you” is, I never planned to write the kernel/userland side of the graphics driver in C++ as Haiku-specific code. That idea was thrown around years ago, I think, but not by me.
Good, so you agree with X512 and myself, then!
??? ??? ???
Do you, like, not even read the forums and the bug-tracker? Besides unported drivers from FreeBSD (like the USB ones), there are quite a lot of reports about chips that FreeBSD does not support (like Atheros 10k, or Realtek 8822BE, or newer Marvell chips…)
And if you read Hacker News comments on FreeBSD release announcements, what’s the top comment most of the time? “It doesn’t support this WiFi feature,” blah blah, etc. etc.
Now, you can argue this is evidence we should have gone with Linux, or maybe we should reconsider it now, or whatever, but that’s not the point, the point is that people absolutely complain about it, as you say that “not a single soul” does now.