/[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.3 by tjl, Thu Jan 16 14:37:51 2003 UTC revision 1.4 by tjl, Thu Jan 16 16:06:28 2003 UTC
# Line 7  and also for real photos later, we need Line 7  and also for real photos later, we need
7  and discard mipmap levels.  and discard mipmap levels.
8    
9  The Mipzip file format is simple: a zip file with a single entry  The Mipzip file format is simple: a zip file with a single entry
10  for each mipmap level, and some metadata entries.  for each mipmap level, and a metadata entry "texformat".
11    The metadata is stored in comments so that unzip -l will show it.
12    The format is stored as an callGL-accepted OpenGL token, e.g.
13    ``COMPRESSED_RGB_S3TC_DXT1_EXT``.
14    
15    ..  UML:: mipzipformat
16    
17        class MipzipFile
18            assoc compos - multi(1) FormatData
19            assoc compos - multi(n) LevelData
20    
21        class FormatData
22            fields
23                name: "texformat"
24                comment: texformatname
25    
26        class LevelData
27            fields
28                name: "i"
29                comment: resolution
30                content: data
31    
32        ---
33    
34        horizontally(80, foo, FormatData, LevelData);
35        vertically(80, bar, MipzipFile, foo);
36    
37  Due to the requirements of memory handling and GL threads,  Due to the requirements of memory handling and GL threads,
38  we need to separate loading the mipmap level and teximaging  we need to separate loading the mipmap level and teximaging

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

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