Exemplo n.º 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}");
        }
Exemplo n.º 2
0
 internal static unsafe extern Bool32 vkGetPhysicalDeviceWaylandPresentationSupportKHR(IntPtr physicalDevice, UInt32 queueFamilyIndex, wl_display *display);
Exemplo n.º 3
0
 public static extern int wl_display_get_error(wl_display *dpy);
Exemplo n.º 4
0
 public static extern int wl_display_dispatch_pending(wl_display *dpy);
Exemplo n.º 5
0
 public static extern int wl_display_dispatch(wl_display *dpy);
Exemplo n.º 6
0
 public static extern int wl_display_flush(wl_display *dpy);
Exemplo n.º 7
0
 public static extern int wl_display_roundtrip(wl_display *dpy);
Exemplo n.º 8
0
 public static extern void wl_display_disconnect(wl_display *dpy);