mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
gl/shader: allow setting non-square matrices as uniforms on gles platforms
It is possible with GLES3
This commit is contained in:
parent
fab729c61f
commit
a534d8d74c
2 changed files with 0 additions and 4 deletions
|
@ -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:
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue