Some opengl changes, sw performance improvement

These need to be put into another SDL2 test build so I can see what's causing the Windows build to not get a GL context, if it's not.

Also the ABGR8888 change is a performance improvement for slow CPUs.