[Pkg-cli-libs-commits] r3506 - in /packages/gtkglarea-sharp/trunk/debian: changelog patches/200_shared_context.diff patches/series

sho at users.alioth.debian.org sho at users.alioth.debian.org
Mon Dec 17 13:38:33 UTC 2007


Author: sho
Date: Mon Dec 17 13:38:32 2007
New Revision: 3506

URL: http://svn.debian.org/wsvn/pkg-cli-libs/?sc=1&rev=3506
Log:
gtkglarea-sharp (0.0.17-2) unstable; urgency=low

  * debian/patches/200_shared_context.diff:
    + Patch from Bugzilla (https://bugzilla.novell.com/show_bug.cgi?id=349048)
      to share the GL context between GLArea instances.

 -- Sam Hocevar (Debian packages) <sam+deb at zoy.org>  Mon, 17 Dec 2007 13:37:27 +0000

Added:
    packages/gtkglarea-sharp/trunk/debian/patches/200_shared_context.diff
Modified:
    packages/gtkglarea-sharp/trunk/debian/changelog
    packages/gtkglarea-sharp/trunk/debian/patches/series

Modified: packages/gtkglarea-sharp/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-cli-libs/packages/gtkglarea-sharp/trunk/debian/changelog?rev=3506&op=diff
==============================================================================
--- packages/gtkglarea-sharp/trunk/debian/changelog (original)
+++ packages/gtkglarea-sharp/trunk/debian/changelog Mon Dec 17 13:38:32 2007
@@ -1,3 +1,11 @@
+gtkglarea-sharp (0.0.17-2) unstable; urgency=low
+
+  * debian/patches/200_shared_context.diff:
+    + Patch from Bugzilla (https://bugzilla.novell.com/show_bug.cgi?id=349048)
+      to share the GL context between GLArea instances.
+
+ -- Sam Hocevar (Debian packages) <sam+deb at zoy.org>  Mon, 17 Dec 2007 13:37:27 +0000
+
 gtkglarea-sharp (0.0.17-1) unstable; urgency=low
 
   * Initial release (Closes: #456181).

Added: packages/gtkglarea-sharp/trunk/debian/patches/200_shared_context.diff
URL: http://svn.debian.org/wsvn/pkg-cli-libs/packages/gtkglarea-sharp/trunk/debian/patches/200_shared_context.diff?rev=3506&op=file
==============================================================================
--- packages/gtkglarea-sharp/trunk/debian/patches/200_shared_context.diff (added)
+++ packages/gtkglarea-sharp/trunk/debian/patches/200_shared_context.diff Mon Dec 17 13:38:32 2007
@@ -1,0 +1,43 @@
+Index: gtkglarea/GLArea.custom
+===================================================================
+--- gtkglarea/GLArea.custom	(revision 91086)
++++ gtkglarea/GLArea.custom	(working copy)
+@@ -6,3 +6,15 @@
+ 			// C.J. Was Here.
+ 			Raw = gtk_gl_area_new(attrList);
+ 		}
++
++		[DllImport("libgtkglarea-win32-2.0-0.dll")]
++		static extern IntPtr gtk_gl_area_share_new(int[] attrList, IntPtr share);
++
++		/* Create a sharing GL context */
++		public GLArea (System.Int32[] attrList, GLArea share) : base (IntPtr.Zero)
++		{
++			if(share == null)
++				Raw = gtk_gl_area_new(attrList);
++			else
++				Raw = gtk_gl_area_share_new(attrList, share.Handle);
++		}
+Index: gtkglarea/generated/GLArea.cs
+===================================================================
+--- gtkglarea/generated/GLArea.cs	(revision 91086)
++++ gtkglarea/generated/GLArea.cs	(working copy)
+@@ -98,6 +93,18 @@
+ 			Raw = gtk_gl_area_new(attrList);
+ 		}
+ 
++		[DllImport("libgtkglarea-win32-2.0-0.dll")]
++		static extern IntPtr gtk_gl_area_share_new(int[] attrList, IntPtr share);
++
++		/* Create a sharing GL context */
++		public GLArea (System.Int32[] attrList, GLArea share) : base (IntPtr.Zero)
++		{
++			if(share == null)
++				Raw = gtk_gl_area_new(attrList);
++			else
++				Raw = gtk_gl_area_share_new(attrList, share.Handle);
++		}
++
+ #endregion
+ 	}
+ }

Modified: packages/gtkglarea-sharp/trunk/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-cli-libs/packages/gtkglarea-sharp/trunk/debian/patches/series?rev=3506&op=diff
==============================================================================
--- packages/gtkglarea-sharp/trunk/debian/patches/series (original)
+++ packages/gtkglarea-sharp/trunk/debian/patches/series Mon Dec 17 13:38:32 2007
@@ -1,1 +1,2 @@
+200_shared_context.diff -p0
 300_path_in_pc_file.diff




More information about the Pkg-cli-libs-commits mailing list