21 #ifndef RENDERFUNCTIONS_H 22 #define RENDERFUNCTIONS_H 24 #include <QOpenGLContext> 29 class QOpenGLShaderProgram;
253 void compose_audio(
Viewer* viewer,
Sequence* seq,
int playback_speed);
255 #endif // RENDERFUNCTIONS_H QVector< Clip * > nests
Array to store the nested sequence hierarchy.
Definition: renderfunctions.h:70
Definition: sequence.h:33
QOpenGLShaderProgram * premultiply_program
Premultiply alpha shader.
Definition: renderfunctions.h:157
The ComposeSequenceParams struct.
Definition: renderfunctions.h:38
GLuint backend_buffer2
Backend OpenGL framebuffer 2 used for further processing before rendering to main_buffer.
Definition: renderfunctions.h:199
GLuint backend_buffer1
Backend OpenGL framebuffer 1 used for further processing before rendering to main_buffer.
Definition: renderfunctions.h:183
bool texture_failed
A variable that compose_sequence() will set to TRUE if any of the clips couldn't be shown.
Definition: renderfunctions.h:107
bool video
Set compose mode to video or audio.
Definition: renderfunctions.h:77
GLuint main_attachment
The attachment to the framebuffer in main_buffer.
Definition: renderfunctions.h:175
Effect ** gizmos
Set to the Effect whose gizmos were chosen to be drawn on screen.
Definition: renderfunctions.h:85
Viewer * viewer
Reference to the Viewer class that's calling compose_sequence()
Definition: renderfunctions.h:45
GLuint main_buffer
The OpenGL framebuffer object that the final texture to be shown is rendered to.
Definition: renderfunctions.h:166
QOpenGLShaderProgram * blend_mode_program
Blending mode shader.
Definition: renderfunctions.h:145
int playback_speed
Set the current playback speed (adjusted with Shuttle Left/Right)
Definition: renderfunctions.h:132
GLuint backend_attachment2
Backend OpenGL framebuffer 2's texture attachment.
Definition: renderfunctions.h:207
Sequence * seq
The sequence to compose.
Definition: renderfunctions.h:62
QOpenGLContext * ctx
The OpenGL context to use while rendering.
Definition: renderfunctions.h:54
GLuint backend_attachment1
Backend OpenGL framebuffer 1's texture attachment.
Definition: renderfunctions.h:191
bool single_threaded
Run all cachers in the same thread that compose_sequence() is in.
Definition: renderfunctions.h:123