[cogl/wip/cogl-gst: 20/27] Get rid of cogl_gst_set_shader_hook
- From: Neil Roberts <nroberts src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl/wip/cogl-gst: 20/27] Get rid of cogl_gst_set_shader_hook
- Date: Wed, 6 Mar 2013 18:54:05 +0000 (UTC)
commit e4728fa754a1b60a9b095d64dcb07de4b98108df
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]