diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2015-03-07 11:21:07 +0100 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2015-05-02 21:36:45 +0200 |
commit | 78dc71bda71fc8eb7accfcf68d010a0fea1a7921 (patch) | |
tree | 3ddfe39c70b975920470d9842db0d9a621c4709b /rect.h | |
parent | 4c21b2ea8d42a92e2f1cbfd93346ff77041ea44d (diff) | |
download | pucket-78dc71bda71fc8eb7accfcf68d010a0fea1a7921.tar.gz pucket-78dc71bda71fc8eb7accfcf68d010a0fea1a7921.tar.bz2 pucket-78dc71bda71fc8eb7accfcf68d010a0fea1a7921.zip |
Add bucket cache
Stores accumulation buckets. Use case: Run n seconds, check image noise
levels, run again (with cache and thus previous results), check image
agin, …
Diffstat (limited to 'rect.h')
-rw-r--r-- | rect.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -11,6 +11,9 @@ typedef struct { } bucket; void bucket_init (bucket * const b, const uint2 dim); +bool bucket_deserialize (bucket * const b, const char *file); +void bucket_serialize (bucket * const b, const char *file); + bool render_bucket (flam3_genome * const genome, bucket * const bucket, const double timelimit); void render_image (const flam3_genome * const genome, const bucket * const b, |