[cogl/wip/cogl-gst] Get rid of cogl_gst_set_shader_hook



commit 8ef65d986998a4abea4dcfa436f8ca24297f326d
Author: Neil Roberts <neil linux intel com>
Date:   Fri Mar 1 11:58:01 2013 +0000

    Get rid of cogl_gst_set_shader_hook
    
    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, 0 insertions(+), 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);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]