Add stub GLFWNative* and GLFWVulkan into the GLFW jar

This commit is contained in:
artdeell 2023-07-12 19:42:55 +03:00
parent fe8fb7bd20
commit 74dc84f160
11 changed files with 188 additions and 1 deletions

View File

@ -1 +1 @@
1687691695259
1689180036097

View File

@ -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");
}
}

View File

@ -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!");
}
}

View File

@ -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");
}
}

View File

@ -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!");
}
}

View File

@ -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");
}
}

View File

@ -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");
}
}

View File

@ -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");
}
}

View File

@ -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");
}
}

View File

@ -0,0 +1,4 @@
package org.lwjgl.glfw;
public class GLFWVulkan {
}