/[gzz]/gzz/doc/gl/Mipzip.rst
ViewVC logotype

Diff of /gzz/doc/gl/Mipzip.rst

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

revision 1.6 by tjl, Sat Jan 18 16:39:44 2003 UTC revision 1.7 by tjl, Sat Jan 18 19:14:16 2003 UTC
# Line 34  The format is stored as an callGL-accept Line 34  The format is stored as an callGL-accept
34      horizontally(80, foo, FormatData, LevelData);      horizontally(80, foo, FormatData, LevelData);
35      vertically(80, bar, MipzipFile, foo);      vertically(80, bar, MipzipFile, foo);
36    
 Due to the requirements of memory handling and GL threads,  
 we need to separate loading the mipmap level and teximaging  
 it.  
   
37  The following classes collaborate to provide Mipzip  The following classes collaborate to provide Mipzip
38  functionality. First of all, MipzipLoader has a nested  functionality. First of all, MipzipLoader has a nested
39  class, Level, for representing a mipmap level, and  class, Level, for representing a mipmap level, and
# Line 61  unloads. Line 57  unloads.
57      class MipzipLoader.Level      class MipzipLoader.Level
58          jlink          jlink
59          fields          fields
60                enum state
61              int levelNo              int levelNo
62              Dimension size              Dimension size
63              byte[] loadedData              byte[] loadedData
# Line 103  at the same time requests for consuming Line 100  at the same time requests for consuming
100              ...              ...
101    
102      class gzz.mem.MemoryPartitioner      class gzz.mem.MemoryPartitioner
103            jlink
104          use gzz.mem.MemoryConsumer          use gzz.mem.MemoryConsumer
105    
106      class MipzipMemoryConsumer      class MipzipMemoryConsumer
# Line 124  at the same time requests for consuming Line 122  at the same time requests for consuming
122      horizontally(80, naz, gzz.mem.MemoryConsumer,      horizontally(80, naz, gzz.mem.MemoryConsumer,
123                  gzz.mem.MemoryPartitioner);                  gzz.mem.MemoryPartitioner);
124    
125    The process of loading a single mipzip level is
126    rather intricate.
127    Due to the requirements of memory handling and GL threads,
128    we need to separate loading the mipmap level and teximaging
129    it to different threads.
130    
131    
132    
133    
134    

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

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