mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-29 05:01:23 +00:00
glvideomixer: don't upload the vertex data every frame
Add the missing cache tracking statement.
This commit is contained in:
parent
fa6dbaeb6c
commit
2362ee8bee
1 changed files with 2 additions and 0 deletions
|
@ -954,6 +954,8 @@ gst_gl_video_mixer_callback (gpointer stuff)
|
|||
|
||||
gl->BufferData (GL_ARRAY_BUFFER, 4 * 5 * sizeof (GLfloat), v_vertices,
|
||||
GL_STATIC_DRAW);
|
||||
|
||||
pad->geometry_change = FALSE;
|
||||
} else {
|
||||
gl->BindBuffer (GL_ARRAY_BUFFER, pad->vertex_buffer);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue