mirror of
https://github.com/RetroDECK/Supermodel.git
synced 2024-11-21 13:25:40 +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. |
||
---|---|---|
.. | ||
Musashi68K | ||
SDL | ||
SDLmain | ||
SDLnet | ||
ZLib | ||
Build.bat | ||
Build.Release.bat | ||
Build.Release.Debugger.bat | ||
Clean.bat | ||
Rebuild.Release.bat | ||
Rebuild.Release.Debugger.bat | ||
Supermodel.sln | ||
Supermodel.vcproj | ||
Supermodel.vcxproj | ||
Supermodel.vcxproj.filters |