Supermodel/Src/Graphics
Ian Curtis edb11dc223 Performance improvements
The old texture code was being bottle necked by the texture reads. We mirrored the real3d texture memory directly, including the mipmaps in a single large texture. I *think* most h/w has some sort of texture cache for a 2x2 or 4x4 block of pixels for a texture. What we were doing was reading the base texture, then reading the mipmap data from a totally separate part of the same texture which I can only assume flushed this cache. What I did was to create mipmap chains for the texture sheet, then copy the mipmap data there. Doing this basically doubles performance.
2024-06-13 13:36:30 +01:00
..
Legacy3D Add supersampling anti-aliasing 2023-12-26 18:25:03 +00:00
New3D Performance improvements 2024-06-13 13:36:30 +01:00
FBO.cpp Emulate the entire tilegen chip in a GLSL shader. (This is now possible with opengl 3+). The tilegen drawing was emulated on the CPU, but was one of the most expensive functions in the emulator according to a profiler. On a modern GPU it's pretty much free, because a GPU is a massive SIMD monster. 2023-09-23 15:27:04 +01:00
FBO.h Emulate the entire tilegen chip in a GLSL shader. (This is now possible with opengl 3+). The tilegen drawing was emulated on the CPU, but was one of the most expensive functions in the emulator according to a profiler. On a modern GPU it's pretty much free, because a GPU is a massive SIMD monster. 2023-09-23 15:27:04 +01:00
IRender3D.h Add supersampling anti-aliasing 2023-12-26 18:25:03 +00:00
Render2D.cpp Add supersampling anti-aliasing 2023-12-26 18:25:03 +00:00
Render2D.h Add supersampling anti-aliasing 2023-12-26 18:25:03 +00:00
Shader.cpp fix some real errors (Model3,InputSystem), minor errors (SCSP,SDL/Main) and some performance warnings 2022-07-11 17:43:59 +02:00
Shader.h missed 2 changed files with last commit 2022-07-11 18:27:44 +02:00
Shaders2D.h fix 2d shaders on OSX 2024-03-06 02:11:21 -06:00
SuperAA.cpp Add supersampling anti-aliasing 2023-12-26 18:25:03 +00:00
SuperAA.h Add supersampling anti-aliasing 2023-12-26 18:25:03 +00:00