Add a shared ResourcePool to share resources between EffectChains.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Fri, 17 Jan 2014 21:25:12 +0000 (22:25 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Fri, 17 Jan 2014 21:25:12 +0000 (22:25 +0100)
commitedb0700c0a8ea225ce9add1cb4f70d42af6de381
treeaa741ca5eb29771365fe7b713c9b526903b7d9f2
parentcf1beb1c14061e754483f99a245ecfdde5cb7b79
Add a shared ResourcePool to share resources between EffectChains.

Right now in this first implementation, we only share shaders,
which mainly saves compile time when multiple EffectChains are
similar (e.g., many clips all are modified by white balance only).
However, in the future, the plan is for them to also be able to
share temporary textures.
Makefile.in
effect_chain.cpp
effect_chain.h
resource_pool.cpp [new file with mode: 0644]
resource_pool.h [new file with mode: 0644]
test_util.cpp