On Sat, Feb 01, 2020 at 08:29:10AM -0800, Aaron Jensen wrote: > On Sat, Feb 1, 2020 at 6:22 AM Alan Third wrote: > > > > I’m now stumped because I can’t actually find any image type in the > > documentation that isn’t immutable. I’m sure there must be something. > > The Mac port appears to be using IOSurfaces, but as far as I can tell > > they can be changed underneath you so aren’t much use for just > > updating little bits of the Emacs frame at a time. I must be > > misunderstanding something. > > I know nothing, but have you looked into > https://developer.apple.com/library/archive/documentation/GraphicsImaging/Conceptual/drawingwithquartz2d/dq_layers/dq_layers.html > ? Can you try the attached patch? It looks like it’s faster here, but I can’t really tell. -- Alan Third