[vala] clutter-1.0: use the specialized Cogl.Handle classes for the Clutter.Shader.get_cogl_*() methods
- From: Ali Sabil <asabil src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [vala] clutter-1.0: use the specialized Cogl.Handle classes for the Clutter.Shader.get_cogl_*() methods
- Date: Wed, 11 Nov 2009 14:50:12 +0000 (UTC)
commit 1d59f7377452406aca304374bf092ed6ac44a13d
Author: Ali Sabil <ali sabil gmail com>
Date: Wed Nov 11 15:49:09 2009 +0100
clutter-1.0: use the specialized Cogl.Handle classes for the Clutter.Shader.get_cogl_*() methods
vapi/clutter-1.0.vapi | 6 +++---
vapi/packages/clutter-1.0/clutter-1.0-custom.vala | 6 ++++++
vapi/packages/clutter-1.0/clutter-1.0.metadata | 4 ++++
3 files changed, 13 insertions(+), 3 deletions(-)
---
diff --git a/vapi/clutter-1.0.vapi b/vapi/clutter-1.0.vapi
index 58983d4..afd720b 100644
--- a/vapi/clutter-1.0.vapi
+++ b/vapi/clutter-1.0.vapi
@@ -748,9 +748,9 @@ namespace Clutter {
public Shader ();
public bool compile () throws GLib.Error;
public static GLib.Quark error_quark ();
- public Cogl.Handle get_cogl_fragment_shader ();
- public Cogl.Handle get_cogl_program ();
- public Cogl.Handle get_cogl_vertex_shader ();
+ public Cogl.Shader get_cogl_fragment_shader ();
+ public Cogl.Program get_cogl_program ();
+ public Cogl.Shader get_cogl_vertex_shader ();
public unowned string get_fragment_source ();
public bool get_is_enabled ();
public unowned string get_vertex_source ();
diff --git a/vapi/packages/clutter-1.0/clutter-1.0-custom.vala b/vapi/packages/clutter-1.0/clutter-1.0-custom.vala
index 7ff87c3..5c53370 100644
--- a/vapi/packages/clutter-1.0/clutter-1.0-custom.vala
+++ b/vapi/packages/clutter-1.0/clutter-1.0-custom.vala
@@ -78,6 +78,12 @@ namespace Clutter {
public ParamSpecUnits (string name, string nick, string blurb, Clutter.Units minimum, Clutter.Units maximum, Clutter.Units default_value, GLib.ParamFlags flags);
}
+ public class Shader {
+ public Cogl.Shader get_cogl_fragment_shader ();
+ public Cogl.Program get_cogl_program ();
+ public Cogl.Shader get_cogl_vertex_shader ();
+ }
+
public class Stage {
[CCode (cname = "clutter_redraw")]
public void redraw ();
diff --git a/vapi/packages/clutter-1.0/clutter-1.0.metadata b/vapi/packages/clutter-1.0/clutter-1.0.metadata
index 0a1b604..b505001 100644
--- a/vapi/packages/clutter-1.0/clutter-1.0.metadata
+++ b/vapi/packages/clutter-1.0/clutter-1.0.metadata
@@ -287,6 +287,10 @@ clutter_redraw hidden="1"
ClutterScrollEvent is_value_type="1"
+clutter_shader_get_cogl_fragment_shader hidden="1"
+clutter_shader_get_cogl_program hidden="1"
+clutter_shader_get_cogl_vertex_shader hidden="1"
+
ClutterShaderFloat hidden="1"
ClutterShaderInt hidden="1"
ClutterShaderMatrix hidden="1"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]