public Surface(Drawable drawable, IntPtr format, uint width, uint height, ulong mask, IntPtr attributes) { Handle = GlitzAPI.glitz_surface_create(drawable.Handle, format, width, height, mask, attributes); GlitzAPI.glitz_surface_reference(Handle); }