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

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

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

revision 1.15 by tjl, Fri Oct 31 07:21:15 2003 UTC revision 1.16 by tjl, Wed Nov 5 10:25:52 2003 UTC
# Line 85  public class SingleImage { Line 85  public class SingleImage {
85                      String scrollBlock, int page,                      String scrollBlock, int page,
86                      String filename,                      String filename,
87                          float xresolution,                          float xresolution,
88                          float yresolution,                          float yresolution
                         GL.StatsCallback statsCallback  
89                          ) throws java.io.IOException {                          ) throws java.io.IOException {
90          this.scrollBlock = scrollBlock;          this.scrollBlock = scrollBlock;
91          this.page = page;          this.page = page;
# Line 96  public class SingleImage { Line 95  public class SingleImage {
95          this.virtualTexture = new VirtualTexture(          this.virtualTexture = new VirtualTexture(
96                      new MipzipFile(new File(filename)));                      new MipzipFile(new File(filename)));
97    
98          if(statsCallback != null)          this.accum = GL.createTexAccum(PoolManager.getInstance(), this);
             this.accum = GL.createTexAccum(statsCallback, this);  
         else  
             this.accum = GL.createTexAccum();  
99    
100          if(dbg) p("Create single image: "+scrollBlock+" "+page+" "+filename          if(dbg) p("Create single image: "+scrollBlock+" "+page+" "+filename
101                      +" "+xresolution+" "+yresolution+" "+statsCallback);                      +" "+xresolution+" "+yresolution);
102    
103          this.missingPixels = new double[          this.missingPixels = new double[
104                  this.virtualTexture.mipzipFile.getNLevels()];                  this.virtualTexture.mipzipFile.getNLevels()];

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