[Cogl] [PATCH 3/9] Get rid of cogl_gst_set_shader_hook

Neil Roberts neil at linux.intel.com
Fri Mar 1 05:31:54 PST 2013


The application no longer needs to specify the shader hook because the
sampling function is unconditionally attached to both the fragment and
vertex shaders.
---
 cogl-gst/cogl-gst-video-sink.c | 1 -
 cogl-gst/cogl-gst-video-sink.h | 4 ----
 2 files changed, 5 deletions(-)

diff --git a/cogl-gst/cogl-gst-video-sink.c b/cogl-gst/cogl-gst-video-sink.c
index c4ef968..2746d2e 100644
--- a/cogl-gst/cogl-gst-video-sink.c
+++ b/cogl-gst/cogl-gst-video-sink.c
@@ -132,7 +132,6 @@ struct _CoglGstVideoSinkPrivate
   CoglGstRenderer *renderer;
   GMainContext *g_ctx;
   GMainLoop *loop;
-  CoglSnippetHook hook;
   GstFlowReturn flow_return;
   int free_layer;
   GstVideoInfo info;
diff --git a/cogl-gst/cogl-gst-video-sink.h b/cogl-gst/cogl-gst-video-sink.h
index decf284..53f6245 100644
--- a/cogl-gst/cogl-gst-video-sink.h
+++ b/cogl-gst/cogl-gst-video-sink.h
@@ -104,10 +104,6 @@ cogl_gst_video_sink_set_context (CoglGstVideoSink *vt,
 GMainLoop*
 cogl_gst_video_sink_get_main_loop (CoglGstVideoSink *loop);
 
-void
-cogl_gst_set_shader_hook (CoglGstVideoSink *sink,
-                          CoglSnippetHook hook);
-
 int
 cogl_gst_video_sink_get_free_layer (CoglGstVideoSink *sink);
 
-- 
1.7.11.3.g3c3efa5



More information about the Cogl mailing list