]> git.sesse.net Git - movit/commit - effect_chain.cpp
Have separate FBOs per resolution and format.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Fri, 21 Mar 2014 23:29:21 +0000 (00:29 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Fri, 21 Mar 2014 23:29:21 +0000 (00:29 +0100)
commit09c983894685554b41f622dadd40ac1a4efc527d
treea9d687fa78d5b922b7dcdded51cf7a7da4e59e1f
parent225e1801e8bf2c76dae85753bf4bf406acad6d74
Have separate FBOs per resolution and format.

Seemingly this _also_ costs on NVidia; the demo app is down 0.9 ms/frame or so.
This rapidly started approaching complexity worthy of the ResourcePool,
so I moved the functionality in there even though it's not context-shareable.
effect_chain.cpp
effect_chain.h
resource_pool.cpp
resource_pool.h