no need to compile a shader for multiplying alpha

This commit is contained in:
itsmattkc
2019-03-10 13:44:14 +11:00
parent a834c8dc7c
commit 636cf64b3e
4 changed files with 2 additions and 25 deletions
-12
View File
@@ -143,18 +143,6 @@ struct ComposeSequenceParams {
*/
QOpenGLShaderProgram* blend_mode_program;
/**
* @brief Premultiply alpha shader
*
* Used only for video rendering. Never accessed with audio rendering.
*
* compose_sequence()'s internal composition
* expects premultipled alpha, but it will pre-emptively multiply any footage that is not set as already
* premultiplied (see Footage::alpha_is_premultiplied) using this shader. Must be compiled and linked beforehand.
* See RenderThread::premultiply_program for how this is properly set up.
*/
QOpenGLShaderProgram* premultiply_program;
/**
* @brief The OpenGL framebuffer object that the final texture to be shown is rendered to.
*