projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f01d47d
)
glvideomixer: don't upload the vertex data every frame
author
Matthew Waters
<matthew@centricular.com>
Wed, 13 May 2015 07:10:42 +0000
(17:10 +1000)
committer
Matthew Waters
<matthew@centricular.com>
Wed, 13 May 2015 07:44:04 +0000
(17:44 +1000)
Add the missing cache tracking statement.
ext/gl/gstglvideomixer.c
patch
|
blob
|
history
diff --git
a/ext/gl/gstglvideomixer.c
b/ext/gl/gstglvideomixer.c
index
cbba72a
..
fe68207
100644
(file)
--- a/
ext/gl/gstglvideomixer.c
+++ b/
ext/gl/gstglvideomixer.c
@@
-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);
}