Clear texture memory on IR

New Message Reply Date view Thread view Subject view Author view

From: Hans-Peter.Hofer++at++se.admin.ch
Date: 10/23/2000 06:27:19


Hi Performers

System: Onyx2 IR2 512MB / 2RM9 /64MB texture memory
OS: IRIX 6.5.5

I have an application where I have to switch (delete one, load the other
one) between several
database let's call them A and B. Each database requires about 80 % of the
whole texture memory.
Database A has 13 1024x1024
                4 512x512
                40 256x256 and some smaller textures
Database B has 9 1024x1024
                12 512x512
                33 256x256 and some smaller textures .

Problem description:
If I start my application and load one (A or B) database =>
no problem.
If I start the application, load A and switch to B and back to A =>
no problem.
When I start the application, load B and switch then to A, I have some areas
where a texture swapping occurs => frame rate drops dramatically down (30Hz
-> 4Hz..6Hz).

I tried to use the command pfuClearTextureMemory in preDraw before loading
the new database, but
this won't get a better result (worse than without).

Does anybody know the reason of this effect?
Is there a fragmentation of the texture memory ?
Is there a way to clear/initialize the texture memory ?

The only, not very helpful, hint I found is
http://reality.sgi.com/performer/perf-98-09/0004.html.

I very pleased for any hint.

Thanks in advance.

Hans-Peter Hofer
Swiss Electronics Enterprise Corp
Simulation & Training
Senior Software Engineer
Stauffacherstrasse 65, Postfach, CH-3000 Bern 22
                
Phone: +41 31 324 72 80 / Fax: +41 31 324 71 43
Mailto:hans-peter.hofer++at++se.admin.ch
http://www.se-online.ch


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Mon Oct 23 2000 - 06:26:56 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.