gl/shader: allow setting non-square matrices as uniforms on gles platforms

It is possible with GLES3
This commit is contained in:
Matthew Waters 2017-10-28 21:34:08 +11:00
parent f8d751f7b5
commit ad05728351
2 changed files with 0 additions and 4 deletions

View file

@ -1336,7 +1336,6 @@ gst_gl_shader_set_uniform_matrix_4fv (GstGLShader * shader, const gchar * name,
gl->UniformMatrix4fv (location, count, transpose, value);
}
#if GST_GL_HAVE_OPENGL
/**
* gst_gl_shader_set_uniform_matrix_2x3fv:
* @shader: a #GstGLShader
@ -1504,7 +1503,6 @@ gst_gl_shader_set_uniform_matrix_4x3fv (GstGLShader * shader,
gl->UniformMatrix4x3fv (location, count, transpose, value);
}
#endif /* GST_GL_HAVE_OPENGL */
/**
* gst_gl_shader_get_attribute_location:

View file

@ -135,7 +135,6 @@ GST_EXPORT
void gst_gl_shader_set_uniform_matrix_3fv (GstGLShader *shader, const gchar *name, gint count, gboolean transpose, const gfloat* value);
GST_EXPORT
void gst_gl_shader_set_uniform_matrix_4fv (GstGLShader *shader, const gchar *name, gint count, gboolean transpose, const gfloat* value);
#if GST_GL_HAVE_OPENGL
GST_EXPORT
void gst_gl_shader_set_uniform_matrix_2x3fv (GstGLShader *shader, const gchar *name, gint count, gboolean transpose, const gfloat* value);
GST_EXPORT
@ -148,7 +147,6 @@ GST_EXPORT
void gst_gl_shader_set_uniform_matrix_4x2fv (GstGLShader *shader, const gchar *name, gint count, gboolean transpose, const gfloat* value);
GST_EXPORT
void gst_gl_shader_set_uniform_matrix_4x3fv (GstGLShader *shader, const gchar *name, gint count, gboolean transpose, const gfloat* value);
#endif
GST_EXPORT
gint gst_gl_shader_get_attribute_location (GstGLShader *shader, const gchar *name);