Speedup OpenGL sequencer animation rendering
authorSergey Sharybin <sergey.vfx@gmail.com>
Mon, 16 Nov 2015 13:20:41 +0000 (18:20 +0500)
committerSergey Sharybin <sergey.vfx@gmail.com>
Mon, 16 Nov 2015 13:20:41 +0000 (18:20 +0500)
commit57a3163096199b336840fcf30a0dc78782c42d96
tree70cf187f706150260d06cc51b80c1e14b759a819
parent5576524e880305595f75cb523d5f5a07cfcd9824
Speedup OpenGL sequencer animation rendering

The idea is to avoid having roundtrip from byte to float and back to byte buffer
and use render result's byte buffer to store result of sequencer rendering.
This actually matches to what regular render pipeline is doing and this gives
around 2-3 times speedup of sequencer export on a simple scenes.
source/blender/editors/render/render_opengl.c
source/blender/render/extern/include/RE_pipeline.h
source/blender/render/intern/include/render_result.h
source/blender/render/intern/source/pipeline.c
source/blender/render/intern/source/render_result.c