예제 #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);