summaryrefslogtreecommitdiff
path: root/ext/gl/gstgloverlay.h
diff options
context:
space:
mode:
authorMatthew Waters <matthew@centricular.com>2014-11-14 23:24:48 +1100
committerMatthew Waters <matthew@centricular.com>2014-11-28 09:14:25 +1100
commit1331cbc54e49bedfdfac60bbc5ae4c438ef5cb61 (patch)
treee43075bbf1ef48eea36621718365cf6811c04af6 /ext/gl/gstgloverlay.h
parent45ac7be4024a0e39b4aea40a63955cd5ec9099fc (diff)
downloadgstreamer-plugins-bad-1331cbc54e49bedfdfac60bbc5ae4c438ef5cb61.tar.gz
gloverlay: support gl3
Diffstat (limited to 'ext/gl/gstgloverlay.h')
-rw-r--r--ext/gl/gstgloverlay.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/ext/gl/gstgloverlay.h b/ext/gl/gstgloverlay.h
index 2dedc0190..d81a0a0eb 100644
--- a/ext/gl/gstgloverlay.h
+++ b/ext/gl/gstgloverlay.h
@@ -60,6 +60,15 @@ struct _GstGLOverlay
gint type_file; // 0 = No; 1 = PNG and 2 = JPEG
gint window_width, window_height;
gint image_width, image_height;
+
+ gboolean geometry_change;
+
+ GLuint vao;
+ GLuint overlay_vao;
+ GLuint vbo;
+ GLuint overlay_vbo;
+ GLuint attr_position;
+ GLuint attr_texture;
};
struct _GstGLOverlayClass