[cogl/wip/cogl-sharp: 35/51] cogl-sharp: Expose CoglDriver



commit 47879ff352139734a634ec2b257733c856dc01f9
Author: Damien Lespiau <damien lespiau intel com>
Date:   Sat Nov 3 23:56:13 2012 +0000

    cogl-sharp: Expose CoglDriver

 cogl-sharp/Driver.cs    |   15 +++++++++++++++
 cogl-sharp/Makefile.am  |    1 +
 cogl-sharp/parse-gir.py |    1 +
 3 files changed, 17 insertions(+), 0 deletions(-)
---
diff --git a/cogl-sharp/Driver.cs b/cogl-sharp/Driver.cs
new file mode 100644
index 0000000..dade7db
--- /dev/null
+++ b/cogl-sharp/Driver.cs
@@ -0,0 +1,15 @@
+/* This file has been generated by parse-gir.py, do not hand edit */
+using System;
+
+namespace Cogl
+{
+    public enum Driver
+    {
+        Any = 0,
+        Nop = 1,
+        Gl = 2,
+        Gl3 = 3,
+        Gles1 = 4,
+        Gles2 = 5
+    }
+}
diff --git a/cogl-sharp/Makefile.am b/cogl-sharp/Makefile.am
index 6ffb947..091a32e 100644
--- a/cogl-sharp/Makefile.am
+++ b/cogl-sharp/Makefile.am
@@ -13,6 +13,7 @@ sources =			\
 	Color.cs		\
 	ColorMask.cs		\
 	Context.cs		\
+	Driver.cs		\
 	Exception.cs		\
 	FrameBuffer.cs		\
 	_FrameBuffer.cs		\
diff --git a/cogl-sharp/parse-gir.py b/cogl-sharp/parse-gir.py
index bac4079..0f28309 100755
--- a/cogl-sharp/parse-gir.py
+++ b/cogl-sharp/parse-gir.py
@@ -9,6 +9,7 @@ C_NS = "http://www.gtk.org/introspection/c/1.0";
 enum_types = (
     "BufferBit",
     "ColorMask",
+    "Driver",
     "PipelineAlphaFunc",
     "PipelineCullFaceMode",
     "PipelineFilter",



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