VSE: Cache rewrite
authorRichard Antalik <richardantalik@gmail.com>
Sun, 28 Apr 2019 21:13:41 +0000 (14:13 -0700)
committerRichard Antalik <richardantalik@gmail.com>
Sun, 28 Apr 2019 21:50:48 +0000 (14:50 -0700)
commit337cac760ba9d198fc45459f4274a94a87558528
treed9f1c3cb901547ef4434c38c2a390795d0fff8f1
parent1b65ec0a9b9be2aef7db88be3c6deaaa135ab382
VSE: Cache rewrite

This patch implements new cache system.
Aim is to give user more control over cache, so it can be maximally
utilized. This is done through sequencer timeline side panel
in category proxy & cache.
Cached images are also visualized in timeline, controled by
sequencer timeline view->cache menu

Functional changes:
 - NOT use IMB_moviecache API
 - refactor names of cached image types
 - each scene owns 1 sequencer cache
 - merge preprocess cache into per-sequencer cache
 - cache links images rendered per frame in order as they are created
 - add cache content visualization tool
 - add RNA properties to control the cache

More info can be found in design notes in blenkernel/intern/seqcache.c
and in https://developer.blender.org/D4443

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D4443
20 files changed:
release/scripts/startup/bl_ui/space_sequencer.py
source/blender/blenkernel/BKE_blender_version.h
source/blender/blenkernel/BKE_sequencer.h
source/blender/blenkernel/intern/blender.c
source/blender/blenkernel/intern/seqcache.c
source/blender/blenkernel/intern/sequencer.c
source/blender/blenloader/intern/readfile.c
source/blender/blenloader/intern/versioning_280.c
source/blender/editors/render/render_internal.c
source/blender/editors/space_sequencer/sequencer_draw.c
source/blender/editors/space_sequencer/space_sequencer.c
source/blender/editors/transform/transform_generics.c
source/blender/imbuf/IMB_imbuf.h
source/blender/imbuf/intern/allocimbuf.c
source/blender/imbuf/intern/moviecache.c
source/blender/makesdna/DNA_sequence_types.h
source/blender/makesrna/intern/rna_camera.c
source/blender/makesrna/intern/rna_color.c
source/blender/makesrna/intern/rna_scene.c
source/blender/makesrna/intern/rna_sequencer.c