diff --git a/app_pojavlauncher/src/main/assets/components/lwjgl3/lwjgl-glfw-classes.jar b/app_pojavlauncher/src/main/assets/components/lwjgl3/lwjgl-glfw-classes.jar index efa88707b..4b12ae092 100644 Binary files a/app_pojavlauncher/src/main/assets/components/lwjgl3/lwjgl-glfw-classes.jar and b/app_pojavlauncher/src/main/assets/components/lwjgl3/lwjgl-glfw-classes.jar differ diff --git a/app_pojavlauncher/src/main/assets/components/lwjgl3/version b/app_pojavlauncher/src/main/assets/components/lwjgl3/version index 750d4da31..3a511f8cb 100644 --- a/app_pojavlauncher/src/main/assets/components/lwjgl3/version +++ b/app_pojavlauncher/src/main/assets/components/lwjgl3/version @@ -1 +1 @@ -1687691695259 \ No newline at end of file +1689180036097 \ No newline at end of file diff --git a/jre_lwjgl3glfw/src/main/java/org/lwjgl/glfw/GLFWNativeCocoa.java b/jre_lwjgl3glfw/src/main/java/org/lwjgl/glfw/GLFWNativeCocoa.java new file mode 100644 index 000000000..1a6ffca75 --- /dev/null +++ b/jre_lwjgl3glfw/src/main/java/org/lwjgl/glfw/GLFWNativeCocoa.java @@ -0,0 +1,14 @@ +package org.lwjgl.glfw; + +import org.lwjgl.system.NativeType; + +public class GLFWNativeCocoa { + @NativeType("CGDirectDisplayID") + public static int glfwGetCocoaMonitor(@NativeType("GLFWmonitor *") long monitor) { + throw new UnsupportedOperationException("Not implemented"); + } + @NativeType("id") + public static long glfwGetCocoaWindow(@NativeType("GLFWwindow *") long window) { + throw new UnsupportedOperationException("Not implemented"); + } +} diff --git a/jre_lwjgl3glfw/src/main/java/org/lwjgl/glfw/GLFWNativeEGL.java b/jre_lwjgl3glfw/src/main/java/org/lwjgl/glfw/GLFWNativeEGL.java new file mode 100644 index 000000000..a6af59138 --- /dev/null +++ b/jre_lwjgl3glfw/src/main/java/org/lwjgl/glfw/GLFWNativeEGL.java @@ -0,0 +1,25 @@ +package org.lwjgl.glfw; + +import org.lwjgl.system.NativeType; + +public class GLFWNativeEGL { + @NativeType("EGLDisplay") + public static long glfwGetEGLDisplay() { + throw new UnsupportedOperationException("Not implemented yet!"); + } + + @NativeType("EGLContext") + public static long glfwGetEGLContext(@NativeType("GLFWwindow *") long window) { + throw new UnsupportedOperationException("Not implemented yet!"); + } + + @NativeType("EGLSurface") + public static long glfwGetEGLSurface(@NativeType("GLFWwindow *") long window) { + throw new UnsupportedOperationException("Not implemented yet!"); + } + + @NativeType("EGLConfig") + public static long glfwGetEGLConfig(@NativeType("GLFWwindow *") long window) { + throw new UnsupportedOperationException("Not implemented yet!"); + } +} diff --git a/jre_lwjgl3glfw/src/main/java/org/lwjgl/glfw/GLFWNativeNSGL.java b/jre_lwjgl3glfw/src/main/java/org/lwjgl/glfw/GLFWNativeNSGL.java new file mode 100644 index 000000000..a05a83ff1 --- /dev/null +++ b/jre_lwjgl3glfw/src/main/java/org/lwjgl/glfw/GLFWNativeNSGL.java @@ -0,0 +1,10 @@ +package org.lwjgl.glfw; + +import org.lwjgl.system.NativeType; + +public class GLFWNativeNSGL { + @NativeType("id") + public static long glfwGetNSGLContext(@NativeType("GLFWwindow *") long window) { + throw new UnsupportedOperationException("Not implemented"); + } +} diff --git a/jre_lwjgl3glfw/src/main/java/org/lwjgl/glfw/GLFWNativeOSMesa.java b/jre_lwjgl3glfw/src/main/java/org/lwjgl/glfw/GLFWNativeOSMesa.java new file mode 100644 index 000000000..29618e028 --- /dev/null +++ b/jre_lwjgl3glfw/src/main/java/org/lwjgl/glfw/GLFWNativeOSMesa.java @@ -0,0 +1,33 @@ +package org.lwjgl.glfw; + +import org.lwjgl.PointerBuffer; +import org.lwjgl.system.NativeType; + +import java.nio.IntBuffer; + +import javax.annotation.Nullable; + +public class GLFWNativeOSMesa { + @NativeType("int") + public static boolean glfwGetOSMesaColorBuffer(@NativeType("GLFWwindow *") long window, @Nullable @NativeType("int *") IntBuffer width, @Nullable @NativeType("int *") IntBuffer height, @Nullable @NativeType("int *") IntBuffer format, @Nullable @NativeType("void **") PointerBuffer buffer) { + throw new UnsupportedOperationException("Not implemented yet!"); + } + + public static int glfwGetOSMesaDepthBuffer(@NativeType("GLFWwindow *") long window, @Nullable @NativeType("int *") IntBuffer width, @Nullable @NativeType("int *") IntBuffer height, @Nullable @NativeType("int *") IntBuffer bytesPerValue, @Nullable @NativeType("void **") PointerBuffer buffer) { + throw new UnsupportedOperationException("Not implemented yet!"); + } + + @NativeType("OSMesaContext") + public static long glfwGetOSMesaContext(@NativeType("GLFWwindow *") long window) { + throw new UnsupportedOperationException("Not implemented yet!"); + } + + @NativeType("int") + public static boolean glfwGetOSMesaColorBuffer(@NativeType("GLFWwindow *") long window, @Nullable @NativeType("int *") int[] width, @Nullable @NativeType("int *") int[] height, @Nullable @NativeType("int *") int[] format, @Nullable @NativeType("void **") PointerBuffer buffer) { + throw new UnsupportedOperationException("Not implemented yet!"); + } + + public static int glfwGetOSMesaDepthBuffer(@NativeType("GLFWwindow *") long window, @Nullable @NativeType("int *") int[] width, @Nullable @NativeType("int *") int[] height, @Nullable @NativeType("int *") int[] bytesPerValue, @Nullable @NativeType("void **") PointerBuffer buffer) { + throw new UnsupportedOperationException("Not implemented yet!"); + } +} \ No newline at end of file diff --git a/jre_lwjgl3glfw/src/main/java/org/lwjgl/glfw/GLFWNativeWGL.java b/jre_lwjgl3glfw/src/main/java/org/lwjgl/glfw/GLFWNativeWGL.java new file mode 100644 index 000000000..296a2123a --- /dev/null +++ b/jre_lwjgl3glfw/src/main/java/org/lwjgl/glfw/GLFWNativeWGL.java @@ -0,0 +1,10 @@ +package org.lwjgl.glfw; + +import org.lwjgl.system.NativeType; + +public class GLFWNativeWGL { + @NativeType("HGLRC") + public static long glfwGetWGLContext(@NativeType("GLFWwindow *") long window) { + throw new UnsupportedOperationException("Not implemented"); + } +} diff --git a/jre_lwjgl3glfw/src/main/java/org/lwjgl/glfw/GLFWNativeWayland.java b/jre_lwjgl3glfw/src/main/java/org/lwjgl/glfw/GLFWNativeWayland.java new file mode 100644 index 000000000..b146d4bb6 --- /dev/null +++ b/jre_lwjgl3glfw/src/main/java/org/lwjgl/glfw/GLFWNativeWayland.java @@ -0,0 +1,20 @@ +package org.lwjgl.glfw; + +import org.lwjgl.system.NativeType; + +public class GLFWNativeWayland { + @NativeType("struct wl_display *") + public static long glfwGetWaylandDisplay() { + throw new UnsupportedOperationException("Not implemented"); + } + + @NativeType("struct wl_output *") + public static long glfwGetWaylandMonitor(@NativeType("GLFWmonitor *") long monitor) { + throw new UnsupportedOperationException("Not implemented"); + } + + @NativeType("struct wl_surface *") + public static long glfwGetWaylandWindow(@NativeType("GLFWwindow *") long window) { + throw new UnsupportedOperationException("Not implemented"); + } +} \ No newline at end of file diff --git a/jre_lwjgl3glfw/src/main/java/org/lwjgl/glfw/GLFWNativeWin32.java b/jre_lwjgl3glfw/src/main/java/org/lwjgl/glfw/GLFWNativeWin32.java new file mode 100644 index 000000000..1ace242f8 --- /dev/null +++ b/jre_lwjgl3glfw/src/main/java/org/lwjgl/glfw/GLFWNativeWin32.java @@ -0,0 +1,29 @@ +package org.lwjgl.glfw; + +import org.lwjgl.system.NativeType; + +import javax.annotation.Nullable; + +public class GLFWNativeWin32 { + @Nullable + @NativeType("char const *") + public static String glfwGetWin32Adapter(@NativeType("GLFWmonitor *") long monitor) { + throw new UnsupportedOperationException("Not implemented"); + } + + @Nullable + @NativeType("char const *") + public static String glfwGetWin32Monitor(@NativeType("GLFWmonitor *") long monitor) { + throw new UnsupportedOperationException("Not implemented"); + } + + @NativeType("HWND") + public static long glfwGetWin32Window(@NativeType("GLFWwindow *") long window) { + throw new UnsupportedOperationException("Not implemented"); + } + + @NativeType("GLFWwindow *") + public static long glfwAttachWin32Window(@NativeType("HWND") long handle, @NativeType("GLFWwindow *") long share) { + throw new UnsupportedOperationException("Not implemented"); + } +} diff --git a/jre_lwjgl3glfw/src/main/java/org/lwjgl/glfw/GLFWNativeX11.java b/jre_lwjgl3glfw/src/main/java/org/lwjgl/glfw/GLFWNativeX11.java new file mode 100644 index 000000000..5a1eec3e6 --- /dev/null +++ b/jre_lwjgl3glfw/src/main/java/org/lwjgl/glfw/GLFWNativeX11.java @@ -0,0 +1,42 @@ +package org.lwjgl.glfw; + +import org.lwjgl.system.NativeType; + +import java.nio.ByteBuffer; + +import javax.annotation.Nullable; + +public class GLFWNativeX11 { + @NativeType("Display *") + public static long glfwGetX11Display() { + throw new UnsupportedOperationException("Not implemented"); + } + + @NativeType("RRCrtc") + public static long glfwGetX11Adapter(@NativeType("GLFWmonitor *") long monitor) { + throw new UnsupportedOperationException("Not implemented"); + } + + @NativeType("RROutput") + public static long glfwGetX11Monitor(@NativeType("GLFWmonitor *") long monitor) { + throw new UnsupportedOperationException("Not implemented"); + } + + @NativeType("Window") + public static long glfwGetX11Window(@NativeType("GLFWwindow *") long window) { + throw new UnsupportedOperationException("Not implemented"); + } + + public static void glfwSetX11SelectionString(@NativeType("char const *") ByteBuffer string) { + throw new UnsupportedOperationException("Not implemented"); + } + + public static void glfwSetX11SelectionString(@NativeType("char const *") CharSequence string) { + throw new UnsupportedOperationException("Not implemented"); + } + @Nullable + @NativeType("char const *") + public static String glfwGetX11SelectionString() { + throw new UnsupportedOperationException("Not implemented"); + } +} \ No newline at end of file diff --git a/jre_lwjgl3glfw/src/main/java/org/lwjgl/glfw/GLFWVulkan.java b/jre_lwjgl3glfw/src/main/java/org/lwjgl/glfw/GLFWVulkan.java new file mode 100644 index 000000000..1370d2cec --- /dev/null +++ b/jre_lwjgl3glfw/src/main/java/org/lwjgl/glfw/GLFWVulkan.java @@ -0,0 +1,4 @@ +package org.lwjgl.glfw; + +public class GLFWVulkan { +}