/[fenfire]/fenfire/org/fenfire/spanimages/gl/PoolManager.java
ViewVC logotype

Diff of /fenfire/org/fenfire/spanimages/gl/PoolManager.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.15 by tjl, Wed Oct 22 09:16:05 2003 UTC revision 1.16 by tjl, Fri Oct 31 07:21:15 2003 UTC
# Line 80  public class PoolManager implements GL.S Line 80  public class PoolManager implements GL.S
80      }      }
81    
82      IndirectMipzipManager indirectMipzipManager;      IndirectMipzipManager indirectMipzipManager;
     int[] allocations = new int[] {  
         /*  
         2, 2, 0, 0, 0, 0,  
         0, 0, 0, 0, 0, 0  
         */  
   
         //  Suitable for GF FX 5600, 128MB  
         /*  
         8, 8, 15, 20, 40, 80,  
         200, 0, 0, 0, 0, 0  
         */  
83    
84          4, 4, 12, 18, 30, 60,      int[][] allocationSchemes = new int[][] {
85          100, 200, 0, 0, 0, 0          {
86                // Suitable for GF4Go, 64MB
87                4, 4, 12, 18, 30, 60,
88                100, 200, 0, 0, 0, 0
89            }, {
90                //  Suitable for GF FX 5600, 128MB
91                8, 8, 15, 20, 40, 80,
92                200, 0, 0, 0, 0, 0
93            }
94      };      };
95    
96        int[] allocations;
97      VirtualTexture[][] slotContents;      VirtualTexture[][] slotContents;
98    
99      public PoolManager() {      public PoolManager() {
100    
101            int scheme = Integer.parseInt(System.getProperty("fenfire.poolalloc", "1"));
102    
103            allocations = allocationSchemes[scheme];
104    
105    
106          indirectMipzipManager = new NonDeletingIndirectMipzipManager();          indirectMipzipManager = new NonDeletingIndirectMipzipManager();
107          indirectMipzipManager.init("COMPRESSED_RGB_S3TC_DXT1_EXT",          indirectMipzipManager.init("COMPRESSED_RGB_S3TC_DXT1_EXT",
108                          2048, 2048);                          2048, 2048);

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26