Home
last modified time | relevance | path

Searched refs:triangle_shader (Results 1 – 1 of 1) sorted by relevance

/third_party/gstreamer/gstplugins_base/tests/examples/gl/sdl/
Dsdlshare.c57 static GstGLShader *triangle_shader; variable
216 triangle_shader = gst_gl_shader_new_link_with_stages (sdl_context, &error, in InitGL()
224 if (!triangle_shader) { in InitGL()
245 triangle_vertex_attr = gst_gl_shader_get_attribute_location (triangle_shader, in InitGL()
250 triangle_color_attr = gst_gl_shader_get_attribute_location (triangle_shader, in InitGL()
272 gst_clear_object (&triangle_shader); in DeinitGL()
298 gst_gl_shader_use (triangle_shader); in DrawGLScene()
299 gst_gl_shader_set_uniform_1f (triangle_shader, "yrot", rtri); in DrawGLScene()