]> git.sesse.net Git - casparcg/commit
Huge performance impact detected with chroma key support (even though not in use...
authorHelge Norberg <helge.norberg@gmail.com>
Mon, 16 Sep 2013 15:32:16 +0000 (17:32 +0200)
committerHelge Norberg <helge.norberg@gmail.com>
Mon, 16 Sep 2013 15:32:16 +0000 (17:32 +0200)
commit5e73e177714a64260dd452da208591909fd91fcc
treecb1919e174f2ffe5146cb977921813c63e5f61b6
parent0a42b1b26e1609225029f25d7e8bf4d9ad5e133f
Huge performance impact detected with chroma key support (even though not in use for a layer) in image shader. Straight alpha output support also adds a small overhead (even when not in use), so just like with blend-modes it is now conditionally compiled in the shader, and turned on in the configuration file.

New <mixer /> element added to configuration for turning on mixer features that not everybody would want to pay for (performance-wise). blend-modes also moved into this element:

<mixer>
    <blend-modes>   false [true|false]</blend-modes>
    <straight-alpha>false [true|false]</straight-alpha>
    <chroma-key>    false [true|false]</chroma-key>
</mixer>
core/mixer/image/image_kernel.cpp
core/mixer/image/shader/image_shader.cpp
core/mixer/image/shader/image_shader.h
shell/casparcg.config