Improve OpenGL.
OpenGL performance is seriously lacking and severely bottlenecked by the CPU. It is my conjecture that if these bottlenecks were improved and modern features introduced to mimic software mode effects, we could feasibly make OpenGL the default renderer and get all the benefits that come with that without having to worry about alienating users with slower computers.
Main points of interest include:
DrawPolygon
- Cache-before-upload of triangles
- Shader-based rendering
- Framebuffers
- Cleaning up of HWRAPI change debt that has been incurred over the years
Wiki page: http://git.magicalgirl.moe/STJr/SRB2/wikis/opengl-cleanup