[cogl/wip/cogl-sharp: 14/17] cogl-sharp: Expose VerticesMode
- From: Damien Lespiau <dlespiau src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl/wip/cogl-sharp: 14/17] cogl-sharp: Expose VerticesMode
- Date: Tue, 2 Oct 2012 23:26:58 +0000 (UTC)
commit d6e37f9ba568eeade3bf5902c0a31447f70af555
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]