]> git.sesse.net Git - movit/commit
Hack around FBO/VAO sharability issues.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Tue, 25 Mar 2014 01:15:16 +0000 (02:15 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Tue, 25 Mar 2014 01:15:16 +0000 (02:15 +0100)
commit983fe15061b6e199877577b363a9f2fa102cf107
tree428d3bf6dc88334b786d4fed7410add3b9454050
parent4a9f9844aec346c73a1e96d7164b3d993c619d06
Hack around FBO/VAO sharability issues.

We have a problem when trying to delete an EffectChain or ResourcePool;
we might have created FBOs or VAOs in the wrong context. Work around it
for now (unbreaking Kdenlive) by making VAOs non-persistent again,
and simply never deleting FBOs (leaking them).

A proper solution here will be hard, unfortunately, and will nede some thought.
effect_chain.cpp
effect_chain.h
resource_pool.cpp