|
| ▲ | hedgehog a day ago | parent | next [-] |
| Turning the question around, what other part of the system _could_ do this job? And how would the compositor do any part of its job if it doesn't have access to both window contents and displays? I'm not super deep in this area but a straight-forward example of a non-managed app and a color-aware graphics app running on a laptop with an external display seems like it is enough to figure out how things need to go together. This neglects some complicating factors like display pixel density, security, accessibility, multi-GPU, etc, but I think it more or less explains how the Wayland authors arrived at its design and how some of the problems got there. |
| |
| ▲ | chongli a day ago | parent [-] | | I'm questioning the idea that people should be writing compositors at all. Why doesn't Wayland itself do the compositing and let everyone else just manage windows? It's like going to Taco Bell and they make you grind your own corn for your tortillas. | | |
| ▲ | hedgehog 18 hours ago | parent [-] | | Why? Probably better to ask the Wayland developers that. Maybe you're right. That said, whether everyone uses the same compositor and window management is modular, or not and shared code travels as libraries, I don't think the complexity of color management is much different. |
|
|
|
| ▲ | zahlman a day ago | parent | prev [-] |
| I mean, when I hear the word "compositing" I definitely imagine something that involves "alpha" blending, and doing that nicely (instead of a literal alpha calculation) is going to involve colour management. |
| |
| ▲ | chongli a day ago | parent [-] | | That's on the Wayland team though. They drew up the new API boundaries and decided that all window managers would now be in the business of compositing. If I wanted to put it most uncharitably, I'd say they decided to push all of the hard parts out of Wayland itself and force everyone else to deal with them. |
|