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; |
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()]; |