[layers] Stats on memory usage in the Stats screen. Tracks the number and total memory size of the pages (bitmaps) used by layers and their backups. Doesn't count housekeeping costs.
git-svn-id: svn://pulkomandy.tk/GrafX2/branches/layers@1074 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
9
pages.h
9
pages.h
@@ -90,4 +90,13 @@ void Update_depth_buffer(void);
|
||||
void Redraw_layered_image(void);
|
||||
void Redraw_current_layer(void);
|
||||
|
||||
///
|
||||
/// STATISTICS
|
||||
///
|
||||
|
||||
/// Total number of unique bitmaps (layers, animation frames, backups)
|
||||
extern long Stats_pages_number;
|
||||
/// Total memory used by bitmaps (layers, animation frames, backups)
|
||||
extern long long Stats_pages_memory;
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user