Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Antalik <richardantalik@gmail.com>2020-12-20 05:58:38 +0300
committerRichard Antalik <richardantalik@gmail.com>2020-12-20 05:58:38 +0300
commit38b77ef8b22173835b3bc80efc218c3e05b9e37d (patch)
tree3575ab870d073a08a630d1c13b4df5548de3f9ea /source/blender/sequencer/intern/image_cache.h
parentc4ff91aab76a9987ec109a733d39ff800ccbd15b (diff)
VSE: Remove cost calculation from cache
This value was meant to be used for keeping images that are slowest to render in cache. Method of measurement was flawed, because it doesn't take UI overhead into consideration. Cache panel is to be removed because users should not have to tweak settings like this. It is not useful for development either, therefore it is removed completely.
Diffstat (limited to 'source/blender/sequencer/intern/image_cache.h')
-rw-r--r--source/blender/sequencer/intern/image_cache.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/sequencer/intern/image_cache.h b/source/blender/sequencer/intern/image_cache.h
index ab28b1d3204..41e8c4d1d48 100644
--- a/source/blender/sequencer/intern/image_cache.h
+++ b/source/blender/sequencer/intern/image_cache.h
@@ -47,14 +47,12 @@ void seq_cache_put(const struct SeqRenderData *context,
float timeline_frame,
int type,
struct ImBuf *i,
- float cost,
bool skip_disk_cache);
bool seq_cache_put_if_possible(const struct SeqRenderData *context,
struct Sequence *seq,
float timeline_frame,
int type,
struct ImBuf *nval,
- float cost,
bool skip_disk_cache);
bool seq_cache_recycle_item(struct Scene *scene);
void seq_cache_free_temp_cache(struct Scene *scene, short id, int timeline_frame);