6 ms·
as of the last time i recall the window server had some special treatment for safari to try to optimize various things -- is that true?
by why_only_15 6y ago
as of the last time i recall the window server had some special treatment for safari to try to optimize various things -- is that true?
- gsnedders 6y agoI'm unaware of any special treatment (but that doesn't mean there is none!), beyond Apple caring about battery life in general on their OS and I would strongly expect that the browser forms part typical-use testing of the OS and as such influences what parts get targeted for performance work. Certainly Apple's WebKit port uses Core Animation heavily, which is definitely heavily tied to the compositor in the window server.
- pcwalton 6y agoSafari definitely uses private APIs (or at least did at one point) to manipulate out-of-process layers more directly than the public CA API lets you do.
- gsnedders 6y agoAh, yeah, it does seem to still do that. For some reason I thought that those APIs had been made public, but alas no.
- why_only_15 6y agoHey, I've been trying to remember something about the way CA and the windowserver interact for a few weeks but I can't find anything about it. I remember somewhere there was a setting for maybe the backing layer of how a window was set up? And there were a few hidden ones? i remember that one of these settings was how minimized windows were implemented because the layer was set up to copy some other layer, and then shrunken, so that way you get minimized windows changing when the window changes for free.