[cogl/wip/cogl-sharp: 26/35] cogl-sharp: Expose VerticesMode
- From: Damien Lespiau <dlespiau src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl/wip/cogl-sharp: 26/35] cogl-sharp: Expose VerticesMode
- Date: Mon, 8 Oct 2012 12:57:28 +0000 (UTC)
commit a90b23ee907768939c1d10c33e8945f8e06759a4
Author: Damien Lespiau <damien lespiau intel com>
Date: Mon Oct 1 23:14:16 2012 +0100
cogl-sharp: Expose VerticesMode
cogl-sharp/Makefile.am | 1 +
cogl-sharp/VerticesMode.cs | 16 ++++++++++++++++
cogl-sharp/parse-gir.py | 6 +++++-
3 files changed, 22 insertions(+), 1 deletions(-)
---
diff --git a/cogl-sharp/Makefile.am b/cogl-sharp/Makefile.am
index ff94efd..f43f891 100644
--- a/cogl-sharp/Makefile.am
+++ b/cogl-sharp/Makefile.am
@@ -25,6 +25,7 @@ sources = \
PipelineFilter.cs \
PipelineWrapMode.cs \
PixelFormat.cs \
+ VerticesMode.cs \
Winding.cs \
AssemblyInfo.cs \
$(NULL)
diff --git a/cogl-sharp/VerticesMode.cs b/cogl-sharp/VerticesMode.cs
new file mode 100644
index 0000000..b7b055e
--- /dev/null
+++ b/cogl-sharp/VerticesMode.cs
@@ -0,0 +1,16 @@
+/* This file has been generated by parse-gir.py, do not hand edit */
+using System;
+
+namespace Cogl
+{
+ public enum VerticesMode
+ {
+ Points = 0,
+ Lines = 1,
+ LineLoop = 2,
+ LineStrip = 3,
+ Triangles = 4,
+ TriangleStrip = 5,
+ TriangleFan = 6
+ }
+}
diff --git a/cogl-sharp/parse-gir.py b/cogl-sharp/parse-gir.py
index 87b8617..ee46222 100755
--- a/cogl-sharp/parse-gir.py
+++ b/cogl-sharp/parse-gir.py
@@ -14,6 +14,7 @@ enum_types = (
"PipelineFilter",
"PipelineWrapMode",
"PixelFormat",
+ "VerticesMode",
"Winding"
)
@@ -35,7 +36,10 @@ name_overrides = {
'class': 'FrameBuffer',
'methods': {
'clear4f', 'clear'
- }
+ },
+ 'blacklist': (
+ 'vdraw_attributes',
+ )
},
'Onscreen': {
'class': 'OnScreen'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]