DrawPixmap slows down?

BlitzMax Forums/BlitzMax Programming/DrawPixmap slows down?

I've been looking in the GLMax2D module and others to find out why DrawPixmap is so slow...

It seems that it unconditionally Y-flips every pixmap, creating a new pixmap, which reserves extra memory and copies all the pixmap data to it with y flipped, for EVERY call you make you DrawPixmap. I also don't see an explicit sign of the flipped pixmap being freed after rendering, which makes me wonder if that eats up memory really quickly and results in virtual memory usage kicking in or something?