]> git.sesse.net Git - mlt/commit
Add "close glsl" event to glsl.manager service.
authorDan Dennedy <dan@dennedy.org>
Sat, 24 Aug 2013 18:33:04 +0000 (11:33 -0700)
committerDan Dennedy <dan@dennedy.org>
Sat, 24 Aug 2013 18:33:04 +0000 (11:33 -0700)
commit75d9ca74cbde0078b05343a8aac79a32236caa10
treefb5034fb88254cc3ead7be8be12a32a9d00ba690
parentdbcde347a44ee1972ca66a606b2283fabbbe0fe7
Add "close glsl" event to glsl.manager service.

Qt 5 apps (and possibly others) must use this because the OpenGL context
for rendering needs to be created and destroyed on the thread on which
it is actually used. This should be fired on the glsl.manager filter
instance inside of a consumer-thread-stopped mlt_event listener.
src/modules/opengl/filter_glsl_manager.cpp
src/modules/opengl/glsl_manager.h