home *** CD-ROM | disk | FTP | other *** search
-
- render.library
- --------------
- ©1996 by Captain Bifat / TEK neoscientists
-
-
- memory consumption
-
-
-
- this is a rough overview to memory consumption. this may and will
- change in the future, you must not rely on these data.
-
-
- > histograms
-
-
- HSTYPE (1) (2)³ [bytes]
- --------------------------------------------------
- 12BIT 20×n¹ 6×n
- 15BIT 20×n¹ 6×n
- 18BIT 20×n¹ 6×n
- 21BIT 20×n¹ 6×n
- 24BIT 20×n¹ 6×n
- 12BIT_TURBO 16.384² 6×n
- 15BIT_TURBO 131.072² 6×n
- 18BIT_TURBO 1.048.576² 6×n
-
- (1) memory consumed by the histogram
- (2) additional buffers for ExtractPalette()³.
-
- n = number of color entries inside the histogram
-
- ¹ allocated dynamically
- ² allocated with CreateHistogram()
- ³ 8×n for the 68020 version
-
-
- > palettes
-
-
- HSTYPE (1) [bytes]
- --------------------------------------------------
- 12BIT 8.192
- 15BIT 65.536
- 18BIT 524.288
-
-
- (1) Render()
-
- currently these amounts of memory are only allocated when Render()
- is called. (this behavior may change.) if the allocation fails,
- the palette falls back to the next lower resolution automatically.
- the memory will be freed as soon as the palette changes, i.e. when
- you call ImportPalette(), ExtractPalette(), or SortPalette(). you
- may also call FlushPalette() to manually free these buffers. if
- you render again, these buffers will have to be reconstructed,
- though.
-