mirror of
https://github.com/RetroDECK/Supermodel.git
synced 2024-11-22 05:45:38 +00:00
edb11dc223
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. |
||
---|---|---|
.. | ||
CPU | ||
Debugger | ||
Graphics | ||
Inputs | ||
Model3 | ||
Network | ||
OSD | ||
Pkgs | ||
Sound | ||
Util | ||
BlockFile.cpp | ||
BlockFile.h | ||
Game.h | ||
GameLoader.cpp | ||
GameLoader.h | ||
ROMSet.cpp | ||
ROMSet.h | ||
Supermodel.h | ||
Version.h |