コード例 #1
0
        private void DisplayErrorCallback(void *data, wl_display *display, uint objectId, uint code, byte *messagePtr)
        {
            var message = Util.Utf8ToString(messagePtr);

            LogError($"Irrecoverable error reported by Wayland server: ({message})");
            // todo get error from enum in iface type
            throw new OpenWindowException($"Irrecoverable error reported by Wayland server: {message}");
        }
コード例 #2
0
 internal static unsafe extern Bool32 vkGetPhysicalDeviceWaylandPresentationSupportKHR(IntPtr physicalDevice, UInt32 queueFamilyIndex, wl_display *display);
コード例 #3
0
ファイル: Native.cs プロジェクト: Joleme/OpenWindow
 public static extern int wl_display_get_error(wl_display *dpy);
コード例 #4
0
ファイル: Native.cs プロジェクト: Joleme/OpenWindow
 public static extern int wl_display_dispatch_pending(wl_display *dpy);
コード例 #5
0
ファイル: Native.cs プロジェクト: Joleme/OpenWindow
 public static extern int wl_display_dispatch(wl_display *dpy);
コード例 #6
0
ファイル: Native.cs プロジェクト: Joleme/OpenWindow
 public static extern int wl_display_flush(wl_display *dpy);
コード例 #7
0
ファイル: Native.cs プロジェクト: Joleme/OpenWindow
 public static extern int wl_display_roundtrip(wl_display *dpy);
コード例 #8
0
ファイル: Native.cs プロジェクト: Joleme/OpenWindow
 public static extern void wl_display_disconnect(wl_display *dpy);