wip update.
commit30d3e78273852f823c42c9733181ad48c3c503ff
authorNicJA <NicJA@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Sat, 30 Jan 2016 03:16:33 +0000 (30 03:16 +0000)
committerNicJA <NicJA@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Sat, 30 Jan 2016 03:16:33 +0000 (30 03:16 +0000)
tree1f2c8126f98f4b668c3d25847e98e66d9ae04f30
parentbc0a34f9ab610b64aed7527c417f585b1d481a12
wip update.
start adding support for jumping to a direct frame in the buffer proc. give it 2x the player procs stack (since all the work takes place in it)
allocate a sync signal for the playback proc to inform it to jump to a new frame. add a noskip option, and when it isnt specified try to skip frames to keep the correct frame rate for the animation (highly wip). default to enabling frameskip in the datatype but for now create a prefs file which disables it.

there are 2 main issues with this code that I am currently still working on -:
# when frameskip is enabled, some animations will stop loading once they fill the buffer and just show the first frames, or not load the very last frames.
# some animations show corrupt gfx on the first iteration.

git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@51459 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
workbench/classes/datatypes/animation/animationbuffer.c
workbench/classes/datatypes/animation/animationclass.c
workbench/classes/datatypes/animation/animationclass.h
workbench/classes/datatypes/animation/animationplayback.c
workbench/classes/datatypes/animation/animationprefs.c
workbench/classes/datatypes/animation/mmakefile.src