I can successfully say I found lots of ways to slowly send pixels to the screen on macOS. Of the slow ways, assigning an IOSurface to the contents of a CALayer is one of the faster ones, but still not as flexible as, or as fast as OpenGL.
At this point in WebRender we’re pretty much ready to just give up and use Core Animation, which is what Apple officially supports.
-
-
Also delegating scrolling to CA will let us avoid jank caused by missynchronizing mouse events to sync, which is maddening to fix otherwise.
-
I thought Core Animation would be a happier path, but it didn't pan out for the few implementations I tried. Only way to get pixels to CALayers close to fast enough was with IOSurface (which as I understand it, uploads to GPU memory when unlocked).
- 6 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.