|
|
|
|
|
|
Make "1987.elf" work.
Posted on 2005-09-18 00:00:00 |
|
Implemented very basic texture caching. Previously, I was uploading a texture to the OpenGL texture memory each time I received a TEX0_X register value from the GIF, and the programs seem to specify a TEX0 value for each textured primitive it's sending even if the latest primitive used the same texture. This caused a lot of slow down when a program was sending lots of textured primitives. I just associated a memory address space with a texture now, and I'm checking if the specified texture was already uploaded to prevent unnecessary uploads. This makes this demo run at a more adequate speed than before. Others were also made a bit faster too.
Also added the point primitive since it was using some of them in the starfield. Next, I gotta figure out why the program is doing sines and cosines and fix any problem related to that. I also found a couple of unhandled FPU instructions that appear later that'll need to implement. |