The Shape of Everything
A website mostly about Mac stuff, written by August "Gus" Mueller
» Acorn
» Retrobatch
» Mastodon
» Instagram
» Github
» Maybe Pizza?
» Archives
» Feed
» Micro feed
I Have a Dilemma

As previously mentioned, today I'm working on Acorn's brush. I use Core Image to do the blitting, and it's super speedy under the right circumstances. The problem I'm running into is that at small brush sizes, it's super slow.

But you know what's super fast at that? Blitting to a Core Graphics bitmap context. That's super fast at small brush sizes, which is awesome. But- it's not good at large brush sizes. But Core Image is.

I don't want to write two code paths depending on the size of the brush, because that's crazytown.